CoolFace
Modelpublic

kernelpool/GLM-5.3-5bit-UVMAX

sourceHugging Faceotherupdated 23d agoView on Hugging Face
1likes998downloads
Model Card

kernelpool/GLM-5.3-5bit-UVMAX

Mixed-precision (UVMAX) quantization of zai-org/GLM-5.3-BF16, converted with mlx-lm from the bf16 release.

What is UVMAX?

UVMAX assigns bit widths per tensor class instead of quantizing uniformly.

tensor classprecisionparameterssizeshare
Expert FFN gate/up4-bit, group 128483B239.1 GiB59.1%
Expert FFN down5-bit, group 128242B147.7 GiB36.5%
Attention + DSA indexer + dense MLP8-bit, group 6413.7B13.6 GiB3.4%
Shared experts8-bit, group 642.8B2.8 GiB0.7%
Embeddings, LM head4-bit, group 641.9B1.0 GiB0.2%
Routersbf160.1B0.2 GiB<0.1%
Normsbf16<0.1%
total4.67 bits/weight743B404 GiB

Quality

Teacher-forced against the bf16 release on identical tokens, 48 windows of 1025 tokens. KLD is KL(bf16 ‖ quant) over the full output distribution and is corpus-specific.

UVMAX (4.67 bits/weight)

corpusppl bf16ppl UVMAXratiomean KLDmedian KLDtop-1 agreement
Linux kernel C1.4341.4591.02×0.0400.000296.8%
XNU kernel C2.4352.4721.02×0.0560.002793.4%
JavaScriptCore C++1.7571.7911.02×0.0550.000795.1%
English prose2.6872.7501.02×0.0630.007692.4%
all2.0152.0531.02×0.0530.001294.4%

Uniform 4-bit (4.50 bits/weight)

corpusppl bf16ppl 4-bitratiomean KLDmedian KLDtop-1 agreement
Linux kernel C1.4341.4921.04×0.0760.000495.3%
XNU kernel C2.4352.5221.04×0.1090.006391.0%
JavaScriptCore C++1.7571.8411.05×0.1020.001493.4%
English prose2.6872.9091.08×0.1430.020988.6%
all2.0152.1191.05×0.1070.002892.1%

Use with mlx

Requires a recent mlx-lm with GLM-5.3 (glm_moe_dsa) support.

The model fits on a single 512 GB machine:

bash
mlx_lm.server --model kernelpool/GLM-5.3-5bit-UVMAX

Sampling follows the base model: temperature 1.0, top-p 0.95.