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

+2 -8
View File
@@ -374,13 +374,6 @@ int rad_weight_shard_span(RadBuilder* b, rad_weight w, int64_t lo, int64_t hi);
int rad_weight_shard_span_parts(RadBuilder* b, rad_weight w, const int64_t* lo, const int64_t* hi,
const int64_t* total, int n);
/* THIS RANK'S SHARE IS ZEROS. The weight is declared with its row or column shard and extent as
* on every other rank, and nothing is read for it: the loader writes zeros. It is for a rank the
* geometry gives no real heads (rad_arch.h: a world size the KV head count does not divide), so
* that rank runs the same program as its peers -- the scheduler sees one program -- and its
* projection contributes exactly nothing to the reduce. Additive export. */
int rad_weight_shard_zero(RadBuilder* b, rad_weight w);
/* THIS RANK KEEPS NO CACHE FOR THE GROUP. The group is declared as on every other rank -- the
* scheduler indexes groups by position and one block table serves every rank, so it must exist
* here with the same block size and layers -- and nothing is carved for it: it costs this rank no
@@ -691,7 +684,8 @@ typedef struct RadChatFormat {
uint32_t string_value; /* RAD_CHAT_VALUE_RAW or _CDATA: a string-typed argument */
uint32_t other_value; /* RAD_CHAT_VALUE_JSON: any other type (or _RAW, as text) */
/* Non-zero: one newline at each end of a value is punctuation, not part of the value. */
/* Non-zero: one newline at each end of a value is punctuation, not part of the value -- at
* its start only where the tag before it does not end with that newline itself. */
uint32_t value_newlines;
/* The literal words that start constrained decoding of a call. None: no grammar, and the