localairecipes launch configs for local inference

Qwen3.8-Flash-Next FP8-IQ4R 4x Radeon AI PRO R9700 — Radiance TP4

00 upvotes — sign in to vote sign in to vote

community Community submission — verify on your own hardware.

recipe by recipe by /u/Anarchaotic (r/LocalLLaMA)↗, StillDeadcode (Radiance engine + fp8-iq4r MoE checkpoint)↗ · listed by localai-recipes

revision r3 · commit 898c92b06c · updated 44 h ago · license CC-BY-4.0

chat code rdna4 amd radiance prefix-caching concurrent-sessions community-recipe moe mtp-speculative gfx1201 long-context tensor-parallel expert-offload tp4

Qwen3.8-Flash-Next MoE (IQR-V4: int8 trunk, 4-bit codebook experts, MTP drafting 3 tokens) served by native Radiance v2.0.0 from the digest-pinned stilldeadcode/radiance:2.0.0 image on four Radeon AI PRO R9700 cards at TP4, every card power-limited to 210 W. expert_tiered placement keeps all weights in VRAM with the n-gram/PLE table pinned in host RAM (host-pool-mib 49152) and int8 KV. Radiance 2.0.0 replaced the r1 fp8-iq4r container (discontinued upstream, refused at startup) with qwen3.8-next-flash-iqr-v4.rad and moved serving from flags to a YAML config (radiance --config radiance.yaml). Perf figures below are the r1 fp8-iq4r 1.17.0 submitter numbers carried verbatim - decode and prefill were reworked in 2.0.0 and no re-measure exists yet. Community-reddit recipe by /u/Anarchaotic (r/LocalLLaMA).

Launch command

rad-yaml --model /models/qwen3.8-next-flash-iqr-v4.rad --tp 4 '# bootstrap per README @ v2.0.0 (ddcb9c69): rad-yaml emits radiance.yaml; serving is '\''radiance --config radiance.yaml'\''' radiance --config radiance.yaml '# radiance.yaml emitted by rad-yaml, keys per the author'\''s four-rank Flash-Next row (README L229 @ ddcb9c69): tp: 4, max-num-seqs: 8, max-model-len: 200000, placement: expert_tiered, host-pool-mib: 49152, kv-cache-dtype: i8, num-speculative-tokens: 3, max-num-batched-tokens: 2048' '# memory: gpu-headroom-mib: 96 (gpu-headroom-mib lives under memory:, not the model entry)' '# prefix-cache-mib omitted: the Flash-Next rows leave it out on 2.x; fp8 KV containers are refused at startup on 2.0.0 (hence i8 KV)'

runtime

notes: "argv rewritten for Radiance 2.0.0 YAML-config serving per README @ ddcb9c69: the 1.x flag-grammar form is refused at startup; rad-yaml emits radiance.yaml (server:/memory:/models: keys) and radiance --config radiance.yaml serves. Serve keys are the author's four-rank Flash-Next row verbatim (README L229): tp 4, max-num-seqs 8, max-model-len 200000, placement expert_tiered, host-pool-mib 49152, gpu-headroom-mib 96 (under memory:), kv-cache-dtype i8, num-speculative-tokens 3, max-num-batched-tokens 2048. r1's --prefix-cache-mib 32768 is dropped: the Flash-Next rows leave out prefix-cache-mib on 2.x. kv_pool_tokens 1600000 and max_context_len 200000 unchanged (max-model-len still 200000; KV pool is a site-side derived estimate, not an engine key)."

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/qwen3-8-flash-next-fp8-iq4r-4x-radeon-ai-pro-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/qwen3-8-flash-next-fp8-iq4r-4x-radeon-ai-pro-r9700-radiance-tp4.json

Engine

Install note: Serving runs the digest-pinned docker.io/stilldeadcode/radiance:2.1.0 image (amd64 child sha256:d3d6c796...; gfx1201-only; digest verified via registry manifest fetch at revision time 2026-11-19). Radiance 2.0.0 broke the 1.x serve form: flag-grammar serving (radiance --model X.rad --tp 4 ...) is REFUSED at startup and FP8 containers are refused; serving is 'rad-yaml --model X.rad --tp 4 > radiance.yaml' then 'radiance --config radiance.yaml' (server:/memory:/models: keys; per-model keys under the model entry, gpu-headroom-mib under memory:). Needs /dev/kfd + /dev/dri - ROCm 10.1 userspace, inbox amdgpu driver on Ubuntu 26.04.1. Model container qwen3.8-next-flash-iqr-v4.rad fetched from HF at setup.

Model

Context

  • max context: 200,000 tokens

KV pool

  • 1,600,000 tokens across concurrent requests

Performance

Speed by context

ContextConc.PrefillDecodeTTFT
1,0241—195 tok/s—reported
2,0481—175 tok/s—reported
3,0722—290 tok/s—reported
4,0964—489 tok/s—reported
5,1208—763 tok/s—reported
10,240—6800 tok/s——reported
131,0728——150800 msreported

prefill = prompt processing · decode = generation. All decode/prefill figures are shown as reported.

reported

notesAll figures submitter-T0, client-side timing, worst-case burst on real technical text, from /u/Anarchaotic's initial-benchmarks post (author stated the run was still in progress at posting). context_len on points marked 'marker' is a tuple marker — the post states the battery shape but not the exact prompt length. Ranges not point-encoded: 32K/64K/128K x 1/2/4/8-user table, 80-225 tok/s per user, TTFT 0.2-2.5 s, turn-2 cache hits 94-99%.

Install requirements

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

Downloads

Revision notes

r1 (2026-11-09): submitted from lar-scout ingest card t_75cd717d; community-reddit source /u/Anarchaotic's 'Joined the 4x R9700 Club | Initial Benchmarks for QFN 3.8' (2026-11-08T23:36Z); 10 launch flags verified against core/config.cpp @ 19d4e8fe; rig EPYC 7402P, ROMED8-2T, 128 GB DDR4-2666, 3x Gigabyte + 1x XFX R9700; Reddit hard-403 at ingest so measured tables transcribed per digest t_858ca5bf, author-stated as initial benchmarks still running. r2 (2026-11-15, lar-scout revision card t_e25544f8, owner GO "add and update them all"): upstream released Radiance 2.0.0 (codeberg tag v2.0.0 peels to ddcb9c69, verified in a fresh bare clone at revision time; docker 2.0.0 == latest, amd64 sha256:9ec1b8bf...; pushed 2026-11-14T21:34Z). The release removed the fp8-iq4r quant: qwen3.8-next-flash-fp8-iq4r-moe.rad is gone from the 2.0.0 README model table, FP8/MXFP4 containers are refused at startup, and flag-grammar serving is refused ("prints the same settings as YAML"). Revision moves the build to IQR-V4: model qwen3.8-next-flash-iqr-v4.rad (HF StillDeadcode/qwen3.8-next-flash-iqr-v4 @ 679c9432, 113 GiB, verified live at revision time), engine pin ddcb9c69, image sha256:9ec1b8bf (amd64 child), launch rewritten to the README four-rank Flash-Next YAML row verbatim (host-pool-mib 49152, kv-cache-dtype i8, num-speculative-tokens 3, max-num-batched-tokens 2048; gpu-headroom-mib under memory:; prefix-cache-mib omitted - the Flash-Next rows leave it out on 2.x). PERF ROWS ARE r1 CARRIED UNCHANGED: submitter-T0 fp8-iq4r/1.17.0 initial benchmarks; 2.0.0 reworked decode and prefill and no re-measure of this build exists yet (IQR-V4 whitepaper covers only the 27B) - treat every number as 1.17.0-era until a re-measure lands. model.quant fp8-iq4r -> iqr-v4 mirrors the new container (PATCH grammar has no /model/quant path, so the quant mirror rode this revise script). Stale tag fp8-kv dropped (r1 tag set still names the old KV dtype; no i8-kv vocabulary row exists to attach). Slug name retained by owner decision: it still names the family (qwen3-8-flash-next, 4x r9700, radiance tp4) even though the quant token is historical; title kept byte-identical because model.name is not PATCHable and a desynced title/model pair would be worse. r3 (2026-11-19, lar-scout revision card t_3882eb84, owner GO "radiance engine-wide bump"): engine pin ddcb9c69 (v2.0.0) -> 2a2b756371 (tag v2.1.0) and image 9ec1b8bf (amd64 child of 2.0.0 index 5ee52dc1) -> d3d6c796 (amd64 child of 2.1.0 index c9affc48 == latest, pushed 2026-11-15T16:25Z); pin and digests verified at write time (pin ancestor-of-HEAD rc=0 in a fresh blob:none clone; registry manifest fetch). v2.1.0 is ONE commit past v2.0.0: release fixes draft trees with the int8 KV cache (#454) - this build serves kv-cache-dtype i8 with num-speculative-tokens 3 - and adds the Flint / Muse Glimmer / Ling-3.0-tiny lanes, the diagnose tool, mixed-step-target-ms (off by default) and scheduler.stuck-exit (60s default; neither changes the documented launch), plugin ABI 40. README four-rank Flash-Next serve row byte-identical tag-to-tag - transcribed launch stands. The 39+ in-window spec/verify (--draft-suffix/--draft-depth/--draft-verify) + qwen4exp U4-W6NL + lfm3/ling/muse commits sit at HEAD 3deabdae UNRELEASED (108 commits past v2.1.0, no v2.2.0 tag or image at write time) and refile at the next release tag. PERF ROWS STILL r1-carried 1.17.0-era initial benchmarks - the release notes state nothing was benchmarked and no re-measure of this build exists.

Revision history

Fork

Sign in to fork this recipe — a fork is your own copy; you own it and only you can update it.

Export

recipe.yaml (raw)