--- language: en library_name: mlx tags: - mlx - mtp - speculative-decoding - draft-model base_model: - zai-org/GLM-5.2 pipeline_tag: image-text-to-text --- # GLM-5.2 MTP See GLM-5.2 in action: [demonstration videos](https://youtube.com/xcreate) This draft model contains the **Multi-Token Prediction (MTP)** layers from **[zai-org/GLM-5.2](https://huggingface.co/zai-org/GLM-5.2)** for use alongside the [GLM-5.2-MLX](https://huggingface.co/models?search=inferencerlabs/glm-5.2) model as a speculative decoder. Q4 quant typically achieves higher throughput with less RAM usage (compared to base MTP) at no loss in quality. #### Tested on a M3 Ultra 512GB RAM using [Inferencer app v2.0.6](https://inferencer.com)
C++~77.9% correct predictions at 3 steps
HTML/ECMAScript~70% correct predictions at 3 steps
Maths~76.6% correct predictions at 3 steps
Encyclopedic~71.4% correct predictions at 3 steps
Creative Writing~46.2% correct predictions at 3 steps

Enable speculative decoding in Inference Contols:

## Disclaimer We are not the creator, originator, or owner of any model listed. Each model is created and provided by third parties. Models may not always be accurate or contextually appropriate. You are responsible for verifying the information before making important decisions. We are not liable for any damages, losses, or issues arising from its use, including data loss or inaccuracies in AI-generated content.