radiance 1.0.13

- Faster prefill on models with an MTP head (Qwen3.8-Flash-Next, Qwen3.6-35B-A3B). Every prefill
  chunk but a prompt's last runs the head only to leave its K and V behind, and the head no
  longer runs its expert layer and lm_head for nothing on those chunks. Flash-Next on two R9700:
  +1.4% at 8K tokens, +3.2% at 26K, +5.9% at 78K; text and decode unchanged. From Code000's
  opt33.
- A request log at the info level: one line when a request is admitted (endpoint, peer, message
  and tool counts, prompt tokens, max_tokens), one when it ends (finish reason, cached prompt,
  generated and reasoning tokens, time to first token, decode rate), and every refusal with its
  status and peer -- a wrong API key included. No prompt text at info. (baKon)
- deploy/grafana: a dashboard for /metrics on Prometheus or VictoriaMetrics. (keptn42)
- Three-rank tensor parallelism for Qwen3.8-Flash-Next: the all-reduce and all-gather at three
  ranks, the vocabulary split by 128-row blocks where the world does not divide it, and
  tools/pad_tp.py to pad the checkpoint's head counts to a world of three -- docs/TP3.md.
  (baKon)
This commit is contained in:
Deadcode committed 2026-10-05 20:50:29 +02:00
1 parent 6b394ccca6
commit d0f639bd06
16 files changed
+121 -62

No files matched your search

+3 -2
View File
@@ -742,8 +742,9 @@ libr4d serves these at **2, 3, 4 and 8 ranks**. Two ranks have their own kernels
block, the rotated 6-bit wire, the fused norm-and-reduce forms). The wide family is one template on
the world size; 4 and 8 have both hops, 3 has the one-shot only -- the two-shot shards the message
`world` ways and a residual width such as 2560 does not divide by 3 -- and `all_gather` at width
rides the same instance as the wide `all_reduce` (`ar_gather_3rank`, `_4rank`, `_8rank`). The fused forms are declared
only at two ranks by the arch blocks, which fall back to the plain pair at any other width.
rides the same instance as the wide `all_reduce` (`ar_gather_3rank`, `_4rank`, `_8rank`). The
fused forms are declared only at two ranks by the arch blocks, which fall back to the plain pair at
any other width.
`min_bytes` is the byte floor under which a LOSSY row must serve the message exactly anyway, and it
is a parameter rather than a constant in the library because it is a property of the link and not