radiance 1.13.0

New models:
- Tencent Hy-Memory (HYV3) from its BF16, FP8 and GGUF checkpoints, with its native tool calls
- M2XFP4: metadata-augmented MXFP4 weights for Qwen3.8-27B and its DFlash2 drafter (top-1 89.1% ->
  92.4% against plain MXFP4), its quantiser and recipe, and ParoQuant's M2XFP4 checkpoints
- Gemma 4 E2B/E4B audio input; NVIDIA-Nemotron-3.5-Bolt-E4B in int8 and 4-bit, on two cards by
  default; Ornith-1.5-122B compose files

Speed:
- Weight reads beside the decode all-reduces (qwen35_fp8, gemma3; --weight-prefetch, on by default):
  the 27B MXFP4 with DFlash2 61.2 -> 67.9 tok/s at c1, TranslateGemma 27B +13%
- Head-256 split-KV decode attention at 256 workgroups and without bank conflicts (27B: +3-5% a
  step at 25-41K context), and the prefill KV split for small launches (a short turn over a long
  context decodes the other sequences 27% faster in that step)
- MXFP4 decode gate_up, activation and fp8 quantiser in one launch (27B, Gemma 3 up to 64 rows:
  TranslateGemma +2-5% at 2-8 streams)
- ParoQuant int4/int5 tiled GEMMs 6-9% faster
- Speculation: a step's tokens are sent before the drafter's passes end, no step waits behind one
  that ends its requests, and the MTP head's first draft no longer collapses after short chats in
  the prefix cache

Features:
- --kv-resident N: KV streaming for a context bigger than VRAM (qwen4exp_fp8, GLM-5.3)
- MiniMax-H3: reference media and keyframe conditioning with the VAE encoders
- Krea 2 rebalance presets balanced, detail and subtle
- The dashboard's request history; a stall watch that reports a frozen step's thread and stack
- rad-tune at the served configuration, collectives measured as the exchange; Gemma 4 E2B/E4B's
  per-layer embeddings read ahead off the step path
- A GPTQ calibration tap and recipe for Gemma 4 31B's w4a8 container

Fixes:
- The two-rank all-reduce checks that a peer's push has landed before reducing it
- z-lab's DFlash drafter on Gemma 4 31B keeps drafting after a prefix-cache hit
- MiniMax-H3's modulation rows

Changes: Plugin ABI 31: out-of-tree plugins must be rebuilt. RADIANCE_PREFETCH_BESIDE is
--weight-prefetch now; RADIANCE_NO_HUGE_PAGES, RADIANCE_IDS_EARLY, RADIANCE_ATTN_BAND_SPLIT,
R4D_PREFILL_SPLITS, RAD_PLE_TIMING and RAD_PLE_CACHE_ROWS are gone.
This commit is contained in:
Deadcode committed 2026-10-27 16:47:35 +01:00
198 files changed
+20904 -3240

No files matched your search

+7 -11
View File
@@ -154,17 +154,13 @@ int rad_operand_shapes(const std::string& op, const Geometry& g, int n_opd, int6
add((uint32_t)RAD_F32, {M, (n + group - 1) / group});
}
else if (op == "gemm_nt_q") {
/* Block-scaled fp8, mxfp4 and the 2-bit asymmetric grid. `gemm_nt_q` covers six weight
* formats whose scale grids (per row, per row-group, per output-row-block, e8m0 exponents,
* zero points, reference exponents) belong to the reading kernel, not the schema. The fp8
* grid is fixed by the checkpoint: E4M3 [N][K] with a bf16 [ceil(N/128)][ceil(K/128)]
* scale plane, `group` being the 128. libref describes the symmetric integer grids, so a
* tool takes those from its hook and never reaches this table for them; every grid with a
* zero point is declined there (ref_planes.h joins scale and zero into one operand a
* description cannot state), and the ones named here are sized from the kernel's own
* stored layout instead. Anything else is skipped and counted.
*
* `a_sum` and `b_ref` belong to the asymmetric-integer and mxfp4 grids. */
/* Block-scaled fp8, mxfp4 and the 2-bit asymmetric grid, sized from each kernel's stored layout.
* `gemm_nt_q`'s scale grids belong to the reading kernel, not the schema. The fp8 grid is the
* checkpoint's: E4M3 [N][K] with a bf16 [ceil(N/128)][ceil(K/128)] scale plane, `group` 128.
* libref describes the symmetric integer grids, so a tool takes those from its hook; a grid
* with a zero point is declined there (ref_planes.h joins scale and zero into one operand).
* Anything else is skipped and counted. `a_sum` and `b_ref` belong to the asymmetric-integer
* and mxfp4 grids. */
const char* q = g.get_s("dtype");
/* OCP-MXFP4: e2m1 codes with one E8M0 exponent per 32 of K (`group` 32), against the fp8
* activation pair (E4M3 plus an f32 scale per row and 128 of K, as LinearFP8 feeds it).