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

+39 -4
View File
@@ -172,6 +172,10 @@ static const RadOperandSpec oLayernorm[] = { OPD("x"), WGT("w"), WGT_O("b"), OUT
/* A learned position table resampled to each row's grid and added in (a vision tower's). */
static const RadParamSpec pGridEmbed[] = { P_INT("M"), P_INT("n"), P_INT("side"), P_STR("dtype") };
static const RadOperandSpec oGridEmbed[] = { INOUT("x"), WGT("table"), OPD("coord") };
/* window_order: the window permutation of one pass, from the coordinate planes alone. */
static const RadParamSpec pWindowOrder[] = { P_INT("M"), P_INT("window") };
static const RadOperandSpec oWindowOrder[] = { OPD("crd"), OPD_O("cu"), OUT("idx"), OUT("inv"),
OUT("pos"), OUT("cuw") };
/* grid_embed_cpe adds the rows a segment carries ahead of its patches (n_prefix, `prefix`). */
static const RadParamSpec pGridEmbedCpe[] = { P_INT("M"), P_INT("n"), P_INT("side"), P_STR("dtype"),
P_INTO("n_prefix") };
@@ -1095,6 +1099,8 @@ static const RadParamSpec pVqEncode[] = { P_INT("M"), P_INT("n"), P_INT("dim"),
P_STR("dtype") };
static const RadOperandSpec oVqEncode[] = { INOUT("x"), WGT("in_w"), WGT("in_b"), WGT("cb"),
WGT("out_w"), WGT("out_b"), OUT("codes") };
static const RadParamSpec pVqEuclidean[] = { P_INT("M"), P_INT("n"), P_INT("bins"), P_STR("dtype") };
static const RadOperandSpec oVqEuclidean[] = { INOUT("x"), WGT("cb"), OUT("codes") };
static const RadParamSpec pFrameMix[] = { P_INT("M"), P_INT("n_embd"), P_INT("L"), P_INT("stride"),
P_INTO("rep"), P_STR("dtype") };
static const RadOperandSpec oFrameMix[] = { OPD("hid"), WGT("logits"), WGT("scale"), OPD("lane"),
@@ -1227,6 +1233,23 @@ static const RadOpSchema kSchemas[] = {
"`coord` is [4, M] -- row, column, grid height, grid width -- and the position is sampled "
"bilinearly with the grid's corners on the table's corners (align_corners), edge taps clamped. "
"The taps are summed in f32 and rounded to x's dtype, then added to x and rounded again." },
{ "grid_embed_pad", ARR(pGridEmbed), ARR(oGridEmbed),
"x[m] += the table resampled at row m's grid position in the half-pixel-centre form "
"(align_corners=False) with grid_sample's padding_mode=\"zeros\": per axis taps at floor(src) "
"and floor(src) + 1 of src = (i + 0.5) * side / size - 0.5, each carrying the hat weight "
"(1 - |src - tap|)+, and a tap whose UNCLAMPED index falls outside the table contributes zero "
"rather than reading an edge. Same operands and tap order as `grid_embed`; equal to it whenever "
"the grid fits the table, different only when a grid upsamples past it (Muse's case)." },
{ "window_order", ARR(pWindowOrder), ARR(oWindowOrder),
"The window-attention permutation of one encoder pass (HF's get_vision_window_index) computed "
"from the coordinates alone: `crd` [4, P] i32 is row, column, segment height, segment width per "
"patch and `cu` [S+1] i32 the per-frame segment boundaries. Windows of `window` patches "
"partition each segment, window-row-major, ragged at the segment's right and bottom edges, "
"patches raster within a window and windows never across segments. Outputs i32: `idx` [P], "
"slot -> source patch (the gather index); `inv` [P], the inverse; `pos` [2, P], each slot's rope "
"positions (col + 1, row + 1), component-major like the planes; `cuw` [P+1], the cumulative "
"window boundaries in the permuted order, n_windows + 1 entries used. `M` bands the pass; slots "
"past M are the identity. `window` <= 0 is the identity permutation, cuw = cu." },
{ "grid_embed_aa", ARR(pGridEmbed), ARR(oGridEmbed),
"x += the side x side table resampled as torch's F.interpolate(bilinear, align_corners=False, "
"antialias=True) resamples it to the row's grid -- SigLIP2's position embedding: per axis a "
@@ -2093,8 +2116,8 @@ static const RadOpSchema kSchemas[] = {
"a 1-D convolution over the sequences `cu_seqlens` bounds, channels innermost: x [rows, cin], "
"y [rows, cout], PyTorch's [cout, cin, k] weight and an optional bias, dilation `dil` and padding "
"dil (k - 1) / 2 a side (k odd), or dil (k - 1) on the left with `causal` 1, zeros outside each "
"sequence; `res` added after the bias, then `act` none, tanh or clamp (to [-1, 1]). bf16 only "
"with `stride` > 1: one sequence [0, rows of x], an explicit `pad` and any k, output row m "
"sequence; `res` added after the bias, then `act` none, tanh or clamp (to [-1, 1]). With "
"`stride` > 1 and an explicit `pad` (bf16 only): one sequence [0, rows of x], any k, output row m "
"reading x[m * stride + tap * dil - pad] — PyTorch's zero-padded strided conv exactly." },
{ "conv_t1d", ARR(pConvT1d), ARR(oConvT1d),
"a transposed 1-D convolution of kernel `k` >= stride (2 stride by default), padding `pad` "
@@ -2123,7 +2146,10 @@ static const RadOpSchema kSchemas[] = {
{ "vq_encode", ARR(pVqEncode), ARR(oVqEncode),
"one residual vector quantiser step: e = in_w x + in_b, the code the row of cb of greatest "
"cosine with e (the lower index on a tie), then x -= out_w cb[code] + out_b; f32, x rounded "
"once." },
"once." },
{ "vq_euclidean", ARR(pVqEuclidean), ARR(oVqEuclidean),
"nearest Euclidean centroid (lower index on ties), codes written and centroid subtracted from x." },
{ "elu", ARR(pMnD), ARR(oUnary), "y = x >= 0 ? x : expm1(x), alpha 1." },
{ "frame_mix_store", ARR(pFrameMix), ARR(oFrameMix),
"a frame's conditioning row: the softmax(logits)-weighted sum of hid's L planes times scale, "
"stored at dst[lane * stride + frame - 1] for frame >= 1 and status[lane] >= 0." },
@@ -2356,6 +2382,12 @@ SIMPLE("ref_layernorm", "layernorm", "norm", "layer norm with gain and bias", DT
ref_layernorm),
SIMPLE("ref_grid_embed", "grid_embed", "elem",
"bilinear resample of a learned position grid, added in", DT_FLOAT, ref_grid_embed),
SIMPLE("ref_grid_embed_pad", "grid_embed_pad", "elem",
"half-pixel bilinear resample of a position grid, zero-padded taps, added in", DT_FLOAT,
ref_grid_embed_pad),
SIMPLE("ref_window_order", "window_order", "elem",
"the window-attention permutation of one pass, from its coordinates", DT_ANY,
ref_window_order),
SIMPLE("ref_grid_embed_aa", "grid_embed_aa", "elem",
"antialiased half-pixel bilinear resample of a position grid, added in", DT_FLOAT,
ref_grid_embed_aa),
@@ -2805,7 +2837,10 @@ SIMPLE("ref_cfg_topk_sample", "cfg_topk_sample", "sample", "a guided top-k pick
SIMPLE("ref_rvq_embed", "rvq_embed", "elem", "a frame's embedding from its residual codes",
DT_FLOAT, ref_rvq_embed),
SIMPLE("ref_vq_encode", "vq_encode", "elem",
"a residual quantiser's step: the nearest code by cosine", DT_FLOAT, ref_vq_encode),
"a residual quantiser's step: the nearest code by cosine", DT_FLOAT, ref_vq_encode),
SIMPLE("ref_vq_euclidean", "vq_euclidean", "elem", "Euclidean residual quantiser", DT_FLOAT,
ref_vq_euclidean),
SIMPLE("ref_elu", "elu", "elem", "ELU, alpha 1", DT_FLOAT, ref_elu),
SIMPLE("ref_frame_mix_store", "frame_mix_store", "elem", "a frame's conditioning row into its lane",
DT_FLOAT, ref_frame_mix_store),
SIMPLE("ref_end_status", "end_status", "elem", "a frame's status from its first pick", DT_ANY,