This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
radiance-sycl/deploy/compose/flashnext-tp1.yaml
T
Deadcode dc339b4cd2 radiance 1.4.0
- Qwen3.8-Flash-Next on one card: the heat engine moves 64 experts a step (was 8), its copies and
  the prefill's expert staging run on the card's DMA engines instead of as copy kernels, and at
  decode the next layer's likeliest experts are copied onto the card ahead of its GEMMs. Against
  1.3.0 at --tp 1: prefill +17-20% from 8K tokens up, throughput under load +16-20%
- deploy/compose/flashnext-tp1.yaml: Qwen3.8-Flash-Next on one card and 64 GB of host RAM
  (4096-token prefill steps, 4 sequences, a 301K-token cache)
- #61: --busy-prefill-chunk (default auto): a long prefill leaves the rest of the step to the
  requests decoding beside it and to new arrivals, instead of taking all of it (baKon)
- LiquidAI's LFM2 and LFM2-VL, and d1's /v1/systemone (after zivius's PR #50)
- a startup report: every option with its value and where it came from, the hardware, and what
  on it costs speed with the fix; /diagnostics serves it (behind the API key; without one, only
  to the same machine)
- #69: a GPU memory fault names the buffer and kernel argument behind it and ends the server at
  once (exit status 70), instead of hanging or writing a core of tens of gigabytes
- #64: a card without Resizable BAR is refused at startup, naming what to turn on, instead of
  crashing at the first launch
- the image is built with ROCm 10.1 (the host's amdgpu driver must support it), with ROCm's
  libLLVM rebuilt so the same source compiles to the same kernels every time; a source build
  takes ROCm 10.1 or 7.2
- #71: the image ships curl, jq and a CA bundle, so --model <HF repo id> works in the container,
  and hfget.sh runs under its busybox (baKon)
- --profile-ops shows how long each op's lane sat idle before it; cardclock.py skips an
  integrated GPU instead of stopping
2026-10-12 11:46:14 +02:00

25 lines
1.4 KiB
YAML

# Qwen3.8-Flash-Next on one card: the production container of flashnext.yaml at --tp 1. The routed
# experts that do not fit the card sit in a 42 GiB pinned host pool, so the process pins about
# 49 GiB of host memory and wants a host with 64 GB of RAM; the n-gram table is read from the
# model file on the drive.
#
# A prefill step copies every pooled expert across the link once, so on one card prefill is bound
# by the link, and a 4096-token step pays that once for twice the tokens of a 2048-token one: 26K
# prompts prefill at 2545 tok/s against 1413. The checkpoint interval matches the step, since a
# prefill chunk never crosses a checkpoint. At 4 sequences the cache holds 301K tokens, one and a
# half 200K-token sessions.
name: radiance-flashnext-tp1
services:
radiance:
extends: { file: common.yaml, service: radiance }
container_name: radiance-flashnext-tp1
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 1 --max-num-seqs 4 --max-model-len 200000
--placement expert_tiered --host-pool-mib 43000 --gpu-headroom-mib 96
--kv-cache-dtype fp8
--prefix-cache-host-mib 4096 --prefix-cache-dir /data/kvcache/flashnext-tp1
--prefix-cache-disk-mib 131072
--num-speculative-tokens 3 --max-num-batched-tokens 4096 --checkpoint-interval 4096