Qwen/Qwen4-35B-A3B converted to a
Radiance container (qwen4-35b-a3b-iq8r.rad, 54.5 GiB), data-free:
rotated int8 trunk and routed experts, E4M3 hyper-connection mixers and n-gram table, int8 lm_head, vision tower and
MTP head kept. Recipe: qwen4-35b-a3b-iq8r.recipe.
Qwen4-35B-A3B is Qwen4-Exp (the Qwen3.8-Flash-Next architecture) at a smaller geometry, so Radiance's qwen4exp_fp8
plugin serves it. It needs two changes that are not in a Radiance release yet (patches/radiance-2.4.1-qwen4moe.patch,
upstream PR pending): the qwen4_moe to qwen4exp architecture alias, and a paged-attention kernel for 8 query heads
per KV head (16 q / 2 kv heads), the shape this model has at tp 1 and tp 2.
2x Radeon AI PRO R9700 (gfx1201), tp: 2, int8 KV cache, radiance 2.4.1 with the patch, MTP 3 drafts:
| Decode, single stream | ~205 tok/s prose, ~289 tok/s JSON |
| Prefill | ~12.0K tok/s at 2K, 8.6-12.6K tok/s at 16K |
| Aggregate, 8 streams | ~700 tok/s |
| Checks | arithmetic (thinking off and on), prose, tool call, vision, needle at 44.8K tokens, greedy identical over 3 runs |
models:
qwen4-35b:
model: qwen4-35b-a3b-iq8r.rad
tp: 2
max-num-seqs: 32
max-model-len: 200000
kv-cache-dtype: i8
num-speculative-tokens: 3
checkpoint-slots: 0
memory: {gpu-headroom-mib: 768}
checkpoint-slots: 0 matters on some hosts: the automatic setting pinned 19.8 GiB of host memory for 320 linear-state
checkpoint slots, and the kernel driver kept evicting the GPU queues (20-55 s stalls). Upstream PR:
https://codeberg.org/StillDeadcode/radiance/pulls/801. A single-card IQ4R-V4 build is in progress.
Join the Launch80 Discord, a community focused on running models on consumer GPUs and CDNA2: https://discord.gg/launch80
Qwen/Qwen4-35B-A3B