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

+23 -1
View File
@@ -68,8 +68,14 @@ public:
/* Drop the blob from the page cache and this process's page tables, so a container larger
* than RAM does not leave the cache full of pages nothing will read. Only the blob: the tables
* are small and read constantly. Advisory; the kernel may decline. */
* are small and read constantly. The ranges named to keep_cached() are left alone, on whole
* pages. Advisory; the kernel may decline either way. */
void drop_blob_cache() const;
/* Names [p, p + n) as read through the mapping for the engine's life (the mapped tier: an
* n-gram table), so no drop_blob_cache() frees its pages: a gather from dropped pages starts
* cold, from the drive. An address outside the container is ignored (a copy in RAM, or a
* table read from its own file). Returns the bytes now kept. */
int64_t keep_cached(const void* p, int64_t n);
/* Drop one range of the blob behind a single forward cursor. A buffered front-to-back read of
* a container larger than RAM otherwise builds reclaim pressure that slows the read itself.
@@ -153,6 +159,7 @@ private:
std::string path_;
uint8_t* base_ = nullptr;
int64_t size_ = 0;
std::vector<std::pair<int64_t, int64_t>> keep_; /* keep_cached: (blob offset, bytes) */
int fd_ = -1;
const RadFileHeader* hdr_ = nullptr;
@@ -168,6 +175,21 @@ private:
std::unordered_map<std::string_view, int64_t> by_name_;
};
/* The blob range [*off, *off + *len) a pointer covers, when it lies wholly inside the container
* [base, base + size): what a load records for the mapped tier. False when the address is not in
* the blob (a copy in RAM under `ngram-placement: ram`, or a table read from its own file under
* `disk=DIR`), where keeping it would name bytes that belong to something else. */
bool rad_blob_range(const uint8_t* base, int64_t size, const void* p, int64_t n,
int64_t* off, int64_t* len);
/* The ranges of [tables, size) a page-cache drop must free when `keep` stays: the complement of
* the keep ranges as (offset, bytes), the same convention `keep` uses. Page-rounded the way the
* drop needs it -- a gap's start rounds up and its end down, so a page holding kept bytes is never
* dropped. Unsorted, overlapping and out-of-range input is merged and clamped; a keep list covering
* the whole blob gives no ranges. */
std::vector<std::pair<int64_t, int64_t>> rad_keep_complement(
int64_t tables, int64_t size, std::vector<std::pair<int64_t, int64_t>> keep);
/* ================================================================== writer */
/* Streaming writer: the blob is never held in RAM (a checkpoint may be 100 GB). The tables
* (strings, directory, planes, encodings, vocab, profile) are in memory; ~50k directory rows for a