radiance 1.2.2

- Static YaRN for the Qwen rotary paths (#37): a container whose config names YaRN gets it in
  attention, the QSA index keys and a DFlash2 drafter; one reader for every rotary type, and a
  LLaMA container whose type is not served (llama3, longrope, dynamic) is refused by name.
- --rope-scaling yarn:FACTOR[:ORIG] (#38) writes YaRN over a container's own rotary keys at load,
  no reconvert; the persisted prefix cache's fingerprint carries the resolved rotary.
- An uneven world's cheaper rank (#36) pages the common token count and gives the rest of its
  VRAM to its experts; a plan and pool that disagree refuse to start.
- MoE prefill (#35): wide gather, parallel scan and run-map prefix, 256-column down tile, early
  weight loads -- by rule, bit-identical.
- MoE decode (#34): the sorted operand's own down kernel, its column tiles by routed rows.
- --draft-window fixed|adaptive (#24): a per-sequence draft window priced by measured step time,
  one head depth per step over the batch; fixed stays the default. New metric
  radiance:draft_position_accepted_total and Grafana panels.
- Out-of-tree plugin builds compile to the tree's device code from any build directory.
This commit is contained in:
Deadcode committed 2026-10-07 12:37:53 +02:00
1 parent 6fa7707dff
commit ac79f4dc8a
63 files changed
+2744 -8759

No files matched your search

+7 -5
View File
@@ -93,11 +93,13 @@ private:
std::vector<std::thread> rank_threads_;
Config cfg_;
/* THE SPLIT EACH RANK ACTUALLY TAKES. Equal to cfg_ on every rank of an even world; under an
* uneven one (an attention-zero rank) a rank whose cache costs less per token gets a KV pool
* sized for the common token count and the difference in its weights pool. Engine::plan fills
* it, and every reader of the resolved pool sizes -- Pools::configure and the planner -- takes
* its rank's entry, never cfg_: a grown pool the planner never reads is an empty pool. */
/* THE SPLIT EACH RANK ACTUALLY TAKES. Equal to cfg_ on every rank whose cache costs as much per
* token as the dearest rank's -- every rank of a world whose ranks all cost the same; a rank
* whose cache costs less (an attention-zero rank) gets a KV pool sized for the common token
* count and the difference in its weights pool. Engine::plan fills it, and every reader of the
* resolved pool sizes -- Pools::configure and the planner -- takes its rank's entry, never
* cfg_: a grown pool the planner never reads is an empty pool, and plan() refuses a rank whose
* plan and weights pool disagree. */
std::vector<Config> rank_cfg_;
int64_t kv_planned_tokens_ = 0; /* the common token count plan() sized the re-split pools for */