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

+6 -12
View File
@@ -627,21 +627,15 @@ void r4d_qsa_score_pin_form(int form);
// prefill form, 2 the (tile, run) decode form, 3 the uniform prefill grid. r4d_selftest --perfmoe
// times each and compares it with form 1.
void r4d_moe_gemm_pin_prefill(int form);
// THE DECODE FORM'S STAGED K, pinned for a test: 0 is R4D_MOE_GU_FK256's rule, 1 one 128-wide block
// a pass, 2 two wherever the shape allows it (the token-operand projection, every class's K a
// multiple of 256, a format that folds scale groups). The two are bit-identical, and r4d_selftest
// compares their bytes.
// THE DECODE FORM'S STAGED K, pinned for a test: 0 is the launcher's row limit (kMoeGuFk256Rows),
// 1 one 128-wide block a pass, 2 two wherever the shape allows it (the token-operand projection,
// every class's K a multiple of 256, a format that folds scale groups). The two are bit-identical,
// and r4d_selftest compares their bytes.
void r4d_moe_gemm_pin_fk(int pin);
// THE DECODE FORM'S WEIGHT ADDRESS, pinned for a test: 0 is R4D_MOE_UWLOAD's rule, 1 the generic
// table pointer, 2 a uniform global base. Bit-identical, and r4d_selftest compares their bytes.
void r4d_moe_gemm_pin_uw(int pin);
// THE DECODE FORM'S RUN SEARCH, pinned for a test: 0 is R4D_MOE_RUNSCAN's rule, 1 the chunked
// search, 2 the one-pass search. Bit-identical, and r4d_selftest compares their bytes.
void r4d_moe_gemm_pin_rs(int pin);
// THE GATED RESIDUAL READ'S PREFILL TILE, pinned for a test: 0 is the launcher's rule, 1 the decode
// tiles' kernels at 128 rows (hc_down_tiled, then hc_up_tiled into `ubuf` and hc_mix), 2 the wide
// kernels (which then refuse a shape they are not built for), 3..9 the PF2 forms that
// R4D_HC_READ_PF2=1..7 puts in the rule (the same, and also refused where the band cannot hold
// kernels (which then refuse a shape they are not built for), 3 the PF2 kernels the rule takes from
// 512 rows (refused likewise, and also at a band under 512 rows, whose scratch is not sized for
// their weight planes). All are bit-identical by construction, and r4d_selftest compares their
// bytes.
void r4d_hc_read_pin_prefill(int form);