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

-1
View File
@@ -747,7 +747,6 @@ int main(int argc, char** argv) {
w.meta_i("n_expert_shared",meta.m.n_expert_shared);
w.meta_f("rms_eps", meta.m.rms_eps);
w.meta_f("rope_theta", meta.m.rope_theta);
w.meta_f("rope_scale", meta.m.rope_scale);
for (int i = 0; i < meta.m.n_kv; ++i) w.meta_s(meta.m.kv_key[i], meta.m.kv_val[i]);
/* THE CONTAINER CARRIES AN ENCODER'S WEIGHTS: what `--mm-max-patches auto` keys on. */
if (prog.encoder.modalities != 0) w.meta_s("radiance.encoder", prog.encoder_name.c_str());
+1 -1
View File
@@ -1707,7 +1707,7 @@ int main(int argc, char** argv) {
meta.n_expert = mi("n_expert", 0); meta.n_expert_used = mi("n_expert_used", 0);
meta.n_expert_shared = mi("n_expert_shared", 0);
meta.rms_eps = mf("rms_eps", 1e-6); meta.rope_theta = mf("rope_theta", 10000.f);
meta.rope_scale = mf("rope_scale", 1.f);
meta.rope_scale = 1.f; /* the rotary's scaling is the free-form rope keys (rad_builder.h) */
/* The gated-delta-net head counts. No op names them -- the kernels read them off the operands
* -- so a recipe sizing a GDN case would otherwise have to invent them, and a GDN check at an
+1 -1
View File
@@ -333,7 +333,7 @@ int main(int argc, char** argv) {
meta.n_expert = mi("n_expert", 0); meta.n_expert_used = mi("n_expert_used", 0);
meta.n_expert_shared = mi("n_expert_shared", 0);
meta.rms_eps = mf("rms_eps", 1e-6); meta.rope_theta = mf("rope_theta", 10000.f);
meta.rope_scale = mf("rope_scale", 1.f);
meta.rope_scale = 1.f; /* the rotary's scaling is the free-form rope keys (rad_builder.h) */
std::vector<std::string> kk, kv;
std::vector<const char*> kp, vp;