Triton #11171 — Why Two New NVFP4 Test Cases Produced Twelve Tensor-Memory Failures
Triton Blackwell NVFP4 × Dense Matmul, Part 3 of 3 — From plain dtype coverage to a routed, scale-swizzled persistent matrix with scatter, gamma, and K-ragged variants The first two articles in this series examined an invalid tile decision in Triton’s Blackwell matmul planner. The affected path combined: NVFP4-scaled activation × dense BF16 or FP16 operand + persistent execution + an expanded operand staged in TMEM The automatic planner could select: block_n = 256 That tile looked reasonable for: N = 256 because one tile could cover the full output width. But the persistent lowering needed Tensor Memory for two live structures: output accumulator + expanded operand The combined allocation exceeded Blackwell’s 512-column TMEM limit. PR #11171 repaired the automatic plan by capping the default: block_n → no larger than 128 for the affected persistent NVFP4 × dense path. The code change was small. The regression test was not simply: Run one 256 × 256 × 128 matmul. Two top-level Ca...