radiance 1.9.0

New models:
- LTX-2.5 (base and distilled): video with a stereo soundtrack from text or from text and a first
  frame, on one card, with its duration head, tiled VAE decoding, the diffusion decoder and the x2
  latent upsampler
- Krea 2 Raw and Turbo, and FLUX.3 [klein] and its base: text to image, and for FLUX.3 edits from up
  to ten reference pictures, on one card
- GLM-5.3-Flash from AMD's Quark MXFP4 export, on eight cards (John McDonough, Nunze)
- Gemma 3 / TranslateGemma 27B with an optional DFlash2 drafter (mici81)

Engine:
- --kv-cache-dtype fp8_v4 and k6_v4 for Gemma 3 and Qwen3.8-Flash-Next (mici81)
- the rotated int8 trunk (i8a8h) for Qwen3.8-27B (eddie168168)
- eight-rank all-reduce bands, weighted shards and pieces (Nunze); --host-headroom-mib (sfjes)
- the dashboard shows the single-stream decode floor and its most recent window (Memoria)

Fixes: prefix-cache reservations kept until their save lands (baKon), tool calls in Responses
namespaces (#119), system messages merged when a template refuses several (#137), a prefill
continued with no open step (#127), calibration of a Gram accumulation (#122), JSON Schema patterns
read unanchored (davetha), GLM-style tool calls, the KV floor counting every sequence's state.
Plugin ABI 24.
This commit is contained in:
Deadcode committed 2026-10-19 21:58:07 +02:00
1 parent 778cbf315e
commit 685ec5bd85
136 files changed
+18917 -3821

No files matched your search

+6 -8
View File
@@ -1599,7 +1599,10 @@ const RadBatch* Scheduler::step() {
/* ------------------------------------------------------------------ media */
bool Scheduler::prefill_continues() const {
std::lock_guard<std::mutex> lk(mu_);
if (stage_rows_ <= 0) return false;
/* Only the step being released has a plan to read. Between a commit and the next step (an
* encoder pass is prepared there) `plan_` is the committed step's, whose requests in_step() no
* longer holds: a cancel and reap may have released one (#127). */
if (stage_rows_ <= 0 || !step_open_) return false;
/* The next step is held to decode rows (--prefill-interleave): experts staged for a chunk now
* would be dropped by that step. */
if (interleave_left_ > 0) return false;
@@ -2010,13 +2013,8 @@ void Scheduler::step_finished() {
m_.step_ns += ns;
if (plan_.phase == RAD_PHASE_DECODE) {
m_.step_ns_decode += ns;
/* The single-sequence floor, keyed to the concurrency of THIS step (plan_.n_seq_decode is
* the row count that was just timed, not a later snapshot). A mixed step is excluded by the
* phase gate even when it carries one decode row: its lone row shares the step with a
* prefill chunk and is not the mechanical floor. The estimator is a min over WINDOW MEANS,
* not raw brackets: a decode step issued ahead behind a long host commit has no GPU work
* in its bracket, and a raw min latches that degenerate forever; averaging a window of
* single-row steps first dilutes it. See rad::DecodeFloor. */
/* The single-sequence floor over the step just timed (rad::DecodeFloor). A mixed step
* never counts: its decode row shares the step with a prefill chunk. */
if (plan_.n_seq_decode == 1) {
decode_floor_.update(ns);
m_.step_ns_decode_best = decode_floor_.best();