DSV4.1-Flash-1017 EXL3 2.25bpw 8x R9700 — Radiance TP8, two machines
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, TP8 two-machine section)↗, StillDeadcode (Radiance engine, codeberg base 1.15.1 + PR #396, server 1.17.0 lineage)↗, Dyluhn (radiance-exl3 EXL3 routed-expert plugin; turboderp 2.25bpw experts base)↗ · listed by localai-recipes
revision r3 · commit 84382c717c · updated 45 h ago · license CC-BY-4.0 (repo docs+results); Apache-2.0 (scripts+engine forks)
chat code rdna4 amd pipeline-parallel radiance prefix-caching tp8 concurrent-sessions community-recipe moe mtp-speculative gfx1201 long-context tensor-parallel exl3 expert-offload tp4
mikoskinen/r9700-exact-serving TP8 lane: DeepSeek-V4.1-Flash-1017 EXL3 2.25bpw served by the StillDeadcode/radiance fork (server version 1.17.0 lineage, image deepseek-tp8-9061bc79) across two machines with leader/follower env partitioning and an 8-bit twin sidecar; 300 W measured one-machine and two-machine tables in README + results/betterbench. Distinct topology from the live 4x R9700 TP4 slug.
Launch command
docker run -d --name deepseek-fol --init --network host --device /dev/kfd --device /dev/dri --device /dev/infiniband --group-add '$(getent group render | cut -d: -f3)' --group-add '$(getent group video | cut -d: -f3)' --security-opt seccomp=unconfined --ulimit memlock=-1:-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-tp8/deepseek.env -e ROCR_VISIBLE_DEVICES=0,1,2,3 --env-file run/deepseek-tp8/follower.env ghcr.io/mikoskinen/r9700-exact-serving:deepseek-tp8-9061bc79 --model /models/deepseek-v4.1-flash-1017-exl3-2.25bpw.rad --mm-max-patches 0 --served-model-name deepseek-v4.1-flash --tp 4 --tp-wire exact --placement expert_tiered --host-pool-mib 0 --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 --pp-lanes 4 --host 127.0.0.1 --port 8091 --pp-nodes 2 --pp-cut 10,32 --pp-peer '$LEADER_IP:29517' --node-link verbs --pp-rank 1 '&&' docker run -d --name deepseek --init --network host --device /dev/kfd --device /dev/dri --device /dev/infiniband --group-add '$(getent group render | cut -d: -f3)' --group-add '$(getent group video | cut -d: -f3)' --security-opt seccomp=unconfined --ulimit memlock=-1:-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-tp8/deepseek.env -e ROCR_VISIBLE_DEVICES=0,1,2,3 --env-file run/deepseek-tp8/leader.env ghcr.io/mikoskinen/r9700-exact-serving:deepseek-tp8-9061bc79 --model /models/deepseek-v4.1-flash-1017-exl3-2.25bpw.rad --mm-max-patches 0 --served-model-name deepseek-v4.1-flash --tp 4 --tp-wire exact --placement expert_tiered --host-pool-mib 0 --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 --pp-lanes 4 --host 127.0.0.1 --port 8090 --pp-nodes 2 --pp-cut 10,32 --pp-peer '$FOLLOWER_IP:29517' --node-link verbs --pp-rank 0 --draft-short-from 12 '# pre-step: MODEL_DIR=~/models/ds41-exl3 run/deepseek-tp8/mk-twin-sidecar.sh once per machine (7.5 GB sidecar, 12 GB free, 5-7 min CPU-only); LEADER_IP/FOLLOWER_IP = addresses on the 200 Gbit/s RDMA link; follower starts first, pair ready in ~4 min; API on leader :8090' '# post-step: run/switches.sh run/deepseek-tp8/switches.json (leader passes switches to follower)' '# one-machine variant: OLD image ghcr.io/mikoskinen/r9700-exact-serving:deepseek-tp8-0735a8e2 + run/deepseek-tp8/one-machine.env + one-machine-switches.json, --placement expert_tiered --host-pool-mib 19456 --gpu-headroom-mib 1024 (NOT 256), --host 127.0.0.1 --port 8090 --draft-short-from 12, no --pp-* flags, KV 2,247,140 tok; 1req/c24/c32/prefill cells + BetterBench ran with draft_occ 13 draft_dcap_n 8 sched_tail_grid 512 draft_cost_age 0 draft_head_cut 0 and without --draft-short-from 12, RADIANCE_DS41_DSPARK_SHORT=2, RADIANCE_DRAFT_HEAD_CUT=1' '# host setup: amdgpu.ppfeaturemask=0xffffffff ttm.pages_limit=104857600 + gpu02-host-tuning + 90-gpu02-numa.conf + run/power.sh 300 (stock table; 210 W table = -50 mV offset, run/power.sh 210)'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-exl3-2-25bpw-8x-r9700-radiance-tp8-two-machine.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-exl3-2-25bpw-8x-r9700-radiance-tp8-two-machine.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 2026-11-22); 273.2 GB in 6 parts joined to deepseek-v4.1-flash-1017-exl3-2.25bpw.rad + dspark-dlw-q8_0.rad sidecar, SHA256SUMS checked; experts = turboderp 2.25bpw branch
- Engine image https://ghcr.io/mikoskinen/r9700-exact-serving@sha256:6469c81a4fff3018358a7b95e5fc0e8a34399d4db3033db9cfcc8f29127e8665deepseek-tp8-9061bc79 = sha256:6469c81a4fff (OCI index, resolved from registry 2026-11-27; amd64 child 33351185a51f); RADIANCE_IMAGE_ID in leader/follower.env carries the same 12-hex prefix. Built from deepseek/ds41-pp-dev-pf with exl3/ds41-swk compiled -DEXL3R4D_X6_SGB=1 -DEXL3R4D_X5_SUM=3 -DEXL3R4D_SWK_DMOVE=2 -DEXL3R4D_X6_PRE=2 -DEXL3R4D_X15_INSUM=1 -DEXL3R4D_X17_PIN=1 -DEXL3R4D_X17_FORM=1 (HIP) and -DEXL3R4D_DK_MAX=64 (C). One-machine lane keeps the previous image deepseek-tp8-0735a8e2 = sha256:8c643a4b92a2 (amd64 child 08e18ab150cc) - the author re-measured only the two-machine lane; readers on one machine stay on the old image.
- Reference git+https://github.com/mikoskinen/r9700-exact-serving603ddc20d4b88d1f673715c2f49008ca998b1c9c @ main (HEAD, ls-remote 2026-11-27) - README TP8 two-machine section + run/deepseek-tp8/{deepseek,leader,follower,one-machine}.env + switches + p30-i8-all.recipe + mk-twin-sidecar.sh + results/betterbench json
- Reference https://github.com/mikoskinen/r9700-exact-serving/blob/c89e403db4e127099125355a109ddeb39428b6a7/docs/TESTING.mdmeasurement method (per-number sources in docs/DETAILS.md): mb.py closed-loop decode batteries, cold-prompt prefill, BetterBench 0.6.1 defaults
Revision notes
Submitted from lar-scout ingest card t_efc15c16 (sweep 2026-11-22, candidate R5) by localai-recipes; recipe by mikoskinen. Pins verified live 2026-11-22: repo HEAD c89e403db4e127099125355a109ddeb39428b6a7 (ls-remote == card pin; TP8 section + launch files read at HEAD), HF mikoskinen/DeepSeek-V4.1-Flash-1017-exl3-2.25bpw-rad @ 57e019d8535f09f311ccc8f9b68c8c23549766be (not gated), GHCR index sha256:8c643a4b92a2314d5fa53e0ed03fc1bdd163adbc515477b8617791082fb26dc6 (matches RADIANCE_IMAGE_ID 8c643a4b92a2 in leader/follower/one-machine.env). Boundary note: introducing commit 2026-11-20T13:27Z is 26 min before the 11-22 sweep window; engine pin c1492d6de6 (11-19 revision) unchanged at this HEAD. Card corrections: repo license is Apache-2.0 (scripts) + CC-BY-4.0 (docs/results), not MIT; env files carry no explicit LEADER_IP/FOLLOWER_IP defaults (RDMA addresses are host-specific); two-machine KV 4,331,192 tokens vs one-machine 2,247,140. Model row deepseek-v4-1-flash-1017-exl3-2-25bpw-rad pre-existed from the TP4 sibling (t_7ed263ad) - recipe ATTACHES to it; twin models[0].hf_repo shows the family row's repo by design, the quant repo + revision live here and in artifacts.
[2026-11-27 lar-scout revision t_61ca8c4f (owner GO 2026-11-27)] Engine pin c89e403db4e1 -> 603ddc20d4b8 (3 linear commits, not the 89 the card body claimed); image tag deepseek-tp8-0735a8e2 -> deepseek-tp8-9061bc79 (GHCR index sha256:6469c81a4fff3018358a7b95e5fc0e8a34399d4db3033db9cfcc8f29127e8665, amd64 child 33351185a51f8dad221263a3ba520c54c74f7fb7dc5361a2fb73e66544732bc6, resolved at the registry 2026-11-27). Run-file delta transcribed from 603ddc2: leader.env+follower.env gained RADIANCE_DS41_CAND_SPLIT=1, RADIANCE_DS41_Q6IL=1, RADIANCE_DS41_Q8IL=1, RADIANCE_DS41_Q5IL=1, RADIANCE_DS41_DSPARK_RF=1, RADIANCE_AQL_HDP_FLUSH=1, RADIANCE_SCHED_PREEMPT_REPLAY=1 (both) plus leader-only RADIANCE_PP_SEND_ASH=2048, RADIANCE_SCHED_PUB_PROMPT=2, RADIANCE_SCHED_PUB_HOLD_MS=3000, RADIANCE_SCHED_LANE_ROOM=1; both moved RADIANCE_DS41_DSPARK_MHR 4->5, RADIANCE_DS41_SPHC_ATTN 2->3, extended RADIANCE_PP_ALLOW_DIFF, and set RADIANCE_IMAGE_ID=6469c81a4fff. switches.json 79->87 keys (added dspark_mhr 5, pp_rband 0, aql_hdp 1, ds41_sphc_attn 3, ds41_csplit 1, pp_send_ash 1, sched_lane_room 1, exl3_x6w 4; changed exl3_x3d 2->5, ds41_wmk 14->19, ds41_f32dec 1->12, ds41_tsk 2->3). Card-body correction on record: RADIANCE_PP_POST_PHASES / RADIANCE_PP_DRAFT_SHIP live on the ds41-pp-dev side branch and are NOT ancestors of either pin - deliberately NOT transcribed here. One-machine lane: one-machine.env at 603ddc2 still carries RADIANCE_IMAGE_ID=8c643a4b92a2 and the README one-machine command still tags deepseek-tp8-0735a8e2 - the author re-measured only the two-machine lane; a one-machine reader must NOT move to the new image. Perf: the served 16 submitter points are the stock-300 W columns, byte-identical README rows pin..HEAD, so /performance is untouched. The re-measured 210 W two-machine table (111.6/443.6/554.2/750.8/852.8/914.2 decode, prefill 12,326/15,594/16,130) was NEVER ingested (root-DB ingest t_efc15c16 scoped to the 300 W tables + BetterBench); the perf-notes claim that 210 W/BetterBench cells live in config.runtime.notes was false at ingest (config.runtime is empty) - recorded as a known ingest-scope gap, numbers NOT imported here.
Revision history
- ecccd1eb8e recipe: sync 6 from preprod (wave 16 — 5 NEW: hyperflare-tp3-20261121 3x6000, gb300 pp2 runtime-ablit, 8x-r9700 tp8 two-machine, inkling-2-mini 3090 ampere-port, kimi-k3-1-pro 16x6000 tp16; 1 REV: crucible strix-halo engine v0.38.0 re-pin + author re-measured ttft cells — owner go 2026-11-21) 13 d ago
Fork
Sign in to fork this recipe — a fork is your own copy; you own it and only you can update it.