Maya-S v2 IQ2_XXS on a DGX Spark (aarch64) - numbers and build notes
This repository does not host the weights. It is the record of one run: the 2.06-bit quant of GLM-5.3-Flash on a single NVIDIA DGX Spark (GB10, 20 ARM cores, 120 GB of RAM shared with the GPU), with Project Maya's engine.
Where the weights are
The GGUF this ran is already on Hugging Face:
- repo: peasantsmith/GLM-5.3-Flash-Maya-GGUF
(folder
Maya-S-v2-IQ2_XXS, revisionmain, MIT) - 3 shards, 89.83 GiB, 2.0625 bpw:
GLM-5.3-Flash-Maya-S-v2-IQ2_XXS-0000{1,2,3}-of-00003.gguf - the original weights: zai-org/GLM-5.3-Flash (MIT)
huggingface-cli download peasantsmith/GLM-5.3-Flash-Maya-GGUF \
--include "Maya-S-v2-IQ2_XXS/*.gguf" --local-dir ./Maya-S-v2-IQ2_XXS
The quant: error-feedback-rounded IQ2_XXS gate/up experts, IQ2_S / IQ3_XXS down projections, Q6_K attention and the
MTP draft block, made from Z.ai's FP8 release by Project Maya. The SHA-256 of each shard is verified by the
project's own setup (maya.py).
Numbers (one DGX Spark, greedy, thinking off)
| Decode (256-token answers) | 21.2 tokens/s (with the DFlash2 drafter; 16.8 without it) |
| Prefill (8K-token prompt) | 732 tokens/s |
| Prompt read at 16K tokens | 769 tokens/s |
| Expert cache hit | 99.97% |
| Experts resident | 12 096 of 12 096 (80.17 GB of the 120 GB shared with the GPU) |
| Context | 131 072 tokens (the model supports 1 M) |
| Model size | 89.83 GiB, 2.0625 bpw |
Measured with ./maya.sh --bench (three 256-token greedy answers, thinking off) and tools/bench_tokens.py (the
sweep across prompt and answer sizes).
Against upstream llama.cpp, on the same GPU and the same weights
The same GGUF on the same machine with upstream llama.cpp (272aad8b9, the first release with the glm5-next
architecture, built for sm_121a):
| Maya | llama.cpp | |
|---|---|---|
| Prefill, 32K-token prompt | 754 tok/s | 239 tok/s (3.2x) |
| Prefill, 8K-token prompt | 744 tok/s | 277 tok/s (2.7x) |
| Prefill, 512-token prompt | 303 tok/s | 314 tok/s (tie) |
| Decode, 256-token answer, short context | 22.9 tok/s | 17.5-17.8 tok/s (1.29x) |
| Decode, 256-token answer, 2K context | 22.9 tok/s | 15.7 tok/s (1.46x) |
| Decode, 256-token answer, 8K context | 21.1 tok/s | 15.6 tok/s (1.35x) |
The decode rows are Maya with its DFlash2 drafter. llama.cpp has no drafter to compare with: the pack has no MTP draft block, and this llama.cpp build has no DFlash2 - so the decode comparison is the engine against the engine plus a drafter. Without it Maya's decode is a tie at a short context (17.4 against 17.7) and 3-7% faster at a long one (16.8 against 15.7 at a 2K-token context).
The machine
One NVIDIA DGX Spark: a GB10 GPU (compute capability 12.1, sm_121), 20 ARM cores (Cortex-X925), and 120 GB of
LPDDR5X shared between the CPU and the GPU - the device has no VRAM of its own. Ubuntu 24.04 aarch64, driver
580.95.05, CUDA 13.0.
That is the whole point of this run: a machine whose GPU memory is the system's RAM. The engine sizes its expert
pool from /proc/meminfo's MemAvailable rather than the runtime's free figure (which counts the model's
reclaimable page cache as used), leaves 16 GB of headroom for the system and a 1024 MiB reserve for the driver, and
keeps a RAM tier and a disk tier below the pool.
What runs it
| Engine | Project Maya v1.1.26 + the aarch64 port |
| Tensor library | ggml / llama.cpp (MIT), pinned at 3cf03257 - the quant formats, ggml-cpu's NEON dot products (the expert kernels on aarch64) and the prompt path's MMQ kernels |
| The aarch64 port | docs/DGX_SPARK.md, docs/DGX_SPARK_BUILD.md |
| The benchmark | BENCHMARK.md |
git clone https://github.com/mw00/project-maya && cd project-maya
./maya.sh --setup --yes --gpu 0 --context 131072 --no-vision --download-model
./serve-maya.sh start # http://127.0.0.1:8080/v1 (OpenAI-compatible)
Credits
- Project Maya by Peasant Smith (@mw00) and its contributors - the engine, the server, the packer, the expert pool. @needmorevram is the co-maintainer and contributed the expert tiers across VRAM / RAM / SSD, the CPU expert kernels and the expert profile.
- carlos patriawan (@xcpatr9231975 / xcpatr922JNP) - the aarch64 port and this run's numbers.
- ggml / llama.cpp (MIT, (c) 2023-2026 the ggml authors) - the
quantization formats, the CPU dot products and the MMQ kernels, and the
glm5-nextarchitecture implementation that is the specification and the comparison baseline here. - zai-org for the GLM-5.3-Flash weights (MIT).
Licence
MIT, like the projects above. This repository holds documentation and measurements only; the weights keep their own licences (the quant: MIT, from peasantsmith's repo; the originals: zai-org's MIT).