review fixes of the pipelined prefill (independent review)

- pipe_ready: past the batch's and the build's own conditions (the same on every rank), a
  rank-local failure -- no pinned host memory for the bounds table, or its copy failing -- now
  fails the step instead of running it serially. A serial step on one rank beside a pipelined
  one on the other issues different collectives on the shared all-reduce instance: a hang or a
  wrong sum.
- declare frees the previous build's pinned bounds table before resetting the model.
- NormQuantFP8: the slicing comment back above step(); step_plain() gets its own.
- r4d_rows: the TN axis's help text says the new crossover (M >= 1024).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
mici81andClaude Opus 5.5 authored and StillDeadcode committed 2026-10-24 11:10:08 +02:00
1 parent d39e0511e7
commit 57d2cb4043
3 files changed
+27 -13

No files matched your search

+2 -2
View File
@@ -4930,11 +4930,11 @@ static const RadTunable tGemmPrefill[] = {
};
/* The MXFP4 tiled GEMM's one axis: compiled arms of one template. 0 is the M crossover (TN=4 from
* M >= 2048), which needs M. */
* M >= 1024), which needs M. */
static const int64_t kMxTn[] = { 0, 2, 4 };
static const RadTunable tGemmMxfp4Tiled[] = {
{ "tn", kMxTn, NELEM(kMxTn), 0,
"16-column fragments per wave: 2 = 256x64 block, 4 = 256x128. 0 = TN 4 from M >= 2048" },
"16-column fragments per wave: 2 = 256x64 block, 4 = 256x128. 0 = TN 4 from M >= 1024" },
};
/* The MXFP4 decode GEMM's axes. 0 on each is the kernel's own rule (r4d_gemm_mxfp4a8_decode.hip);