Archived
radiance 1.7.0
- every model serves without a GPU: libavx covers every op, so `--kernels libavx` alone serves every shipped container - Qwen3-ASR (zivius): speech to text on /v1/audio/transcriptions and live over /v1/realtime - /v1/messages works with Claude Code as it ships (gearwave00001) - a long agent conversation keeps its cached history when the client rewrites its last turn (manueloverride) - a stream's first event goes out with the first token, so llama-benchy measures prefill right - opt-in --prefill-interleave (Smellyyyy, baKon) and --prefill-span (keptn42) - four-rank TP releases the link early; four-rank selftests and docs/TP4.md (goodman-b) - NVFP4 and FP8 compressed-tensors imports (devmilan); tools/rad-export for finetunes and LoRA adapters (baKon) - many fixes, among them lost tokens on stop strings under concurrency, keep-alive, MiniCPM5 tool arguments and the CPU's vision and audio encoders - plugin ABI 17 and changed op schemas: out-of-tree plugins must be rebuilt
This commit is contained in:
1 parent
b068190326
commit
1e968f6e1d
739 files changed
+128447
-84632
No files matched your search
@@ -1,5 +1,5 @@
|
||||
# The service every model file in this directory extends. It holds what any radiance container
|
||||
# needs on an AMD host; a model file adds only its container and its flags.
|
||||
# The service every model file in this directory extends: what any radiance container needs on an
|
||||
# AMD host. A model file adds only its container and its flags.
|
||||
#
|
||||
# Each model takes both cards (--tp 2; a -tp1 file one) and the same port, so run one at a time:
|
||||
# docker compose -f flashnext.yaml up -d start (it comes back after a reboot)
|
||||
@@ -15,7 +15,7 @@ services:
|
||||
# Host networking: the server binds the host's own addresses, IPv4 and IPv6, with no NAT
|
||||
# between it and a reverse proxy.
|
||||
network_mode: host
|
||||
# The host user, so the prefix cache's files on disk belong to that user and not to root.
|
||||
# Run as the host user so files the server writes belong to that user, not root.
|
||||
user: "${RADIANCE_UID:-1000}:${RADIANCE_GID:-1000}"
|
||||
devices:
|
||||
- /dev/kfd
|
||||
@@ -23,9 +23,9 @@ services:
|
||||
group_add:
|
||||
- "${RENDER_GID:?set RENDER_GID in .env}"
|
||||
- "${VIDEO_GID:?set VIDEO_GID in .env}"
|
||||
# Docker's default seccomp profile refuses io_uring, which the n-gram table's reads from the
|
||||
# container go through, and the NUMA binding calls (mbind, set_mempolicy) the ROCm runtime
|
||||
# makes for host memory.
|
||||
# Docker's default seccomp profile refuses io_uring (used for the n-gram table's reads from the
|
||||
# model file) and the NUMA binding calls (mbind, set_mempolicy) the ROCm runtime makes for
|
||||
# host memory.
|
||||
security_opt:
|
||||
- seccomp=unconfined
|
||||
ulimits:
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
# 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
|
||||
# A prefill step copies every pooled expert across the link once, so one-card prefill is
|
||||
# link-bound; a 4096-token step amortises that copy over twice the tokens of a 2048-token one
|
||||
# (26K-token prompts: 2545 vs 1413 tok/s). The checkpoint interval matches the step because 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
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
# assistant head merged in as the MTP drafter (depth 3), and the vision tower. Sampling defaults are
|
||||
# the checkpoint's generation_config; thinking is switched per request (chat_template_kwargs).
|
||||
# For the full 262,144-token context use --max-model-len 262144 --max-num-seqs 2.
|
||||
# Prefill runs in 2048-token chunks: measured at TP2 on two R9700s, 1% faster than the 8192-token
|
||||
# default and no step long enough to hold a running decode for seconds.
|
||||
# Prefill runs in 2048-token chunks: at TP2 on two R9700s this is 1% faster than the 8192-token
|
||||
# default, and no step holds a running decode for seconds.
|
||||
name: radiance-gemma4-31b-w4a8
|
||||
services:
|
||||
radiance:
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Qwen-Image 2.1 (Qwen/Qwen-Image-2.1) as block fp8: pictures from a prompt and edits of up to ten
|
||||
# pictures on OpenAI's /v1/images/generations and /v1/images/edits, 2048x2048 by default. Two
|
||||
# cards: the conditioning cache then holds all ten reference pictures, where one card holds four.
|
||||
# 2.1-Turbo is qwen-image-2.1-turbo.yaml; the bf16 container needs both cards. The engine sizes
|
||||
# the step, the batch and the context for an image generator itself (docs/GUIDE.md §5.6). --tp-wire
|
||||
# wht6 sends the DiT's all-reduces as 6-bit: about 10% off every picture for a few tenths of a dB
|
||||
# cards: the conditioning cache holds all ten reference pictures (one card holds four). 2.1-Turbo
|
||||
# is qwen-image-2.1-turbo.yaml; the bf16 container needs both cards. The engine sizes the step,
|
||||
# batch and context for an image generator itself (docs/GUIDE.md §5.6). --tp-wire wht6 sends the
|
||||
# DiT's all-reduces as 6-bit: about 10% faster per picture at a cost of a few tenths of a dB
|
||||
# against diffusers; drop it for the exact wire.
|
||||
name: radiance-qwen-image
|
||||
services:
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
# Qwen3-ASR 1.7B (Qwen/Qwen3-ASR-1.7B-hf) served from its checkpoint as it ships, no conversion:
|
||||
# speech to text on OpenAI's /v1/audio/transcriptions and live over /v1/realtime, 30 languages.
|
||||
# The model is small and runs on one card, RADIANCE_GPU in .env (default 0). Each live session holds
|
||||
# one sequence, so --max-num-seqs is the most sessions served at once.
|
||||
name: radiance-qwen3-asr
|
||||
services:
|
||||
radiance:
|
||||
extends: { file: common.yaml, service: radiance }
|
||||
container_name: radiance-qwen3-asr
|
||||
environment:
|
||||
ROCR_VISIBLE_DEVICES: "${RADIANCE_GPU:-0}"
|
||||
command: >
|
||||
--model /models/Qwen3-ASR-1.7B-hf
|
||||
--host :: --port ${PORT:-8000} --api-key ${RADIANCE_API_KEY:?set RADIANCE_API_KEY in .env}
|
||||
--tp 1 --max-num-seqs 16
|
||||
Reference in new issue
Block a user