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

+4 -1
View File
@@ -403,10 +403,12 @@ int Reader::read_scheduler(const Item& sec, FleetConfig* out) {
if (k == "load-timeout") s = duration(it, &out->load_timeout_ms);
else if (k == "drain-timeout") s = duration(it, &out->drain_timeout_ms);
else if (k == "keepalive") s = duration(it, &out->keepalive_ms);
else if (k == "stuck-exit") s = duration(it, &out->stuck_exit_ms);
else if (k == "warm-up") s = boolean(it, &out->warm_up);
else {
return fail(it.node, "scheduler." + k + " is not a scheduler key" +
suggest(k, { "load-timeout", "drain-timeout", "keepalive", "warm-up" }));
suggest(k, { "load-timeout", "drain-timeout", "keepalive",
"stuck-exit", "warm-up" }));
}
if (s < 0) return s;
}
@@ -834,6 +836,7 @@ void print_reference(FILE* to) {
" load-timeout: DURATION how long a request waits for its model (default 120s)\n"
" drain-timeout: DURATION how long a model being evicted may finish requests (30s)\n"
" keepalive: DURATION SSE comment interval while a request waits (10s)\n"
" stuck-exit: DURATION a device stuck this long ends the process (60s; 0 never)\n"
" warm-up: true|false fill free VRAM, then host RAM, with models at start (true)\n"
"\ndefaults: any model key, merged under every model\n"
"\nmodels:\n"
+3
View File
@@ -104,6 +104,9 @@ struct FleetConfig {
int64_t load_timeout_ms = 120000;
int64_t drain_timeout_ms = 30000;
int64_t keepalive_ms = 10000;
/* A device that has advanced nothing for this long ends the process, so a restart policy can
* bring the server back (dev_stuck_exit_ms); 0 never. */
int64_t stuck_exit_ms = 60000;
/* Once the listener is open and nothing waits, unpinned models load one at a time into free
* VRAM and park to host memory and the disk tier as later ones displace them, so a first
* request finds its model parked rather than cold (docs/MULTIMODEL.md §8.6). */
+20 -1
View File
@@ -142,6 +142,23 @@ double sysfs_number(const std::string& path) {
return f >> v ? v : -1;
}
/* A card's temperature in millidegrees: the sensor its driver labels `junction`, else temp1. amdgpu
* labels three, edge (temp1), junction and mem, and throttles on the junction, the hottest spot on
* the die: under a decode load an R9700 read 56 C at the edge and 75-77 C at the junction. A driver
* that labels none, or no junction, keeps temp1. -1 when neither can be read. */
double card_temp_mc(const std::string& hwmon) {
for (int i = 1; i <= 8; ++i) {
const std::string t = hwmon + "/temp" + std::to_string(i);
std::ifstream f(t + "_label");
std::string label;
if (!(f >> label)) continue;
if (label != "junction") continue;
if (const double mc = sysfs_number(t + "_input"); mc >= 0) return mc;
break;
}
return sysfs_number(hwmon + "/temp1_input");
}
/* What the driver reports of a card right now: busy share, power and temperature, on the routes of
* a dashboard being watched and nowhere on a request's path. A card that reports none adds none. */
void card_telemetry(int card, json& o) {
@@ -156,7 +173,7 @@ void card_telemetry(int card, json& o) {
double uw = sysfs_number(hp + "/power1_average");
if (uw < 0) uw = sysfs_number(hp + "/power1_input");
if (uw >= 0) o["power_w"] = uw / 1e6;
if (const double mc = sysfs_number(hp + "/temp1_input"); mc >= 0) o["temp_c"] = mc / 1000.0;
if (const double mc = card_temp_mc(hp); mc >= 0) o["temp_c"] = mc / 1000.0;
break;
}
}
@@ -502,6 +519,7 @@ private:
Fleet::Fleet(FleetConfig fc)
: fc_(std::move(fc)), front_(transport_options(fc_), fc_.keepalive_ms) {
dev_stuck_exit_ms.store(fc_.stuck_exit_ms, std::memory_order_relaxed);
bool any = false;
int64_t head = 0;
for (const ModelEntry& e : fc_.models) {
@@ -2301,6 +2319,7 @@ std::string Fleet::reload() {
front_.update(e.name, e.aliases, nf.load_timeout_ms, required);
}
fc_ = std::move(nf);
dev_stuck_exit_ms.store(fc_.stuck_exit_ms, std::memory_order_relaxed);
for (const ModelEntry& e : fc_.models)
if (e.pin) demand(e.name);
RAD_INFO("reload: %s applied, %zu model(s)", fc_.path.c_str(), fc_.models.size());