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

+1 -1
View File
@@ -15,7 +15,7 @@ What is padded and why it is exact (fp32-accumulated, zero terms add nothing):
gdn (Qwen3-Next, --gdn-k/--gdn-v) in_proj_qkvz / in_proj_ba gain zero rows per the
fused layout, conv1d zero channels, A_log / dt_bias zero heads, out_proj zero columns.
Everything with n_embd as its only width (norms, embeddings, lm_head) is untouched. config.json is
rewritten with the new counts and an explicit head_dim. Dummies go LAST, as Rob's vLLM tp_padding
rewritten with the new counts and an explicit head_dim. Dummies go LAST, as tcclaviger's vLLM tp_padding
does, so rank w-1 carries them.
bf16 is handled as raw u16 (no arithmetic happens here), so numpy alone suffices.