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

-2
View File
@@ -410,8 +410,6 @@ int Engine::step_loop() {
* collected, and a pass issued ahead would have overwritten them by then. */
pipelining_ = !cfg_.kld() && drafter_.kind != RAD_DRAFT_BLOCK &&
(serial_drafting() || cfg_.n_spec <= 0);
/* The adaptive draft window prices serial rounds; a block drafter keeps its depth (scheduler.h). */
if (drafter_.kind == RAD_DRAFT_BLOCK) sched_.draft_adapt_off("a block drafter");
const bool t_on = (int)log_level() >= (int)Log::Debug;
/* Read once. See the block in the idle branch below for what it is for. */
/* "kv" | "arena" | "all" | "kv:<name>,<name>" -- the last narrows the KV scrub to named groups,