radiance 1.1.0

- The VRAM split has no ratio: --expert-vs-cache-ratio is gone (now an unknown option). The
  experts keep what the pinned host pool cannot hold, the KV cache takes the rest and lends idle
  blocks to the experts. Flash-Next at tp2: 7.9 GiB of KV a card, up from 4.7. Startup, /stats,
  /metrics and the dashboard report the most the cache can hold.
- Linear-state snapshots live in pinned host memory, not VRAM (--checkpoint-slots sizes the
  store). Prefix-cache misses on agent sessions fixed; a published conversation is no longer
  trimmed away.
- Any world size from the shipped container (baKon): --tp 3 on Flash-Next with no padded
  checkpoint -- the attention world, uneven delta-net heads, the fill op.
- Kernels (keptn42): moe_gemm_q decode loads and one-trip run search, hc_read's prefill form
  (+3.7% prefill at 18K), hc_up row groups up to eight, the fused router launch. Each is the rule
  where it was measured faster; no environment switches.
- Tool calls: a typed argument is always JSON (Python True/None no longer leak into arguments --
  Codeberg #21); nine further reply-parser fixes; the reply path inside a call is ~12x cheaper on
  the host.
- The kernel changes: prefill +2-3% and decode -2% a step on 2x R9700 at tp2, identical text.
This commit is contained in:
Deadcode committed 2026-10-06 14:04:49 +02:00
1 parent 9f5feb24ee
commit 82b5835c02
101 files changed
+5105 -3767

No files matched your search

-4
View File
@@ -151,8 +151,6 @@ struct WeightInfo {
int n_part_spans = 0;
int64_t part_lo[RAD_MAX_ROW_PARTS] = {0}, part_hi[RAD_MAX_ROW_PARTS] = {0};
int64_t part_total[RAD_MAX_ROW_PARTS] = {0};
/* rad_weight_shard_zero: this rank reads nothing for it and the loader writes zeros. */
bool shard_zero = false;
/* WHAT IT IS A VIEW OF (RadWeightDecl::source and ::planes, spec §4.3). `enc` is the source's
* encoding as the model holds it -- or, with nothing behind the builder, plain in the declared
@@ -212,7 +210,6 @@ struct WeightInfo {
for (int i = 0; i < RAD_MAX_ROW_PARTS; ++i) {
part_lo[i] = o.part_lo[i]; part_hi[i] = o.part_hi[i]; part_total[i] = o.part_total[i];
}
shard_zero = o.shard_zero;
source = o.source; enc = o.enc; enc_known = o.enc_known; n_sel = o.n_sel;
for (int i = 0; i < RAD_ENC_MAX_PLANES; ++i) {
sel[i] = o.sel[i]; sel_rows[i] = o.sel_rows[i]; sel_cols[i] = o.sel_cols[i];
@@ -641,7 +638,6 @@ struct Config {
* a third name for the second one, and a flag whose values are not all distinct is a flag
* whose log line cannot be read back. */
std::string kv_cache_dtype = "bf16";
double expert_cache_ratio = 0.75; /* --expert-vs-cache-ratio, weights vs KV of the remainder */
/* SET BY THE RESOLVER, NOT BY A FLAG. vram_budget_resolve writes the two budgets above into
* this config, which erases the only evidence of whether they were stated or derived -- and
* Pools needs that to know whether unspent VRAM is a mis-stated budget worth warning about or