radiance 2.1.0

New models. Recursive Flint (39.8B, about 2.5B active) by everplays (#422): `arch/flint`, as an
IQ8R container with rotated int8 experts or a four-bit one, with a sink-aware WMMA prefill
attention and the fused attention prologue at `rotary_dim` 0. Meta Muse Glimmer 30B by
launch80_assets (#423): bf16, an int4 trunk or IQ8R, its windowed vision tower, its DFlash
drafter, the ATEM tool dialect and context extension. Ling-3.0-tiny by RikshaDriver (#441):
served from its GGUF releases or as IQ8R on `bailing_hybrid`, with six more libr3d kernels. Block
FP8, MXFP4 and NVFP4 conversions of the three are not served. IQ8R containers of all three
(round to nearest, no calibration) are on Hugging Face under StillDeadcode: flint-iq8r,
muse-glimmer-30b-iq8r-dflash and ling-3.0-tiny-iq8r. They were checked for sane answers on two
R9700; nothing was benchmarked, and Muse Glimmer's pictures, video and tool calls were not tried.

Speech. Breeze-TTS-2 clones a voice from a reference recording and its transcript, with an
optional delivery direction, by farcryjohn (#436). The published Breeze container needs
converting again with the updated recipe before it can.

Tools. A model entry with `diagnose: DIR` runs a fixed workload on the engine instead of serving
and writes a report: step times, tokens a step, draft acceptance, TTFT and prefill rates by
category, concurrency and prompt length, and with `diagnose-baseline` a token-for-token comparison
against an earlier report (docs/DIAGNOSE.md), by Code000 (#418).

Scheduler. `mixed-step-target-ms` holds a mixed prefill and decode step to a service time, off by
default, by tnhnyzc (#413). `scheduler.stuck-exit` (60s by default, 0 never) ends the process when
the device has advanced nothing for that long, so a restart policy brings a hung server back
(#409, #415, #428).

Fixed. Draft trees with the int8 KV cache, which stopped Gemma 4 31B with DFlash2 on its first
request (#454, diagnosed by aelfwyne). The expert loan held at zero by a few leftover cache blocks
after long sessions (#455, diagnosed by thekk1). The mapped tier's pages kept in the page cache
across a load and a restore, by C_Tamas (#421). Replayed tool calls with blank arguments, and
arguments that are not JSON refused naming the call, by dschmitz (#444). The dashboard's card
temperature reads the junction sensor, by dschmitz (#453). The VRAM shortfall report says what the
KL mode needs, by baKon (#448). The out-of-tree plugin test builds its plugins in parallel and
takes its toolchain from the tree.

Plugin ABI 40: out-of-tree plugins need to be rebuilt.

Thanks to @everplays, @launch80_assets, @RikshaDriver, @farcryjohn, @Code000, @tnhnyzc, @C_Tamas, @dschmitz, @baKon, @aelfwyne and @thekk1.
This commit is contained in:
Deadcode committed 2026-11-15 16:00:05 +01:00
1 parent ddcb9c69bb
commit 2a2b756371
166 files changed
+20749 -327

No files matched your search

+20
View File
@@ -444,6 +444,7 @@ public:
struct AudioGenStrings {
/* "" for an absent template; tmpl_ref and ref_item RadAudioGenDecl's references */
std::string name, tmpl, tmpl_plain, neg_tmpl, tmpl_ref, ref_item;
std::string tmpl_ref_instruct, neg_tmpl_ref;
} agen_str;
bool is_audio_generator() const { return audio_gen.max_lanes != 0; }
/* The declared video generator (rad_declare_video_generator); `max_lanes` 0 when none. */
@@ -848,6 +849,9 @@ struct Config {
bool prefill_interleave_set = false;
int64_t prefill_interleave = 0; /* --prefill-interleave: decode-only steps between chunks;
* -1 auto (Scheduler::interleave_steps) */
/* --mixed-step-target-ms: soft duration target for a mixed prefill/decode step. The scheduler
* learns an aggregate prefill-row cap from completed mixed steps; 0 keeps the fixed policy. */
int64_t mixed_step_target_ms = 0;
/* --preempt-wait-ms: how long a preempted prefill may wait for the whole-recompute gate
* before the scheduler evicts cache blocks and preempts a lower-priority running request to
* make room for it. 0 = fall back on the next step; default 5000 ms. */
@@ -1052,6 +1056,22 @@ struct Config {
std::string kld_out; /* --kld-out FILE: the report as JSON, rows beside it */
bool kld() const { return !kld_record.empty() || !kld_ref.empty(); }
/* ---------------- DIAGNOSIS (core/diag/diagnose.h, core/engine_diagnose.cpp) ----------------
*
* A mode, like the KL mode: the engine starts as it would to serve, then runs a fixed workload
* on itself -- decode by prompt category, a concurrency sweep, a prefill sweep with decode at
* each depth, a prompt arriving into running streams -- and writes DIR/diagnose.json and
* DIR/diagnose.md instead of listening. Every point is run once unmeasured and then
* `diagnose_runs` times. */
std::string diagnose; /* --diagnose DIR */
int diagnose_tokens = 256; /* --diagnose-tokens N: tokens a decode stream generates */
int diagnose_runs = 3; /* --diagnose-runs N: measured runs a point */
std::vector<int> diagnose_concurrency = { 1, 2, 4, 8 }; /* --diagnose-concurrency */
std::vector<int> diagnose_prefill = { 1024, 4096, 16384, 65536 }; /* --diagnose-prefill */
std::string diagnose_corpus; /* --diagnose-corpus FILE; empty is the built-in one */
std::string diagnose_baseline; /* --diagnose-baseline FILE: an earlier diagnose.json to compare outputs with */
bool diagnose_mode() const { return !diagnose.empty(); }
/* --mm-max-patches: the most patches one encoder pass carries, which bounds the largest image
* (one image is one pass) and sizes the encoder's activations. -1 is `auto`: the default below
* when the container carries a vision tower and 0 when it does not. 0 serves text only and