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 -5
View File
@@ -66,9 +66,8 @@ LDS lookup a byte), more protected bf16 experts (+4% bytes for 7% less error), a
(13% less error energy for +13-18% on the expert GEMMs).
**Further quality levers**, in order: five bits on both projections of layers
16-31 (the same +8% as the down projections, ~0.066 expected); fewer layers at five bits for a
smaller prefill cost; and `--expert-vs-cache-ratio`, which buys the residency back with KV
capacity. The formats, the kernel and a layer's own choice of form are all in the tree.
16-31 (the same +8% as the down projections, ~0.066 expected), and fewer layers at five bits for a
smaller prefill cost. The formats, the kernel and a layer's own choice of form are all in the tree.
## The stored plane
@@ -244,8 +243,8 @@ its Hessians in the model's own domain; a rotated recipe's GPTQ reads them rotat
Whole experts per rank, which a calibration run wants anyway. A step reads about 100 GiB a rank from
the drive and grows only slowly with what it carries -- 50 s at ~32K tokens, 59 s at ~55K -- so
drive it with large prefill steps: `--max-num-batched-tokens 65536 --max-num-seqs 64`, about 96
requests in flight, and `--expert-vs-cache-ratio 0.5` so the cache share holds 64 sequences'
recurrent state. That records ~930 tokens a second, ten million tokens in three hours.
requests in flight, with a KV pool that holds 64 sequences' recurrent state (`--vram-kv-mib`
states it outright). That records ~930 tokens a second, ten million tokens in three hours.
**The corpus is what the Hessian is of, so it has to look like the traffic.** A few thousand
tokens of one repeated sentence gives a Gram whose energy sits in a handful of directions, and GPTQ