DSV4.1-Flash-1017 + Qwen3.8-Flash-Next EXL3 4x R9700 — Radiance TP4
00 upvotes — sign in to vote sign in to votecommunity Community submission — verify on your own hardware.
recipe by recipe by mikoskinen (github.com/mikoskinen/r9700-exact-serving, results of 15.11.2026)↗, StillDeadcode (Radiance engine, codeberg base 1.15.1 + PR #396)↗, Dyluhn (radiance-exl3 EXL3 routed-expert plugin + QFN EXL3 weights)↗ · listed by localai-recipes
revision r6 · commit 944268ad39 · updated 44 h ago · license CC-BY-4.0
chat code vision rdna4 amd radiance prefix-caching concurrent-sessions community-recipe moe mtp-speculative gfx1201 long-context tensor-parallel dual-model exl3 expert-offload tp4
DeepSeek-V4.1-Flash-1017 EXL3 2.25bpw (sibling Qwen3.8-Flash-Next EXL3 4.05bpw, same host, one model at a time) served by a C++/HIP fork of StillDeadcode/radiance (1.15.1 + PR #396, server 1.17.0) with the Dyluhn radiance-exl3 EXL3 routed-expert plugin, TP4 across 4x AMD Radeon AI PRO R9700 (RDNA4 gfx1201, 32 GB, one card per EPYC root complex) behind a LiteLLM proxy. Byte-identical output solo or beside 32 concurrent requests; DS41 serves 1M-token contexts and keeps 4.2 full 1M sessions in KV. Measured 15.11.2026, stock 300 W: DS41 decode 107.5 prose / 187.4 code tok/s c1, aggregates 247 c4 / 305 c8 / 346 c16 / 415 c32, prefill 4482-6329 tok/s; 210 W -50 mV: 102.7/177.1, 227-378; 210 W prefill re-measured 17.11: 4640-5860. QFN 268.7 c1 to 1344.8 c32 aggregate, prefill 9419-9541 tok/s; 210 W 265-1284. Needs 512 GB host RAM (DS41 pins ~276 GiB, QFN ~166 GiB) + ppfeaturemask/ttm.pages_limit kernel args + host-tuning unit (else decode -15-18%). Recipe by mikoskinen (r9700-exact-serving).
Launch command
docker run -d --name deepseek --init --network host --device /dev/kfd --device /dev/dri --group-add '$(getent group render | cut -d: -f3)' --group-add '$(getent group video | cut -d: -f3)' --security-opt seccomp=unconfined --ulimit memlock=-1 --user '$(id -u):$(id -g)' -v '~/models/ds41-exl3:/models:ro' -v /dev/shm/ds41ng:/ngram -v '$PWD/run/deepseek:/cfg:ro' --env-file run/deepseek/deepseek.env ghcr.io/mikoskinen/r9700-exact-serving:deepseek-d3874235 --model /models/deepseek-v4.1-flash-1017-exl3-2.25bpw.rad --vision-tower-placement ram --served-model-name deepseek-v4.1-flash --host 127.0.0.1 --port 8090 --tp 4 --tp-wire exact --placement expert_tiered --host-pool-mib 19456 --ngram-placement ram=/ngram --max-num-seqs 32 --max-model-len 1048576 --max-num-batched-tokens 4160 --kv-cache-dtype bf16 --checkpoint-interval 2048 --num-speculative-tokens 5 --prefix-cache-mib 86016 --prefix-cache-ttl 28800 --checkpoint-slots 512 --checkpoint-policy keep-all --prefill-span 2 --prefill-interleave 8 --live --draft-window adaptive --draft-coupling on --gpu-headroom-mib 256 '# pre-step: mkdir -p /dev/shm/ds41ng (start writes the 103 GiB n-gram tables there, ready in ~5 min)' '# post-step: run/switches.sh run/deepseek/switches.json (79 runtime switches applied + verified)' '# QFN variant block: see config.runtime.notes (image qwen-4f74a8fa, qwen3.8-flash-next-exl3.rad, max-model-len 262144, kv-cache-dtype fp8, placement all_vram)' '# host setup: gpu02-host-tuning unit + 90-gpu02-numa.conf sysctl + amdgpu.ppfeaturemask=0xffffffff ttm.pages_limit=104857600 + run/power.sh 300|210'runtime
notes: 'QFN sibling block (README Run it @ 45f442ae, verbatim flags): docker run -d --name qwen --init --network host --device /dev/kfd --device /dev/dri --group-add render/video --security-opt seccomp=unconfined --ulimit memlock=-1 -v ~/models/flashnext-exl3:/models:ro --env-file run/qwen/qwen.env ghcr.io/mikoskinen/r9700-exact-serving:qwen-4f74a8fa --model /models/qwen3.8-flash-next-exl3.rad --served-model-name qwen3.8-flash-next --host 127.0.0.1 --port 8090 --tp 4 --tp-wire exact --tp-wire-min-kb 128 --max-num-seqs 32 --max-model-len 262144 --max-num-batched-tokens 8192 --prefill-span 4 --prefill-interleave 0 --prefix-resume nearest --placement all_vram --gpu-headroom-mib 108 --kv-cache-dtype fp8 --ngram-placement ram --prefix-cache-mib 61440 --prefix-cache-ttl 28800 --checkpoint-slots 512 --checkpoint-policy keep-all --num-speculative-tokens 3 --reasoning-effort medium --reasoning-effort-map high=xhigh --thinking-token-budget 16000 --default-max-tokens 32768; then run/switches.sh run/qwen/switches.json (13 runtime switches applied + verified). Ready in ~2 min. Both models use all four cards, one at a time; server samples by default - send temperature 0 for exact output. Power: sudo run/power.sh 300 (stock columns) or 210 (everyday). QFN Claude Code lane (README 2026-11-16 @ af02c1a2): same image line ghcr.io/mikoskinen/r9700-exact-serving:qwen-30903db6 with --env-file run/qwen/claude-code.env; per-concurrency/context commands 16/32 max-num-seqs × 262144/524288 ctx (yarn:2 rope at 512K, --kv-resident host-RAM variants).'
Use this recipe with your agent
Paste this into any agent chat — it fetches and applies the recipe:
Fetch https://localairecipes.com/api/v1/recipes/dsv4-1-flash-1017-qwen3-8-flash-next-exl3-4x-r9700-radiance-tp4.json and apply the inference recipe it describes (engine flags, model, quant, context) to my setup. Ask before overwriting any existing config.Or fetch it directly:
curl -fsSL https://localairecipes.com/api/v1/recipes/dsv4-1-flash-1017-qwen3-8-flash-next-exl3-4x-r9700-radiance-tp4.jsonInstall requirements
- Docker (or a compatible OCI container runtime)
- NVIDIA Container Toolkit (nvidia-container-toolkit) - exposes host GPUs to the container
NVIDIA driver floor: unknown - check the image tag
Source: NVIDIA CUDA Toolkit Release Notes - driver compatibility tables (https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/, fetched 2026-10-03).
Map the placeholders to your rig
- Hardware-bound values in this recipe (device counts, bind-mount paths, utilization, ports) describe the author's machine, not yours - map them to your own rig before launching. Keep the engine flags, model, quant, and parallelism strategy; adjust paths and ports to the hardware you actually have.
- GPU identity: list your GPUs with `nvidia-smi -L` and substitute your own GPU UUIDs/indices wherever the recipe pins the author's.
- Model directory: bind-mount paths are author-side - point them at your own mount where the model files live.
- Host port: pick a free port on your machine and publish the container there; keep the in-container port unchanged.
Downloads
- Weights https://huggingface.co/mikoskinen/DeepSeek-V4.1-Flash-1017-exl3-2.25bpw-radHF sha 57e019d8535f09f311ccc8f9b68c8c23549766be (verified live at ingest, MIT); .rad in 6 parts, 273.2 GB joined (~322 GB free while joining) + dspark sidecars; routed experts turboderp 2.25bpw branch, rest deepseek-ai official release
- Weights https://huggingface.co/Dyluhn/qwen3.8-flash-next-exl3HF sha 5e0ecc3755fe9d9b631b67c8389727c2995181e9 (verified live at ingest); qwen3.8-flash-next-exl3.rad 120.5 GB single file, sha256 187ae8186cc1f2ba8bce96565592af7fc6f6ec91c9ece6b4d352eaf0432ee26f per README check; EXL3 4.05bpw
- Engine image https://ghcr.io/mikoskinen/r9700-exact-servingqwen-4f74a8fa = sha256:25d00d1e8131fdefb6af64919e7f0d3942313c1c0adb2f95766840d6b133ef1b (ghcr manifest digest, registry-verified at ingest; exactly the image DETAILS states for the 15.11 Qwen results columns)
- Engine image https://ghcr.io/mikoskinen/r9700-exact-servingqwen-4f74a8fa = sha256:25d00d1e8131fdefb6af64919e7f0d3942313c1c0adb2f95766840d6b133ef1b (ghcr manifest digest, registry-verified at ingest; exactly the image DETAILS states for the 15.11 Qwen results columns)
- Reference https://github.com/mikoskinen/r9700-exact-servingc1492d6de6a3731ce9fe8ca06d3ea599f536d90d @ main (HEAD 2026-11-19) - README results matrix + Run it + Model weights @ 45f442ae5bf8038d5869bb072e042673f9eea5cc (results commit 4dbaabc5; merges 71d613a1/19862d6a/ce9e7a6d (deepseek/qwen/exl3 plugin), all 15.11.2026) + 17.11 deepseek delta c1492d6 (image deepseek-d3874235 + prefill switches + 210 W prefill re-measure)
- Reference https://github.com/Dyluhn/radiance-exl3c88ba2b4601ef93ad6fa30b338af9228bba91c4c @ main (HEAD 2026-11-16 ls-remote) - the EXL3 routed-expert plugin the images bundle (builds 4a67be32 / 6e9a897 from the fork's exl3/ branches)
- Reference https://github.com/mikoskinen/r9700-exact-serving/blob/main/docs/DETAILS.mdper-number sources [S1]-[S20]: method (TESTING.md), identity/soak results, registry of every accepted/rejected change (registry/), hardware-tuning-gpu02.md
Revision notes
r1 (2026-11-16): submitted from lar-scout ingest card t_7ed263ad (sweep 2026-11-16); source github.com/mikoskinen/r9700-exact-serving @ 45f442ae5bf8038d5869bb072e042673f9eea5cc (HEAD main, ls-remote + fresh clone at ingest). Engine lineage: C++/HIP fork of StillDeadcode/radiance 1.15.1 + PR #396, server version 1.17.0 per CMakeLists @ qwen/current; engine branches deepseek/current @ 71d613a1, qwen/current @ 19862d6a, exl3/current @ ce9e7a6d (builds of 15.11.2026). CARD CORRECTIONS: (1) QFN weights live at Dyluhn/qwen3.8-flash-next-exl3 (prebuilt 120.5 GB .rad, sha256 187ae818..26f) - the card's turboderp Qwen3.8-Flash-Next-exl3 4.05bpw branch is the quant SOURCE, not the served file; (2) slug_candidate 79 chars > 64 cut - title re-worded to 63-char slug; (3) the 11-15 Radiance 2.0.0 CLI-grammar break (qwen3-8-flash-next-fp8-iq4r r2) no effect here: the fork keeps 1.x flag-grammar serving at 1.17.0 and pins its own image state. DS41 results columns ran on image deepseek-5e86593e (id cbea3b0178df); README @ pin points at successor deepseek-5f60dee1 (adds --vision-tower-placement ram; KV 4,380,530 vs results-start 4,427,562) - launch transcribed from the @ pin block, kv_pool_tokens = the @ pin start's 4,380,530. Numbers are submitter-T0 (method + identity/soak evidence in performance notes and DETAILS.md [S1]-[S20]); context_len 1024/2048 aggregate rows are tuple markers; prefill rows carry real prompt lengths. QFN has no second model row (single-model schema) - its weights repo, launch and matrix live in artifacts + config.runtime.notes. HF verified live at ingest: mikoskinen -rad sha 57e019d8 (lastModified 2026-11-15T21:55Z), Dyluhn qfn sha 5e0ecc37. GHCR fetched at ingest: qwen-4f74a8fa = sha256:25d00d1e8131fdefb6af64919e7f0d3942313c1c0adb2f95766840d6b133ef1b (== DETAILS' stated results image), deepseek-5f60dee1 = sha256:9c1846fa4eacf0b1bbcd030fa9e25d1cb3b2d03fdc2557a03a6240abbb5cbac8. 2026-11-19 revision r2: repo pin bumped 45f442ae→af02c1a2 after re-validation (8 commits dated 2026-11-16 — Qwen-for-Claude-Code README section + per-concurrency commands, run/qwen/claude-code.env NEW, prose edits; launch argv unchanged pin→HEAD). The six-row Qwen-for-Claude-Code serving table (README @ af02c1a2) ingested verbatim as a distinct decode posture with KV/preemption/TTFT columns in point notes. HF sidecars 57e019d8 / 5e0ecc37 and GHCR digests qwen-4f74a8fa sha256:25d00d1e… / deepseek-5f60dee1 sha256:9c1846fa… re-verified live at write. Upstream moved past af02c1a2 on 2026-11-17 (deepseek-lane commit c1492d6 — separate delta, not this recipe). 2026-11-19 revision r3: deepseek-lane bump af02c1a2→c1492d6 (17.11). pinned_commit c1492d6de6a; image_digest switched qwen image sha256:25d00d1e… → deepseek-d3874235 sha256:278c3335… (registry-verified 2026-11-19; README Run it image @ c1492d6, built from d3874235 ∈ deepseek/current @ 081a7e44, server 1.17.0 unchanged). artifacts[3] deepseek pin → d3874235/digest, artifacts[4] reference → c1492d6 (HEAD 2026-11-19 ls-remote; deepseek/current 081a7e44, qwen/current 3a1d6b36, exl3/current ce9e7a6d). DS41 prefill points: 210 W -50 mV cells now the 17.11 re-measure (16k 4640/TTFT 3400, 64k 5799/11320, 128k 5808/22580, cold 5860/23400; 15.11 values kept in point notes), 300 W columns untouched; prefill switches (ds41_bi 6→7, ds41_shexp_lane 0→2, stage_pick 0→1, stage_short 0→1025; new sched_tail_inner, stage_lone). Launch argv unchanged except image tag → deepseek-d3874235. run/qwen/switches.json 14→41 2026-11-22 c89e403db4e1→1d07b122b9ed,qwen.env same,unadopted(reg-gated); sched_bi_chunk 6→5 sole OPEN HELD OUT,QW-L371-f needs-check(rows@6); ar_laneblocks*/ar_lanethreads* REJECTED QW-L89/L47/L382-a/L384-a,0-reg added keys old,moe_pair PARKED old; qwen-7d70dccc sha256:af91e2ae UNTESTED manifest-only never-pulled,hero runs radiance-local:qfn-ff94ef27 sha256:be5001de,HOLD qwen-4f74a8fa; perf 0-move,pin c1492d6de6a,radiance held;TP8 t_61ca8c4f. 26 submitter points resupplied, no carry loss.
Revision history
- ab68ce1019 recipe: sync 20 from preprod (wave 15 — 7 NEW: maya strix-halo x2, iq2xs strata 170hx, inkling-2-mini dspark, crucible strix-halo, wombat tep4 monitoring, hibana fast-vision; 13 revision bumps: morrowmake-9slg engine train + radiance train + hyperflare-20261116 + tandem v0.4.0 + theogravity diffbot + g4bwy rebase + asgard n6p + others — owner go 2026-11-19, sync 2026-11-21) 13 d ago diff
- 527dbfa912 recipe: sync 34 from preprod (wave 14 — 6 NEW: glm fp4-local hyperflare tp3, wtogami dspark-k7, dsv4+qwen r9700 radiance tp4, glm-3090 tiered-experts, qwen max-q lmcache + max-q eager; 28 revision bumps incl kraken .12.2 r21, Radiance 2.0.0, hotsplit seqs r2, dgx-spark r5 — owner go 2026-11-15/18) 16 d ago
Fork
Sign in to fork this recipe — a fork is your own copy; you own it and only you can update it.