Archived
- The VRAM split has no ratio: --expert-vs-cache-ratio is gone (now an unknown option). The experts keep what the pinned host pool cannot hold, the KV cache takes the rest and lends idle blocks to the experts. Flash-Next at tp2: 7.9 GiB of KV a card, up from 4.7. Startup, /stats, /metrics and the dashboard report the most the cache can hold. - Linear-state snapshots live in pinned host memory, not VRAM (--checkpoint-slots sizes the store). Prefix-cache misses on agent sessions fixed; a published conversation is no longer trimmed away. - Any world size from the shipped container (baKon): --tp 3 on Flash-Next with no padded checkpoint -- the attention world, uneven delta-net heads, the fill op. - Kernels (keptn42): moe_gemm_q decode loads and one-trip run search, hc_read's prefill form (+3.7% prefill at 18K), hc_up row groups up to eight, the fused router launch. Each is the rule where it was measured faster; no environment switches. - Tool calls: a typed argument is always JSON (Python True/None no longer leak into arguments -- Codeberg #21); nine further reply-parser fixes; the reply path inside a call is ~12x cheaper on the host. - The kernel changes: prefill +2-3% and decode -2% a step on 2x R9700 at tp2, identical text.
19 lines
991 B
YAML
19 lines
991 B
YAML
# Qwen3.8-Flash-Next, the production container (data/recipes/qwen4exp-w4nl64-i8-hc8m.recipe):
|
|
# int8 trunk and lm_head, routed experts as 4-bit codebook codes at E4M3 scales. The experts that
|
|
# do not fit VRAM are streamed from a pinned host pool; idle sessions move to host memory and then
|
|
# to disk under /data/kvcache/flashnext.
|
|
name: radiance-flashnext
|
|
services:
|
|
radiance:
|
|
extends: { file: common.yaml, service: radiance }
|
|
container_name: radiance-flashnext
|
|
command: >
|
|
--model /models/qwen3.8-next-flash-fp8-iq4r-moe.rad
|
|
--host :: --port ${PORT:-8000} --api-key ${RADIANCE_API_KEY:?set RADIANCE_API_KEY in .env}
|
|
--tp 2 --tp-wire wht6 --max-num-seqs 8 --max-model-len 200000
|
|
--placement expert_tiered --host-pool-mib 12288 --gpu-headroom-mib 96
|
|
--kv-cache-dtype fp8
|
|
--prefix-cache-host-mib 4096 --prefix-cache-dir /data/kvcache/flashnext
|
|
--prefix-cache-disk-mib 131072
|
|
--num-speculative-tokens 3 --max-num-batched-tokens 2048
|