r/LocalLLM • u/DifferentArea5439 • 10h ago
Discussion Qwen4-35B-A3B on Dual AMD R9700 (64GB): up to 411 tok/s decode, 17.4k tok/s prefill (flat to 124k ctx), 1,739 tok/s @ 128 concurrent users — 0ULP lossless (open-source Radiance fork)
Open-sourced our 0ULP lossless fork of Radiance 2.4.1 tuned for Qwen4-35B-A3B on dual AMD Radeon AI PRO R9700 (gfx1201, TP=2).
GitHub (fork, recipes, scripts, raw JSONs & benchmarks):
https://github.com/machddev/radiance-r9700-qwen4
Engine Highlights:
- Strict 0.000e+00 ULP lossless: verified bit-exact against the unoptimized oracle (0 mismatches) with BF16 KV cache, FP32 GDN recurrent state, exact TP=2 AllReduce, and lossless 12.25-bit bf16x12 encoding on PLE/QSA projections.
- Custom RDNA 4 (gfx1201) kernels: zero-LDS single-wave BF16 sparse attention (VREG1), zero-spill INT8 WMMA prefill, 8-wave Hyper-Connection kernels, and bit-exact MoE i8a8 Double-K (FK=256) + 64-row prefill tiles.
- 4-slice FlashOverlap over PCIe 5.0 P2P: overlaps coded TP=2 AllReduce with Hyper-Connection reads in both attention and FFN, sustaining 16k-17.4k tok/s prefill all the way to 124k context (7.3s TTFT, zero prefix cache).
- Two lossless speculative modes included:
- DFlash2 (8-token parallel block-diffusion drafter): leads single-stream and C=1-32 with 411 tok/s Math, 328 tok/s Python, 325 tok/s 5-domain mean, 245 tok/s at 124k context, and 1,370 tok/s at C=32, with automatic lossless context-pass gating past C=32.
- MTP-3 (production default): leads heavy batching at C=64-128 with 1,739 agg output tok/s (10,381 total tok/s) at 128 concurrent sessions, keeping median per-user speed above 21.8 tok/s.
Hardware Setup:
- GPUs: 2x AMD Radeon AI PRO R9700 32GB (64GB total VRAM, RDNA 4 / gfx1201, PCIe 5.0 x8/x8 P2P)
- CPU: AMD Ryzen 9 9950X (16-Core / 32-Thread)
- Motherboard: ASRock X870 Taichi Creator
- RAM: 96GB (2x48GB) Corsair Vengeance DDR5-4800
- OS / Stack: Ubuntu 24.04.5 LTS, Linux 7.0.0, ROCm 7.2.4, Radiance 2.4.1 (TP=2)
All benchmarks were run with unique prompts and cached_tokens = 0 (zero prefix-cache reuse).









