brandonmusic/GLM-5.3-Flash-TrellisMX-2.375bpw-QEC

Per-expert four-rate TrellisMX checkpoint (2.375 bpw routed experts across k2=4839, p25=5624, k3=1542, k4=91 with CSF scale compression and the procedural-npk codec), quantized directly from zai-org/GLM-5.3-Flash-BF16 with non-routed modules kept in BF16 as stored, recovered through step 200 (27.78M zero-overlap supervised positions) of Dual-Trellis QEC v2, and paired with optional Dual-Trellis Engram v2 sidecars in BF16 and FP8 E4M3.

Compute Sponsorship: This checkpoint and open research release would not have been possible without Lambda Labs generously sponsoring and donating the 8x NVIDIA B200 GPU compute used for four-rate quantization, teacher-logit archiving, post-quantization recovery, and exact IEEE-754 FP64 KLD verification.

Built with Z.ai GLM-5.3-Flash-BF16, b12x by Luke Alonso with Martin Vit, Local Inference Lab CSF compression, QTIP and EXL3 lineage (Turboderp), KQuant/QSRT operands table, procedural-npk codec by Brandon Music, and ShapleyMCG allocation by Brandon M. Music (see Credits and CREDITS.md).

GLM-5.3-Flash 2.375 bpw Dual-Trellis QEC v2 KLD comparison

Summary and Grand Aggregates (91 Unique Disjoint Windows, 960,421 Positions, 2K to 64K)

Post-quantization recovery ran for 200 optimizer steps (27,781,560 supervised positions: 22,407,840 short 4K + 5,373,720 long 16K/32K/64K across an 80/20 interleaved curriculum) before freezing with full resumable optimizer and cursor state preserved for continuation to 100M tokens. Merging 316 BF16 LoRA projections (180 attention with q_a_proj excluded to preserve frozen DSA top-k indexer alignment, 9 dense prefix, 126 shared experts, 1 lm_head) and restoring 147 FP32-trained RMSNorms to carrier BF16 delivers an 18-for-18 exact IEEE-754 FP64 KLD improvement across every panel and every shipped artifact variant:

Artifact Variant (release_2375, Step 200 / 27.78M Tokens) Payload / Stored CSF bpw Total Effective bpw Total Model Size Grand Pos-Weighted KLD (960,421 pos) Grand Window-Weighted KLD (91 win) 6-Panel Unweighted KLD Grand Pos-Weighted Top-1
Pre-QEC 2.375 bpw baseline (0.0M) 2.375 / 2.417 2.417 103.66 GiB 0.04149 0.06347 0.05634 85.77%
Post-merge carrier only (0 sidecar, zero serving overhead) 2.375 / 2.417 2.417 103.66 GiB 0.03445 (-17.0%) 0.05239 (-17.5%) 0.04658 (-17.3%) 88.14% (+2.37 pp)
Post-merge + shipped FP8 E4M3 Engram 2.375 / 2.417 2.468 105.45 GiB 0.03472 (-16.3%) 0.05281 (-16.8%) 0.04687 (-16.8%) 88.26% (+2.49 pp)
Post-merge + shipped BF16 Engram 2.375 / 2.417 2.509 106.91 GiB 0.03472 (-16.3%) 0.05279 (-16.8%) 0.04685 (-16.8%) 88.34% (+2.57 pp)

Comparison vs Published GLM-5.3-Flash Quantizations

1. Identical-Panel Exact FP64 Comparison (ood_final_all25: Sealed 25 x 2K, 51,175 Positions)

Every row below evaluates KL(BF16 || quant) in IEEE-754 FP64 on the exact same sealed 25 x 2K (51,175-position) ood_final_all25 (brandonmusic-final25) panel against zai-org/GLM-5.3-Flash-BF16. External baselines come from malaiwah/quant-fidelity-registry; measurement lanes (sealed-ep8, streaming, and this work's first-party EP8 PyTorch lane) are reported explicitly and are not subtracted.

Published GLM-5.3-Flash Checkpoint Codec / Effective bpw Total Size ood_final_all25 Mean KLD Top-1 Measurement Lane / Source
vcruz305 EXL3 K2 (exl3-mcg @2) 2.00 bpw 97.8 GB 0.15521 87.27% malaiwah/quant-fidelity-registry (streaming)
turboderp EXL3 2.05 bpw (exl3-mul1 @2.05, 5-bit head) 2.05 bpw 85.2 GB 0.12164 88.92% malaiwah/quant-fidelity-registry (streaming)
This release (0.0M Pre-QEC baseline) 2.375 payload / 2.417 CSF 103.66 GiB 0.06340 92.03% First-party EP8 FP64 same-stack
This release (27.78M Carrier-Only, 0 sidecar) 2.375 payload / 2.417 CSF 103.66 GiB 0.05309 92.67% First-party EP8 FP64 same-stack
This release (27.78M + BF16 Engram) 2.375 GPU / 2.509 eff. 106.91 GiB 0.05286 92.72% First-party EP8 FP64 same-stack
wrldsuksgo2mars EXL3 K3 v1 (exl3-mcg @3) 3.00 bpw 136.7 GB 0.05057 93.09% malaiwah/quant-fidelity-registry (same-stack)
0xSero EXL3 3.0 bpw Dione (exl3-mcg @3) 3.00 bpw 149.6 GB 0.05050 93.00% malaiwah/quant-fidelity-registry (streaming)
0xSero EXL3 Q4 Dione (exl3-mcg @4) 4.00 bpw 187.6 GB 0.02726 n/a malaiwah/quant-fidelity-registry (sealed-ep8)
turboderp EXL3 4.05 bpw (exl3-mul1 @4.05) 4.05 bpw 165.2 GB 0.02553 95.10% malaiwah/quant-fidelity-registry (streaming)
brandonmusic TR3 4bpw (exl3-mcg @4) 4.00 bpw 175.6 GB 0.02455 95.31% malaiwah/quant-fidelity-registry (sealed-ep8)
malaiwah TR3 6bpw K6 (exl3-mcg @6) 6.00 bpw 253.5 GB 0.01372 96.56% malaiwah/quant-fidelity-registry (sealed-ep8)
malaiwah TR3 8bpw K8 (exl3-mcg @8) 8.00 bpw 331.4 GB 0.01238 n/a malaiwah/quant-fidelity-registry (streaming)

On the identical sealed 25 x 2K panel, this 2.375 bpw QEC checkpoint achieves 2.30x to 2.94x lower KLD than published 2-bit EXL3 builds (0.12164 to 0.15521) and approaches full 3.00 bpw EXL3 K3 (0.05050 to 0.05057) while saving 30 to 46 GB of VRAM.

2. Community Cross-Panel Reference (Different Evaluation Panels, Descriptive Only)

For broader context across additional quantization families (GGUF, Sushi, EXL3-SC, AWQ, NVFP4, MLX), the table below cites published GLM-5.3-Flash KLD numbers measured on distinct evaluation panels. Because KLD depends on prompt distribution and context length, values below are descriptive references only and are not directly rankable against ood_final_all25:

Quantization Family / Artifact Nominal Bit Rate / Size Reported Mean KLD Evaluation Panel & Source
GGUF UD-IQ1_M ~2.41 bpw 0.2320 turboderp/GLM-5.3-Flash-exl3 (73,624-tok self-generated trace)
EXL3 2.05 bpw 2.05 bpw 0.1929 turboderp/GLM-5.3-Flash-exl3 (73,624-tok trace)
Sushi 2 bpw ~2.09 bpw 0.1846 turboderp/GLM-5.3-Flash-exl3 (73,624-tok trace)
EXL3-SC 2.10 bpw 2.10 bpw 0.1570 turboderp/GLM-5.3-Flash-exl3 (73,624-tok trace)
GGUF UD-IQ3_XXS ~2.98 bpw 0.1258 turboderp/GLM-5.3-Flash-exl3 (73,624-tok trace)
EXL3-SC 2.60 bpw 2.60 bpw 0.0929 turboderp/GLM-5.3-Flash-exl3 (73,624-tok trace)
EXL3 3.05 bpw 3.05 bpw 0.0681 turboderp/GLM-5.3-Flash-exl3 (73,624-tok trace)
GGUF UD-IQ4_XS ~3.89 bpw 0.0615 turboderp/GLM-5.3-Flash-exl3 (73,624-tok trace)
EXL3-SC 3.10 bpw 3.10 bpw 0.0574 turboderp/GLM-5.3-Flash-exl3 (73,624-tok trace)
AWQ int4 g128 ~4.42 bpw 0.0565 turboderp/GLM-5.3-Flash-exl3 (73,624-tok trace)
NVFP4 ~4.78 bpw 0.0452 turboderp/GLM-5.3-Flash-exl3 (73,624-tok trace)
EXL3 4.05 bpw / EXL3-SC 4.10 bpw 4.05 / 4.10 bpw 0.0346 / 0.0288 turboderp/GLM-5.3-Flash-exl3 (73,624-tok trace; noise floor 0.01378)
orcarouter MLX 2bit-lite / 2-bit 102.5 GB / 145.0 GB 0.3456 / 0.1647 orcarouter self-reported MLX panel (malaiwah/quant-fidelity-registry)

Artifacts Included

  • model-*-of-*.safetensors and model.safetensors.index.json: Non-routed BF16 weights (18.01 GiB) with 316 merged BF16 LoRA projections and 147 restored stock BF16 RMSNorms, plus tokenizer and configuration files.
  • sidecars/p8-layer-*-tp4-rank-*.safetensors: 168 per-expert four-rate CSF TrellisMX rank sidecars (85.651 GiB, 2.375 bpw trellis payload / 2.417 bpw stored CSF).
  • engram_qec_sidecar_fp8.safetensors (1.79 GiB, 2.468 effective bpw) and engram_qec_sidecar_bf16.safetensors (3.25 GiB, 2.509 effective bpw): Optional Dual-Trellis Engram v2 residual sidecars with matching JSON manifests.
  • trellismx-manifest.json: Canonical manifest with SHA-256 checksums for every sidecar, rate assignment, and transform.
  • assets/kld_comparison_glm53_2375.png: Same-panel frontier and six-panel recovery visualization.
  • Open-Source Toolkit and White Paper: brandonmmusic-max/trellismx-sub3bit-engram-kit
  • Public Teacher-Logit Archive (646.975 GiB): brandonmusic/GLM-5.3-Flash-BF16-Nemotron-100M-Teacher-Logits

Distribution Fidelity (Full-Vocabulary FP64 KLD vs BF16 Reference)

All metrics below are first-party measurements against full-vocabulary FP32 teacher logits (brandonmusic/GLM-5.3-Flash-BF16-Nemotron-100M-Teacher-Logits @ 47a15aa09762eb5ba15d742c195ec030f065005e), scored in exact IEEE-754 FP64 over all 154,880 vocabulary entries with row r predicting token r + 1, batch_size = 1, exact teacher self-KLD canary (0.0), realized-token alignment verification inside [0.20, 0.995], and 5,000-resample window-block BCa 95% confidence intervals. Both expert-only bpw and effective bpw (including the Engram sidecar amortized over the 304,405,807,104 routed expert parameters) are reported.

Panel Variant Payload / Stored CSF bpw Total Effective bpw Mean KLD (nats) 95% BCa CI Median p90 p99 p99.9 Max Top-1 PPL Ratio
OOD confirmation (28 x 2K) Pre-QEC 2.375 bpw baseline 2.375 / 2.417 2.417 0.05303 [0.04501, 0.06177] 0.00625 0.12473 0.64883 n/a 8.2099 92.43% 1.0144
OOD confirmation (28 x 2K) Post-merge carrier only (0 sidecar) 2.375 / 2.417 2.417 0.04368 [0.03708, 0.05117] 0.00594 0.10442 0.52618 n/a 8.9585 92.95% 0.9934
OOD confirmation (28 x 2K) Post-merge + shipped FP8 Engram 2.375 / 2.417 2.468 0.04481 [0.03828, 0.05281] 0.00602 0.10524 0.55349 n/a 8.4196 92.95% 0.9929
OOD confirmation (28 x 2K) Post-merge + shipped BF16 Engram 2.375 / 2.417 2.509 0.04509 [0.03866, 0.05295] 0.00597 0.10524 0.56161 n/a 8.4737 92.91% 0.9929
Sealed final panel (all 25 x 2K) Pre-QEC 2.375 bpw baseline 2.375 / 2.417 2.417 0.06340 [0.04849, 0.09693] 0.00483 0.14222 0.91801 n/a 9.2273 92.03% 1.0253
Sealed final panel (all 25 x 2K) Post-merge carrier only (0 sidecar) 2.375 / 2.417 2.417 0.05309 [0.04045, 0.08147] 0.00453 0.12204 0.75433 n/a 6.5405 92.67% 0.9992
Sealed final panel (all 25 x 2K) Post-merge + shipped FP8 Engram 2.375 / 2.417 2.468 0.05322 [0.04069, 0.08143] 0.00453 0.12195 0.77117 n/a 6.4921 92.58% 0.9984
Sealed final panel (all 25 x 2K) Post-merge + shipped BF16 Engram 2.375 / 2.417 2.509 0.05286 [0.04042, 0.08078] 0.00453 0.12164 0.76356 n/a 5.9168 92.72% 0.9980
Sealed final panel (clean 17 x 2K) Pre-QEC 2.375 bpw baseline 2.375 / 2.417 2.417 0.07473 [0.05570, 0.12428] 0.01306 0.16508 1.02417 n/a 9.2273 90.54% 1.0350
Sealed final panel (clean 17 x 2K) Post-merge carrier only (0 sidecar) 2.375 / 2.417 2.417 0.06157 [0.04549, 0.10352] 0.01090 0.13655 0.84403 n/a 6.5405 91.46% 1.0024
Sealed final panel (clean 17 x 2K) Post-merge + shipped FP8 Engram 2.375 / 2.417 2.468 0.06148 [0.04538, 0.10235] 0.01100 0.13645 0.84876 n/a 6.4921 91.39% 1.0005
Sealed final panel (clean 17 x 2K) Post-merge + shipped BF16 Engram 2.375 / 2.417 2.509 0.06143 [0.04543, 0.10163] 0.01106 0.13627 0.83267 n/a 5.9168 91.53% 1.0011
Long-context 8K (24 x 8K) Pre-QEC 2.375 bpw baseline 2.375 / 2.417 2.417 0.09700 [0.06837, 0.16720] 0.00572 0.14650 1.69367 8.24337 24.4095 92.35% 1.0176
Long-context 8K (24 x 8K) Post-merge carrier only (0 sidecar) 2.375 / 2.417 2.417 0.07907 [0.05541, 0.13472] 0.00537 0.12282 1.44545 5.79869 28.1644 93.03% 0.9936
Long-context 8K (24 x 8K) Post-merge + shipped FP8 Engram 2.375 / 2.417 2.468 0.07918 [0.05520, 0.13651] 0.00540 0.12243 1.44354 5.85163 22.9323 93.01% 0.9963
Long-context 8K (24 x 8K) Post-merge + shipped BF16 Engram 2.375 / 2.417 2.509 0.07915 [0.05526, 0.13641] 0.00543 0.12293 1.44528 5.75793 27.5052 93.03% 0.9966
Long-context 32K (8 x 32K) Pre-QEC 2.375 bpw baseline 2.375 / 2.417 2.417 0.03910 [0.02971, 0.05347] 0.00022 0.05881 0.38802 5.55477 34.5654 93.77% 1.0037
Long-context 32K (8 x 32K) Post-merge carrier only (0 sidecar) 2.375 / 2.417 2.417 0.03219 [0.02559, 0.04352] 0.00055 0.05216 0.35825 3.73068 24.7937 93.93% 0.9780
Long-context 32K (8 x 32K) Post-merge + shipped FP8 Engram 2.375 / 2.417 2.468 0.03233 [0.02558, 0.04412] 0.00054 0.05171 0.36502 3.78666 24.3284 93.88% 0.9786
Long-context 32K (8 x 32K) Post-merge + shipped BF16 Engram 2.375 / 2.417 2.509 0.03236 [0.02580, 0.04395] 0.00053 0.05243 0.36999 3.59740 21.6402 93.85% 0.9777
Long-context 64K (6 x 64K) Pre-QEC 2.375 bpw baseline 2.375 / 2.417 2.417 0.01080 [0.00698, 0.01581] 0.00195 0.02095 0.06068 1.20556 7.5223 75.36% 1.0054
Long-context 64K (6 x 64K) Post-merge carrier only (0 sidecar) 2.375 / 2.417 2.417 0.00988 [0.00469, 0.01661] 0.00193 0.01289 0.07575 1.50157 6.5572 80.56% 1.0020
Long-context 64K (6 x 64K) Post-merge + shipped FP8 Engram 2.375 / 2.417 2.468 0.01022 [0.00476, 0.01776] 0.00193 0.01313 0.08392 1.55841 6.5739 80.89% 1.0022
Long-context 64K (6 x 64K) Post-merge + shipped BF16 Engram 2.375 / 2.417 2.509 0.01021 [0.00478, 0.01765] 0.00193 0.01296 0.08396 1.56011 6.1051 81.08% 1.0023

Credits

  • Base model: Z.ai zai-org/GLM-5.3-Flash-BF16 (quantized directly from zai-org/GLM-5.3-Flash-BF16, with non-routed modules kept in BF16 as stored).
  • Compute Sponsorship: Generously sponsored and donated by Lambda Labs (8x NVIDIA B200). This research and open checkpoint release would not have been possible without Lambda Labs donating the GPU infrastructure for quantization, teacher-logit archiving, recovery, and FP64 verification.
  • Allocation: ShapleyMCG by Brandon M. Music.
  • Serving stack: vLLM-based serving image by Local Inference Lab and Luke Alonso (ghcr.io/local-inference-lab/vllm, vLLM Apache-2.0), with bundled FlashInfer, LMCache, InstantTensor, xgrammar, and fastokens.
  • GPU kernels: b12x by Luke Alonso (github.com/lukealonso/b12x, mirror local-inference-lab/b12x), with Martin Vit and contributors (Apache-2.0).
  • Scale compression: CSF encoder and decoder by Local Inference Lab.
  • Quantization lineage: TrellisMX inspired by QTIP (Tseng, Sun, Hou, De Sa, NeurIPS 2024) and ExLlamaV3 / EXL3 by turboderp and contributors (MIT). Procedural NPK codec modifications for FP8/FP4 register decode inspired by Luke Alonso's KQuant/QSRT and the b12x W4A8 trellis path.
  • Evaluation data: Untouched full-vocabulary FP64 KLD panels built from the NVIDIA Nemotron datasets (Nemotron SFT Agentic, Math, Science CC-BY-SA-4.0, Competitive Programming, IF-Chat, Multilingual, Long-Context Transduction OpenMDW-1.1, Safety, Nemotron Pretraining Legal, Nemotron Pretraining Dataset Sample under the NVIDIA Open Data License Agreement) and the sealed roles-v5 reference panel.
Downloads last month
149
Safetensors
Model size
10B params
Tensor type
F32
ยท
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for brandonmusic/GLM-5.3-Flash-TrellisMX-2.375bpw-QEC

Finetuned
(6)
this model
Quantizations
1 model

Evaluation results

  • Mean tokenwise KLD (reference || candidate), nats on OOD confirmation (28 x 2K), 28 windows, 57316 scored positions (shipped BF16 Engram)
    self-reported
    0.045
  • Mean tokenwise KLD (reference || candidate), nats on Sealed final panel (all 25 x 2K), 25 windows, 51175 scored positions (shipped BF16 Engram)
    self-reported
    0.053
  • Mean tokenwise KLD (reference || candidate), nats on Sealed final panel (clean 17 x 2K), 17 windows, 34799 scored positions (shipped BF16 Engram)
    self-reported
    0.061
  • Mean tokenwise KLD (reference || candidate), nats on Long-context 8K (24 x 8K), 24 windows, 196584 scored positions (shipped BF16 Engram)
    self-reported
    0.079
  • Mean tokenwise KLD (reference || candidate), nats on Long-context 32K (8 x 32K), 8 windows, 262136 scored positions (shipped BF16 Engram)
    self-reported
    0.032
  • Mean tokenwise KLD (reference || candidate), nats on Long-context 64K (6 x 64K), 6 windows, 393210 scored positions (shipped BF16 Engram)
    self-reported
    0.010