GLM-5.3-Flash on two DGX Sparks: 850k context, cold prefill up 45%
Two GB10 nodes in tensor parallel run a 164 GiB 4-bit EXL3 GLM-5.3-Flash on a self-maintained vLLM overlay: 850k-token context, cold prefill 1,553 tok/s (+37-45% over the previous kernel), 62.9 tok/s structured decode, and 4-bit quality (KLD 0.02456) on par with official FP8 at 54% of the size. The costs are on the table: an explicitly reserved 14 GiB KV pool, weights stored on one node shared over NFSv4, and a 33-frame video turning into 236k vision tokens that kills the engine — the first full engineering ledger of running a flagship MoE locally.
On a single GB10 box, this channel's last hands-on saw 27B-class models start at 4 tok/s; this long-form piece pushes the spec up another tier: 2 DGX Sparks connected over direct CX7 links doing tensor parallelism, 164 GiB of 4-bit EXL3 weights, running GLM-5.3-Flash at an 850k-token context - cold prefill 1,553 tok/s, structured decoding 62.9 tok/s single-request, quality loss essentially on par with the official FP8. For local builders, this is the first complete engineering ledger of the 'dual-box stacking + aggressive quantization' route: the numbers do run, provided you self-maintain a vLLM overlay that lays bare all three joints - data format, memory ownership, and speculative decoding.
1. The recipe: 4-bit weights, dual-box tensor parallelism, two commands to deploy
- Weights: EXL3/TR3 4-bit quantization (about 164 GiB, 120 shards), stored only on the head node and shared read-only to the worker over NFSv4 - the two boxes are an asymmetric structure; the second contributes compute only, no weight storage
- Routing experts stay packed and are handed to the Trellis/MCG fused kernels (otherwise they balloon back to BF16); shared experts, attention, embeddings, and output layers stay at native precision
- Runtime: vLLM on two nodes at TP=2, kernels natively compiled for sm_121a, KV forced to fp8; decoding hooks DFlash2 speculative decoding, 7 draft tokens proposed per step; externally it is a standard OpenAI API
- Deployment compressed to two commands: clone + start.sh (automatic prechecks, image pull, download of missing weights, service start, health check plus shape warmup, so the first client is not the first JIT victim)
2. Why a self-maintained overlay is mandatory: the bottleneck is format and allocation
The official image errors on the first forward pass with this checkpoint. Each of the three joints has its own traps:
- Format: GLM-5.3-Flash is NoPE MLA; the only sparse MLA backend on SM12x accepts exactly one kind of 656-byte packed record - zero-pad the 512-dim latents into that geometry and it runs without touching the model
- Expert loop: EXL3_FAT_GROUPED replaces the per-expert host loop with three GPU-driven segmented launches per layer (gather, gate/up+SwiGLU, down+scatter), no weight repacking, no host sync - the entire source of the 37-45% long-context prefill speedup
- Long-generation crash: two kpool patches; without the one that corrects seed step size by actual page size, long generations crash around the 2k-token mark or silently corrupt another layer's indexer
3. Performance and cost
- Cold prefill: 1.4-1.6k tok/s across prompts from 8k to 256k; against the previous kernels, 16k prompts at 1,578 tok/s (+37%) and 256k at 1,576 tok/s (+45%)
- Decode speed is decided by the draft acceptance rate, not by temperature or the thinking toggle: structured tasks 62.9 tok/s single-request (per-position acceptance 0.83-0.98); on prose, acceptance drops to 0.06 at later positions - long-form writing will feel visibly tiered
- Two optional speedups, off by default (flip environment variables and restart): adaptive verification length + dense-projection FP8, +37% combined on hard prose; the cost is FP8 rounding changing values (KL proxy 0.002-0.013 nats/position, argmax agreement 94-100%)
- The 850k context needs an explicit 14 GiB KV pool reserved (883,552 tokens) to pass startup three times; the '1.55M tokens' in the startup log is max concurrency x context length, not prefix-cache capacity - under the hybrid architecture (MLA, Mamba, and draft windows sharing one block pool), only about 57k tokens of conversation can be cached while idle
4. Minefields: vision tokens and cache pollution
- The unified-memory architecture reserves no VRAM for the vision tower: an 11.9MB video was split into 33 full-resolution frames, about 236k vision tokens, driving the node down to 44 MB free and the kernel killing the process outright (engine death). Three gates now contain it: 2,048 tokens per image, an image:48 total cap (over-limit returns 500 instead of engine death), and the media-processing cache squeezed to 1 GiB
- Batch evaluation pollutes the prefix cache of resident conversations: blocks from one-shot jobs insert at the free tail in LRU order, evicting the owner's blocks. The fix is per-request write-side opt-out via skip_writing_prefix_cache (read the cache, don't write hashes); conversely, turning every explicit retention policy on doesn't pay either - one edit at the 90% position of a 128k conversation goes from 14.7 seconds to 112.5 seconds
What it means for our readers:
- 'Dual-box stacking' is the right answer when a flagship doesn't fit on one box, but the structure is asymmetric: 164 GiB of weights live only on the head machine; the second Spark contributes compute only. From 4 tok/s on one box to 62.9 tok/s here, half comes from quantization making the weights fit, half from dual-box TP=2.
- The quality bill for quantization has independent-panel backing: 4-bit KLD 0.02456 vs the official FP8 on the same stack at 0.02463, at 54% of the size; NVFP4 on the same table is 0.0605 - on GB10, 'which quantization to use' has a clear answer.
- Hardware bar, against the piece 'Is a 10,000-dollar local AI rig worth it': a single Spark already equals 23 months of top-tier subscriptions; two boxes double that. In exchange: 850k context and a local flagship where data never leaves the house. Whether it's worth it depends on whether you truly need the 'local + ultra-long-context' combination.
- Engineering depth is a real barrier: the recipe is open-sourced and two commands reproduce it, but when things break, every layer - format, allocation, speculative decoding - is yours to inspect. The transferable lesson is the repo's closing line: the bottleneck is usually not compute but format and allocation; first confirm which data layout the kernels accept, then confirm who owns the memory, and only then reach for tuning.
Methodology note: all performance figures come from the repo authors' self-tests on their own 2x GB10 (A/B on the same machines, cold prompts with zero prefix hits); the quality panel comes from Hugging Face independent teacher-logit evaluation (five cold runs, 25 sealed windows, 51,175 positions, judging the weights themselves rather than this overlay); a designated prompt set is not arbitrary workloads. Recipe open-sourced (AGPL-3.0): github.com/MiaAI-Lab/GLM-5.3-Flash-EXL3-2x-DGX-Sparks; weights under ShapleyMCG 1.0; DFlash2 draft under CC BY-NC-ND 4.0, restricted to research and evaluation. The original is a WeChat official-account article (published 2026-10-03); this piece is an editor-curated pick.