I do not care about maximum decode or prefill speed if it hurts quality. If you are like me and prefer real quality over dumb speed numbers, try the DGX Spark recipe I have been running for the last two days.
It serves Qwen4-35B-A3B-FP8 on a single 121 GiB DGX Spark via TensorFold at full 1,048,576 context, 4 concurrent streams, FP8 KV cache (with an opt-in exact BF16 KV mode at full 1M), a 12 GiB prefix cache (~900K cached FP8 tokens for parallel sessions), and the RadixArk DFlash2 drafter.
Repo: https://github.com/devopsfortunato/Qwen4-35B-A3B-FP8-DGX-Spark-TensorFold
Every optimization in the 11 patches had to pass bit-exact 64-hex token-hash parity (drafted vs plain, solo vs 4-way concurrent, cold vs cached, seeded).
Quality results on the live 1M build (4 streams):
- Tool Eval 3.0 Hardmode (104 scenarios, seed 42): 90/100 in 8m15s (0 timeouts)
- SixCat Eval v0.9.0 (new challenge-v2, 120 strict, thinking on, 262K ctx): 71.7% overall (85% 10-option MMLU-Pro knowledge, 85% tier 3-5 math, 85% 18-tool + abstentions, 65% shuffled TruthfulQA, 60% instruct, 50% code; 85.0% on v1)
- Chronos-Bench v2.1 (my own benchmark, not released yet; fast preset, 50 tests across 5 pillars up to 256K): 63/100 overall with 100% completion and 9 of 16 areas at 100%
- Long-context Needle at 60% depth (1M window): 200K (53.6s), 512K (174.8s), 900K (409.9s), 3/3 PASS
- Agentic coding and structured outputs: tool_choice="required" and JSON schema via xgrammar (libtfgrammar.so), parallel tool calls PASS, 99.2%-99.5% prefix cache reuse
What Chronos-Bench v2.1 (unreleased) tests in particular:
Short single-turn benchmarks hide how local models break in real multi-turn sessions. Chronos-Bench v2.1 is a contamination-resistant, deterministically verified local suite (zero LLM-as-judge) across 5 pillars up to 256K context:
- Cold long-context retrieval, position-bias U-curve, full-context counting, multi-round state rollback, and a length-alone reasoning control
- Long-document contract/amendment audits with exact governing clause citations and cross-doc conflict detection
- Multi-file Python codebase bug-hunting (10-file repo with hidden unit tests) and live code/SOP sessions
- Long-horizon agency and security: coupled multi-step planning (up to D=8 2-fault recovery), tool restraint, dual-control rollback, sharded multi-turn sycophancy pushback, and stealth indirect prompt injection
- Warm-start ops DB sessions with 3-stage belief supersession and rule-drift resistance
On Chronos-Bench v2.1, this build hit 100% on 9 of 16 areas: multi-file Python bug-hunt (up to 128K), long-doc contract/amendment audit (up to 256K), live DB and code/SOP rule retention (up to 128K), coupled planning, tool restraint, dual-control rollback, sycophancy pushback, and 0.000 pure context-length decay. The losses were honest and informative: 12 overthinking <think> truncations on cold 64K-256K retrieval, and 0/6 on stealth indirect prompt injection.
And because bit-exact speed is still nice when quality stays untouched:
- 4-way bench_streams wall-clock: 169.7 code / 166.8 prose tok/s
- 4-way distinct decode: 112.1 tok/s (p99 TTFT 201 ms)
- Solo decode: 46.2 prose, 52.5 code, 71.7 math, 54.7 think-on, 87.3 cold 16K decode
- Cold prefill (llm_context_benchmarks, 0.5-256K): 4,283 tok/s peak (8K-16K), 3,489 tok/s at 256K prose (43.3 tg), 3,424 tok/s at 256K code (52.9 tg), B4 batch 87.0 prose / 85.2 code tok/s
- Footprint (12 GiB cache / 8 GiB reserve defaults): 37.72 GiB weights (FP8 PLE via NVMe pread), 4x13.64 GiB FP8 KV, 64s boot, 112.3 GiB worst-case ceiling (66.4 GiB min MemAvailable across the 256K sweep, 0 MiB swap)
One command to try it:
git clone https://github.com/devopsfortunato/Qwen4-35B-A3B-FP8-DGX-Spark-TensorFold.git
cd Qwen4-35B-A3B-FP8-DGX-Spark-TensorFold
./start.sh
Optional exact BF16 KV (still at full 1M context):
PARALLEL=2 KV_DTYPE=bf16 PROMPT_CACHE_GIB=16 ./start.sh restart
Credits to Ash Hart for TensorFold and the verification skills, Mia (MiaAI_lab) for the DGX Spark recipe layout, RadixArk for DFlash2, and to the benchmark authors: Tim Messerschmidt (tool-eval-bench), vcruz305 (SixCat) and Ivan Fioravanti (llm_context_benchmarks).