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:
Deadcode committed 2026-10-16 18:25:18 +02:00
1 parent b068190326
commit 1e968f6e1d
739 files changed
+128447 -84632

No files matched your search

+8 -6
View File
@@ -1,19 +1,21 @@
#!/bin/sh
# MiniCPM5-2B decode under rocprofv3 kernel tracing. The BLOCKS column is what this is for:
# a 2B dense model at tp2 has tiny N per rank, so every decode GEMM is a candidate for grid
# collapse -- 2048/tile_n workgroups on a 64-CU card leave most of it idle.
# MiniCPM5-2B decode under rocprofv3 kernel tracing, mainly for the BLOCKS column: a 2B dense
# model at tp2 has small N per rank, so a decode GEMM may launch too few workgroups (2048/tile_n
# on a 64-CU card leaves most of it idle).
# N=<decode tokens> OUT=<trace dir> scripts/mctrace.sh
P=8102
M="${M:-$HOME/models/rad/minicpm5-2b-dspark.v2.rad}"
N="${N:-140}"
OUT="${OUT:-$HOME/traces/mc}"
cd "$HOME/workspace/radiance/build" || exit 1
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
BUILD="${BUILD:-$ROOT/build}"
cd "$BUILD" || exit 1
pkill -f "bin/radianc[e]"; while pgrep -f "bin/radianc[e]" >/dev/null; do sleep 1; done; sleep 2
rm -rf "$OUT"; mkdir -p "$OUT"
env GPU_MAX_ALLOC_PERCENT=100 GPU_MAX_HEAP_SIZE=100 $EXTRA_ENV \
"$HOME/workspace/radiance/libr4d/isa/trace.sh" "$OUT" -- \
"$ROOT/libr4d/isa/trace.sh" "$OUT" -- \
./bin/radiance --model "$M" \
--radiance-home "$HOME/workspace/radiance/build/radiance_home" \
--radiance-home radiance_home \
--max-num-seqs 8 --max-model-len 16384 --tp 2 \
--gpu-headroom-mib 160 --kv-cache-dtype fp8 --max-num-batched-tokens 512 \
$EXTRA --port $P > "$HOME/mctrace.log" 2>&1 &