GLM-5.3 (744B) โ TFQ 4.50
Base FP8 (703.72 GiB) | TensorFold | TFQ | GLM-5.3 License
GLM-5.3-TFQ-4.50 is a TensorFold Quantization (TFQ, TFP6 zero-LUT pure-ALU native signed-int8 format) checkpoint of zai-org/GLM-5.3 (744B MoE, GlmMoeDsaForCausalLM, 78 backbone layers: L00..L02 dense + L03..L77 MoE with 256 routed experts + 1 shared expert per layer, H = 6144, I = 2048, 154,880-token vocabulary, plus the untouched L78 Multi-Token Prediction speculative layer).
GPU VRAM & Hardware Fit (Fits 512 GB Unified Memory with >100 GiB KV Headroom / 8ร 80 GB GPUs!)
- Core Model Footprint (excluding optional
9.34 GiBL78MTP head):398.95 GiB(382.37 GiBTFP6 MoE across 75 layers +16.58 GiBuntouched core non-MoE incl.L00..L02dense & all MLA/DSA attention).- Full Checkpoint (including untouched
9.34 GiBL78MTP head):408.31 GiBon disk โ295.4 GiB(42%) smaller than the703.72 GiBnative FP8 checkpoint while preserving near-lossless coding (KL 0.0144,99.99%โ100.00%Top-5) and math (KL 0.0175,97.48%Top-1) fidelity.
| Hardware Target | Memory Footprint | Notes |
|---|---|---|
| 512 GB Apple Silicon Mac Studio (Unified Memory) | 408.31 GiB full (398.95 GiB core) |
100% resident in RAM with ~104โ113 GiB KV headroom |
| 8ร 80 GB GPUs (H100 / A100) | 408.31 GiB full (398.95 GiB core) |
Fits 640 GB aggregate VRAM with >230 GiB KV headroom |
| 3ร 192 GB AMD MI300X / 5รโ6ร 96 GB RTX PRO 6000 | 408.31 GiB full (398.95 GiB core) |
Fits cleanly with full zero-LUT native signed-int8 execution |
All 57,825 MoE matrices (75 MoE layers ร 256 routed experts ร {gate, up, down} = 57,600 routed tensors at 4.4994 bpw tempered SwiGLU Jacobian MCKP across 3.5โ6.0 bpw, with L03/L77 edge layers at 5.0 bpw + 225 shared-expert tensors at 6.0 bpw โ 4.5052 bpw combined MoE average) are quantized directly from native 128ร128 blockwise FP8 using calibrated sequential 2-stage wยฒ-weighted per-expert Hessian-LDLQ-H (192 ร 1,024 = 196,608 calibration tokens), while keeping all non-MoE tensors (25.92 GiB, including L00..L02 dense layers, all MLA/DSA attention, routers, norms, embeddings, lm_head, and L78 MTP) completely untouched in their original dtypes.
Highlights
- Footprint:
408.31 GiBtotal on disk (398.95 GiBcore without optionalL78MTP):382.37 GiBacross 75 self-containedTFP6MoE shards (moe_L03.tffp6..moe_L77.tffp6,771tensors/layer =57,825MoE tensors total โ zero external lookup tables).25.92 GiBacross 6 untouched non-MoE shards (nonmoe-00001-of-00006.safetensors..nonmoe-00006-of-00006.safetensors:16.58 GiBcore non-MoE +9.34 GiBuntouchedL78MTP).
- Zero-LUT Pure-ALU Native
int8(TFP6+FLAG_A8_HADAMARD): Decodes directly to signedint8with zero LUT lookups and supports both normative128ร128Hadamardint8activation execution (tfp6_a8) and BF16 activation execution (tfp6_a16). - Calibrated Sequential 2-Stage Method:
- Tempered SwiGLU Jacobian MCKP rate allocation (
power = 0.75,10%median floor,3.5โ6.0 bpwon routed experts,L03/L77 = 5.0 bpw, all225shared-expert matrices at6.0 bpw). - Sequential
192 ร 1,024(196,608tokens,[gMASK]<sop>prepended) calibration with Kishwยฒ-weighted Stage-1H_up, post-quantization Stage-2H_down, and 2-pass coordinate polish (--polish --polish-su --polish-sv --share-su-groups). - Per-layer A16 MoE output SNR across all 75 logged MoE layers (
L03..L77, measured on the first 8 calibration sequences with matched layer inputs and routing): mean33.32 dB(29.59 dBmin atL41to51.52 dBmax atL09).
- Tempered SwiGLU Jacobian MCKP rate allocation (
- Integrity: All 75 MoE shards verified
75/75 OK [A8] [XXH64 verified]viatfq3-inspect.
Evaluation (Exact 154,880-Vocab FP64 Held-Out KL)
Evaluated on 48 teacher-forced 1,024-token sequences (49,104 next-token predictions, 12,276 per domain) across four held-out domains (chat, code, math, and prose, [gMASK]<sop> prepended, zero aligned 64-token block overlap with calibration), comparing exact full 154,880-vocabulary FP64 log-probabilities (computed via FP64 log_softmax and reductions over BF16-projected logits) directly against native zai-org/GLM-5.3 FP8 Gold (exact 128ร128 blockwise dequantization):
Overall (49,104 Next-Token Predictions)
| Execution Path | KL (gold || cand) |
Rev-KL | Top-1 Agree | Top-5 Agree* | Gold PPL โ Cand PPL (ฮ%) |
|---|---|---|---|---|---|
tfp6_a8 (Normative) |
0.025232 |
0.025982 |
96.10% |
99.890% |
2.6019 โ 2.6170 (+0.579%) |
tfp6_a16 (BF16 act) |
0.025157 |
0.026105 |
96.18% |
99.894% |
2.6019 โ 2.6192 (+0.666%) |
Per-Domain Breakdown (12,276 Next-Token Predictions Each)
| Domain | tfp6_a8 (Normative) KL / Top-1 / Top-5* / PPL (ฮ%) |
tfp6_a16 (BF16 act) KL / Top-1 / Top-5* / PPL (ฮ%) |
|---|---|---|
| Code | 0.014377 / 97.37% / 99.992% / 1.9342 โ 1.9339 (-0.015%) |
0.014174 / 97.40% / 100.000% / 1.9342 โ 1.9342 (+0.001%) |
| Math | 0.017484 / 97.48% / 99.984% / 1.7721 โ 1.7789 (+0.384%) |
0.018306 / 97.51% / 99.959% / 1.7721 โ 1.7804 (+0.470%) |
| Chat | 0.034533 / 94.17% / 99.658% / 5.1899 โ 5.2038 (+0.267%) |
0.034050 / 94.34% / 99.674% / 5.1899 โ 5.2117 (+0.419%) |
| Prose | 0.034533 / 95.36% / 99.927% / 2.5764 โ 2.6199 (+1.688%) |
0.034100 / 95.46% / 99.943% / 2.5764 โ 2.6224 (+1.782%) |
*Top-1 and Top-5 agreement measure how often the stock FP8 reference's top-1 token ranks first or within the candidate's top five on this 48-sequence held-out teacher-forced evaluation (49,104 predictions total; 4.50 bpw is the nominal MoE weight target). PPL values and ฮ% deltas are scoped to observed target next tokens on this evaluation sample.
Checkpoint Layout
moe_L03.tffp6..moe_L77.tffp6:75self-containedTFP6v6 MoE shards (382.37 GiBtotal;771tensors per layer:256routed experts +1shared expert ร{gate, up, down}).nonmoe-00001-of-00006.safetensors..nonmoe-00006-of-00006.safetensors+model.safetensors.index.json: Untouched non-MoE tensors (25.92 GiBtotal โ16.58 GiBcore non-MoE incl.L00..L02dense layers, MLA/DSA attention, routers, norms, embeddings,lm_head+9.34 GiBuntouchedL78MTP speculative layer).- Tokenizer (
tokenizer.json,tokenizer_config.json),chat_template.jinja,config.json,generation_config.json, andLICENSEcopied verbatim fromzai-org/GLM-5.3.
Running with TensorFold
tensorfold serve TensorFold/GLM-5.3-TFQ-4.50
Open-source TFP6 specification, conformance suite, and Metal/CUDA/ROCm converters live in TFQ.
License
This quantized checkpoint inherits the GLM-5.3 License from zai-org/GLM-5.3.
- Downloads last month
- 99
Model tree for TensorFold/GLM-5.3-TFQ-4.50
Base model
zai-org/GLM-5.3