GLM-5.3 · Maya GGUF

GGUF quantization of zai-org/GLM-5.3 (744B parameters, about 40B active per token: 256 routed experts per layer, 8 active, plus a shared expert; multi-head latent attention with a sparse-attention indexer; up to a 1M-token context), made for Project Maya. Project Maya keeps the most-used experts on the GPU and the rest in RAM, and reads what does not fit from the SSD, so the model runs well below its size. Made from Z.ai's own release, not from a re-quantized file, and keeps every expert and the model's own NextN (MTP) block for drafting.

Maya-XS

Maya-XS
Made for the whole model in a 192 GB memory pool (VRAM and RAM together)
Download 170.0 GB (4 files)
Every expert in memory from about 176 GB of VRAM and RAM together; with less, the rest is read from the SSD
Routed experts IQ1_S; the most sensitive layers' tensors (and the NextN block's) IQ2_XXS, a few IQ1_M
Attention, sparse-attention indexer, shared experts, dense layers Q8_0 (attention output Q6_K)
Embeddings / output Q4_K / Q6_K
Mean KL divergence vs the original 0.506
Same top token as the original 81.8%

The same closeness to the original as unsloth's UD-IQ1_S at 78% of its size:

Maya-XS unsloth UD-IQ1_S
Size 170.0 GB 216.7 GB
Mean KL divergence vs the original 0.506 0.506
Same top token as the original 81.8% 82.3%

Measured on held-out text never used for calibration, against the original model's own predictions (Z.ai's released weights, computed exactly); both files scored the same way, on the same tokens.

How it was made

  1. Calibration text in GLM-5.3's own chat format (its chat template, thinking and tool calls included): tool calls and agent traces, code, web front-end and 3D work, long answers, chat and multilingual chat, with some of the model's own answers - 384 sequences of 2,048 tokens. A separate held-out set is kept for evaluation.
  2. Statistics from the model itself, layer by layer: an importance matrix for every expert separately.
  3. Where the bits go: the extra bits went to the layers and tensors where the model is most sensitive.
  4. Error-feedback rounding of every expert, at the quantizer's 256-weight blocks, each expert against its own input statistics - and each layer calibrated on what the already-quantized layers before it produce. The rounding was tuned for this model.
  5. llama.cpp's own quantizers (ggml), so the files are ordinary GGUFs in llama.cpp's glm-dsa layout.

Files

Folder Files Size
Maya-XS/ GLM-5.3-Maya-XS-00001-of-00004.gguf … -00004-of-00004.gguf 170.0 GB

Norms, the router and the indexer's projection stay in F32. Text only: GLM-5.3 has no vision tower.

Running it

Project Maya (v1.1.58 or later) sets everything up and runs it:

git clone https://github.com/mw00/project-maya.git && cd project-maya
./maya.sh --setup --model glm-5.3-maya-xs      # Windows: START-MAYA.bat --setup --model glm-5.3-maya-xs

It checks the PC, downloads the files (every one verified by its sha256, resumed if a download stops), compiles the engine for your GPU(s) and starts it: the dashboard at http://127.0.0.1:8080, or the OpenAI- and Anthropic-compatible API at the same address (streaming, tool calls, the three thinking levels). NVIDIA from the Tesla V100 on (CUDA, Linux and Windows) and AMD (HIP, the Strix and Gorgon Halo included); not on Mac yet. More: GLM-5.3 on Maya.

License

The model is Z.ai's GLM-5.3 under its own license; this quantization is released under the same license.

Downloads last month
13,388
GGUF
Model size
6.14k params
Architecture
controlvector
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for peasantsmith/GLM-5.3-Maya-GGUF

Base model

zai-org/GLM-5.3
Quantized
(127)
this model