Instructions to use rapid-mlx/GLM-5.3-Flash-MTP-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use rapid-mlx/GLM-5.3-Flash-MTP-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir GLM-5.3-Flash-MTP-4bit rapid-mlx/GLM-5.3-Flash-MTP-4bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
GLM-5.3-Flash MLX Q4 MTP drafter
This repository contains the standalone, target-matched MTP drafter used by
Rapid-MLX for Vontra/GLM-5.3-Flash-MLX-4bit-MTP.
It is a sidecar head, not a standalone language model. The target and drafter must be loaded together by a runtime that implements GLM-5.3's cache-owned MTP transaction.
Immutable pairing
| Item | Value |
|---|---|
| Target | Vontra/GLM-5.3-Flash-MLX-4bit-MTP |
| Qualified target revision | 76add2a341a1cd90ad0e86bb69839ea9c35827c6 |
| Drafter architecture | glm5_next_mtp |
| Block size | 2 (one proposed token plus target bonus) |
| Quantization | 4-bit affine, group size 64 |
| Tensor count | 55 |
| Weight size | 4,183,323,401 bytes |
| Weight SHA-256 | 369cf9c0f9cdf3ae5f1b9f72d3db8e65ad3026b8e416b8de5618e9117d3f00ca |
Do not pair this drafter with another target revision or quantization. Rapid-MLX checks the immutable target/drafter revisions, architecture, and block size before loading.
Rapid-MLX qualification
Measured on an Apple M3 Ultra with 256 GB unified memory, single-row greedy decoding, temperature 0, and the target revision above:
- Six real tasks covered coding, knowledge, math, instruction following, creative writing, and long-context document retrieval.
- Two consecutive runs passed 12/12 tasks.
- Reasoning and final responses were byte-identical to the autoregressive control on all six tasks.
- Per-task speedups were 1.405x, 1.377x, 1.306x, 1.390x, 1.285x, and 1.106x.
- Paired median throughput improved 1.341x (+34.1%).
Sampling, penalties, logprobs, and batch decoding are not qualified for this artifact. Unsupported request shapes should use ordinary autoregressive decoding.
Provenance
The drafter was split from the native MTP layer preserved in the qualified
target checkpoint and converted to the target's affine Q4 representation. The
target is itself a quantization of zai-org/GLM-5.3-Flash. See the target model
card for upstream provenance, architecture, intended use, and limitations.
License
MIT. The upstream copyright and license notice are included in LICENSE.
- Downloads last month
- 70
4-bit
Model tree for rapid-mlx/GLM-5.3-Flash-MTP-4bit
Base model
zai-org/GLM-5.3-Flash