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
@@ -361,10 +361,11 @@ HttpResponse Server::handle_stats(const HttpRequest&) {
* This is the same walk (dump_graph_json shares every helper with the text one) served from the
* process that is actually running, which is where the question is usually asked. Static after
* declare, so it is rendered once and handed over. */
HttpResponse Server::handle_graph(const HttpRequest&) {
HttpResponse Server::handle_graph(const HttpRequest& req) {
if (!opt_.graph_json)
return error_response(err_not_implemented(
"the server was not given a declared graph; this build has no engine attached"));
"the server was not given a declared graph; this build has no engine attached"),
req.peer);
HttpResponse r;
r.status = 200;
r.body = opt_.graph_json();