GLM-5.2 β prepacked 2-bit MoE expert planes (vLLM-Moet / DGX Spark)
The routed experts of zai-org/GLM-5.2-FP8 (753B MoE), converted once, offline to the fragment-major 2-bit format consumed by vLLM-Moet's hand-written SM120/SM121 SASS kernels (sign-symmetric {-4,-1,1,4} codebook + UE8M0 block-32 scales β the author's sweep-validated scheme, produced with his exact conversion functions).
Why this exists: on unified-memory machines (NVIDIA DGX Spark / GB10), converting at load time OOMs the box. With these planes, the Sapid-Labs/vLLM-Moet Spark port serves this 753B model across two DGX Sparks, pipeline-parallel (~4 tok/s single-stream eager; CUDA graphs/MTP untapped) β see spark/RUNBOOK.md.
These planes are not a standalone model. They replace only the routed experts; the dense stack/attention/embeddings load from the original checkpoint, which you also need.
Use
hf download zai-org/GLM-5.2-FP8 --local-dir ~/models/hf/GLM-5.2-FP8
hf download sapidlabs/GLM-5.2-moe-w2-planes \
--local-dir ~/models/hf/GLM-5.2-FP8/moe_w2_planes
# then follow the runbook; the serve scripts set VLLM_MOE_W2_PREPACKED_DIR
Per layer: layer_NNN.{planes13,sc13,planes2,sc2}.npy + layer_NNN.meta.json
(75 MoE layers + the MTP drafter layer, 192 GiB total; layer_078 is unused by the current serve path). Reproducible from the base checkpoint with
spark/prepack_planes.py.
Credits
- Base model: Z.ai (MIT)
- Quantization scheme, kernels, vLLM patch: kacper-daftcode/vLLM-Moet
- DGX Spark port + prepack: Sapid-Labs
Quality note: this is the bare 2-bit tier (no FP4 delta/gate) β upstream measured 89% next-token agreement with the FP4 reference and MTP acceptance at/above the FP4 baseline. Independent evals to follow at howtospark.com.
Model tree for sapidlabs/GLM-5.2-moe-w2-planes
Base model
zai-org/GLM-5.2-FP8