radiance 1.0.12

- Wrong answers under concurrency on models with gated delta net layers (Qwen3.8-Flash-Next,
  Qwen3.8-27B, Qwen3.6-35B-A3B). A conv state slot was one entry wider in the allocation than in
  the state the kernels index, so clearing the slot a newly admitted request was given -- and a
  prefix-cache checkpoint's save and restore -- reached into the next request's conv and n-gram
  windows. A request decoding beside an admission then lost part of its recent context: a right
  first token followed by a context-free continuation ("1. **Identify the numbers..." for "What
  is 65 times 3?"), repeated or skipped digits. A single request was never affected. One
  definition of the slot now, and the server refuses to start if the allocation and the kernels
  ever disagree on it. Present since 1.0.0; reported with a strict concurrent sanity check.
- --num-speculative-tokens 0 no longer stops the engine at the first multi-sequence decode step:
  an all-reduce argument struct's padding was uninitialised, and a recorded pass's audit read it
  as a changed argument.
This commit is contained in:
Deadcode committed 2026-10-05 18:27:23 +02:00
1 parent 469441d90f
commit a4845834ea
10 files changed
+106 -31

No files matched your search

+1 -1
View File
@@ -2089,7 +2089,7 @@ int32_t Scheduler::conv_window() const {
int32_t W = 1;
for (const KVGroupInfo& g : prog_->kv_groups)
if (g.decl.kind == RAD_KV_CONV && g.decl.conv_width > 0)
W = (int32_t)(g.decl.conv_width - 1 + (cfg_.n_spec > 0 ? cfg_.n_spec : 0) + 1);
W = (int32_t)conv_window_entries(g.decl, cfg_.n_spec);
return W;
}