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

+6
View File
@@ -1456,6 +1456,12 @@ int parse_chat_request(const std::string& body, const OaiDeps& d, const OaiLimit
if (std::find(out->stop.begin(), out->stop.end(), s) == out->stop.end())
out->stop.push_back(s);
/* A reply that starts inside the reasoning block: its stop strings are the answer's, so they
* apply only after the block's closer (Detokenizer::defer_stops_until). The chat format says
* whether the rendered prompt leaves the block open and what closes it. */
if (render.think_starts_open && !render.think_close.empty())
out->stops_after = render.think_close;
/* Checked HERE, where the answer is still a 400. The grammar being validated may be the
* caller's, or one the template produced for its own tool-call syntax; either way the first
* moment it can fail is when the automaton is built, and building it on the step path would