I’ve been running GLM-5.2 at 1M context on my four-node DGX Spark cluster with Hermes for several weeks of day-to-day work. I wanted to share a streamlined, stability-tested sparkrun recipe for anyone looking to deploy the same setup with only a handful of commands:
This repository builds on work by @ciprianveg, @CosmicRaisins, @Zatz, and @tonyd615 – a big thank-you to all of them. Their contributions are also acknowledged in the repository.
I plan to update the repository for GLM-5.3 once a suitable quantization becomes available.
Here are the results from a run using the text-only model with no adjustments on the latest tool-eval-bench (run command: tool-eval-bench run --seed 42 --base-url ...).
Do you have a preferred benchmark for that? Here’s a very quick run from llama-benchy (fifth run to let the Adaptive MTP settle after the tool-eval-bench):
uv run llama-benchy --base-url http://.../v1 --model QuantTrio/GLM-5.2-Int4-Int8Mix
llama-benchy (0.4.1.dev1+ge9be34457)
Date: 2026-08-17 21:10:10
Benchmarking model: QuantTrio/GLM-5.2-Int4-Int8Mix at http://.../v1
Concurrency levels: [1]
Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.
Loading text from cache: /home/daved/.cache/llama-benchy/cc6a0b5782734ee3b9069aa3b64cc62c.txt
Total tokens available in text corpus: 141280
Warming up...
Warmup (User only) complete. Delta: 14 tokens (Server: 35, Local: 21)
Warmup (System+Probe) complete. Delta: 15 tokens (Server: 37, Local context: 21, Probe: 1)
Running coherence test...
Coherence test PASSED.
Measuring latency using mode: api...
Average latency (api): 7.36 ms
Running test: pp=2048, tg=32, depth=0, concurrency=1
Warmup 1/1 (batch size 1)...
Run 1/3 (batch size 1)...
Run 2/3 (batch size 1)...
Run 3/3 (batch size 1)...
Printing results in MD format:
| model | test | t/s | peak t/s | ttfr (ms) | est_ppt (ms) | e2e_ttft (ms) |
|:-------------------------------|-------:|---------------:|-------------:|-----------------:|-----------------:|-----------------:|
| QuantTrio/GLM-5.2-Int4-Int8Mix | pp2048 | 556.19 ± 27.75 | | 3699.11 ± 190.90 | 3691.75 ± 190.90 | 3699.11 ± 190.90 |
| QuantTrio/GLM-5.2-Int4-Int8Mix | tg32 | 22.17 ± 2.35 | 24.67 ± 2.05 | | | |
llama-benchy (0.4.1.dev1+ge9be34457)
date: 2026-08-17 21:10:10 | latency mode: api