radiance 1.2.0

- MXFP4 weights: block-fp8 Qwen3.5/3.6/3.8 dense models serve OCP-MXFP4 linears (e2m1, an E8M0
  exponent per 32) at 4-bit weights against E4M3 activations. New libr4d rows: the decode GEMM
  (M <= 128, split-K with a fused last-arriver reduction) and the prefill GEMM on a fragment-tiled
  activation. Qwen3.8-27B MXFP4 (AMD Quark AWQ) is in the model table.
- Cards without peer-to-peer access serve: every collective has a host-memory twin; --p2p
  auto|on|off.
- Stop strings apply to the answer, not to the reasoning block a reply starts in.
- A prefix hit ends one drafter window before the prompt's end, so a windowed block drafter
  (DFlash2) drafts from the first token of a follow-up turn.
This commit is contained in:
Deadcode committed 2026-10-06 21:36:24 +02:00
1 parent 7001841e45
commit e95d397288
47 files changed
+2611 -219

No files matched your search

+16
View File
@@ -307,6 +307,22 @@ TEST(the_wire_mode_is_one_of_two_names) {
CHECK_EQ(parse({ "--tp-wire", "EXACT" }, &c), RAD_E_INVAL);
}
TEST(the_p2p_mode_is_one_of_three_names) {
Config c;
CHECK_EQ(c.p2p, RAD_P2P_AUTO);
CHECK_EQ(parse({ "--p2p", "on" }, &c), RAD_OK);
CHECK_EQ(c.p2p, RAD_P2P_ON);
CHECK_EQ(parse({ "--p2p", "off" }, &c), RAD_OK);
CHECK_EQ(c.p2p, RAD_P2P_OFF);
CHECK_EQ(parse({ "--p2p", "auto" }, &c), RAD_OK);
CHECK_EQ(c.p2p, RAD_P2P_AUTO);
/* A name this build does not know stops the server: `on` exists so a deployment measured on
* P2P cannot quietly serve on host memory, and a typo falling through to auto would do that. */
CHECK_EQ(parse({ "--p2p", "yes" }, &c), RAD_E_INVAL);
CHECK_EQ(parse({ "--p2p", "" }, &c), RAD_E_INVAL);
CHECK_EQ(parse({ "--p2p", "OFF" }, &c), RAD_E_INVAL);
}
TEST(the_kv_cache_dtype_is_one_of_two_names) {
Config c;
CHECK_EQ(parse({ "--kv-cache-dtype", "bf16" }, &c), RAD_OK);