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 -14
View File
@@ -1,19 +1,13 @@
// R4D attention at FOUR queries per KV head, head_dim 256 -- Qwen3.5-0.8B and its siblings that
// keep the 27B's head width with fewer heads (8 query heads over 2 KV heads).
// R4D attention at four queries per KV head, head_dim 256: Qwen3.5-0.8B and siblings (8 query heads
// over 2 KV heads). Geometry only; r4d_attn_paged_gqa8.hip is the body. The ratio changes two
// bounds, both stated in the row table:
//
// The geometry and the dispatch only, as r4d_attn_paged_h256_gqa12.hip is: r4d_attn_paged_gqa8.hip
// is the parameterised body and its kernels are templates on `gqa`. What the ratio changes is the
// two bounds, and both are in the ROW table rather than here:
// decode verify width 64 / gqa = 16.
// prefill block width 384 / gqa = 96 query positions.
//
// the decode verify width 64 / gqa = 16, against 8 at gqa 8 and 10 at gqa 6. A workgroup holds
// 64 (query, head) rows and carries q_len * gqa of them.
// a prefill block's width 384 / gqa = 96 query positions, against 48 at gqa 8.
//
// NO head_dim 128 LEG. gqa 4 at 128 is the DFlash2 drafter's windowed geometry, which
// r4d_attn_paged_h128_gqa4.hip serves; R4D_ATTN_H128 leaves those entry points out of this unit.
// A head_dim 64 PREFILL leg, for LFM2 (32 query heads over 8, d1-3B among them), which serves
// every query length: the split-KV decode kernel has no 64-wide form.
// The page is the body's default 16.
// No head_dim 128 leg: gqa 4 at 128 is the DFlash2 drafter's windowed geometry, served by
// r4d_attn_paged_h128_gqa4.hip. A head_dim 64 prefill leg serves LFM2 (32 query heads over 8) at
// every query length, since the split-KV decode kernel has no 64-wide form. Page size 16.
#define R4D_ATTN_GQA 4
#define R4D_ATTN_H128 0
#define R4D_ATTN_H64 1