Skip to content

Fix dim1 e8m0 scale indexing and Triton 3.9 FP8 compile errors - #4941

Merged
vkuzo merged 7 commits into
pytorch:mainfrom
jagadish-amd:fix_mxfp8_ci
Nov 16, 2026
Merged

vkuzo merged 7 commits into
pytorch:mainfrom
jagadish-amd:fix_mxfp8_ci

Conversation

@jagadish-amd

@jagadish-amd jagadish-amd commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Dim1 e8m0 scales are stored at c * (n_rows / 32) + b. The old tile offset matched that address only when ROW_TILE_SIZE divided n_rows, so a 256- or 512-row tile on M=128 overwrote other columns' scales. Write the address directly and mask padding.

This also includes the Triton 3.9 fix from #5036. The ROCm nightly Torch wheel now depends on Triton 3.9, which rejects [:, None] on a rank-0 tl.program_id(). Each pull request failed CI on the other pull request's bug, so both fixes are in this branch.

pytest test/prototype/mx_formats/test_kernels.py::test_triton_mxfp8_dim1_randn -k "FLOOR-128-256 or FLOOR-384-384 or FLOOR-512-384" -v
pytest test --verbose -s --ignore=test/quantization/pt2e
pytest test/prototype/blockwise_fp8_training/test_blockwise_kernels.py::test_triton_quantize_fp8_weight_quant_transposed_rhs test/prototype/moe_training/test_kernels.py::test_fp8_rowwise_3d_transpose_rhs_atomic -v

Authored with the assistance of an AI coding agent (Cursor).

@pytorch-bot

pytorch-bot Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/4941

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure, 1 Unrelated Failure

As of commit ec31606 with merge base 4ab9d61 (image):

NEW FAILURE - The following job has failed:

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 23, 2026
@jagadish-amd

Copy link
Copy Markdown
Contributor Author

cc @jithunnair-amd

@jagadish-amd

Copy link
Copy Markdown
Contributor Author

Fixes the ROCm CI failure, failure run https://github.com/pytorch/ao/actions/runs/33204661724/job/98962533733
Looking for PR approval / adding ROCm workflow.

@jagadish-amd

Copy link
Copy Markdown
Contributor Author

@vkuzo , can u plz approve and add rocm label, thanks

@vkuzo

vkuzo commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

@claude review

    # ROW/COL_TILE_SIZE divide n_rows/n_cols. Larger autotune tiles (256, 512)
    # are faster on big tensors but scramble e8m0 scales when M or K is 128.

is this a kernel bug that can be fixed directly instead of restricting autotune candidates?

@claude

claude Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Claude finished @vkuzo's task in 2m 9s —— View job


Review

  • Gather diff and kernel context
  • Analyze whether the dim1 scale store is a kernel bug
  • Post review

Short answer: yes, it's a kernel bug in the scale-store indexing of to_mxfp8_dim1_kernel, and it can be fixed in the kernel. I'd fix it there and drop the pruning. As written, the pruning also breaks to_mxfp8_dim0_kernel, which never had the bug (details below).

Root cause (torchao/prototype/mx_formats/kernels.py:748-770)

The scale tensor is (n_cols, n_rows // 32) in row-major order, so the scale for column c and block b belongs at c * S + b, where S = n_rows // 32. The kernel builds that offset in a roundabout way:

col_scale_start_offsets = (
    (pid_col * COL_TILE_SIZE * (n_rows // ROW_TILE_SIZE)) * BLOCKS_PER_ROW_TILE
    + pid_row * BLOCKS_PER_ROW_TILE
)
jump_vals_per_col = (n_rows - ROW_TILE_SIZE) // INNER_BLOCK_SIZE
...
tl.store(col_scale_start_ptr + col_scale_indices, col_scale_e8m0)   # TODO(future): mask this store

Those two expressions only reduce to c * S + b when ROW_TILE_SIZE divides n_rows. The store also has no mask. So:

  • n_rows=128, ROW_TILE_SIZE=256: n_rows // ROW_TILE_SIZE == 0, so pid_col drops out of the start offset. Every column tile writes to the same place. jump_vals_per_col == -4, so neighbouring columns overwrite each other's slots, including with scales computed from the masked-out padding rows. The result is the "scrambled e8m0 scales" the PR describes, and it's a race.
  • n_rows=384, ROW_TILE_SIZE=256: this is broken too, even though the tile fits. The pid_col stride uses 1*8 blocks instead of 12, and the second row tile writes 4 out-of-bounds blocks into the next column's slots. In this PR the pruning hides it because 384 % 256 != 0, but it shows the bug is about divisibility, not "tile larger than M".

Suggested fix

Do the same as the dim0 kernel, which already uses 2D indices with a mask (kernels.py:853-865):

# shape: (COL_TILE_SIZE * BLOCKS_PER_ROW_TILE,) -> (COL_TILE_SIZE, BLOCKS_PER_ROW_TILE)
col_scale_e8m0 = col_scale_e8m0_r.reshape(COL_TILE_SIZE, BLOCKS_PER_ROW_TILE)

scales_per_col = n_rows // INNER_BLOCK_SIZE
scale_col_indices = start_col + tl.arange(0, COL_TILE_SIZE)[:, None]
scale_block_indices = (
    pid_row * BLOCKS_PER_ROW_TILE + tl.arange(0, BLOCKS_PER_ROW_TILE)[None, :]
)
scale_offsets = scale_col_indices.to(tl.int64) * scales_per_col + scale_block_indices
scale_mask = (scale_col_indices < n_cols) & (scale_block_indices < scales_per_col)
tl.store(col_scale_ptr + scale_offsets, col_scale_e8m0, mask=scale_mask)

The reshape order is right: x_block_t_r comes from reshaping (COL_TILE_SIZE, ROW_TILE_SIZE) row-major, so flat index i = c * BLOCKS_PER_ROW_TILE + b. When the tile divides n_rows, this gives the same offsets as the current code. Otherwise it gives the right ones and masks out the padding blocks. The fp8 data store at line 742 is already masked correctly; its TODO comment is misleading because mask and col_major_offsets both have shape (ROW_TILE_SIZE, COL_TILE_SIZE).

With this fix, 256/512 row tiles stay available on large tensors. Later, the % 128 asserts in triton_to_mxfp8_dim1 (kernels.py:963-966) could be relaxed to % 32 for rows, with tests.

Fix this →

Problems with the current PR

  1. It breaks dim0 on shapes that aren't multiples of 128. _prune_mxfp8_quant_configs is also attached to to_mxfp8_dim0_kernel. But triton_to_mxfp8_dim0 only asserts n_cols % 32 == 0, not 128, so the comment "Host launch already requires multiples of 128, so 128x128 always remains" is wrong for dim0. For example, test_triton_mxfp8_dim0_special_values uses an (18, 32) input: every config gets pruned and the autotuner has nothing to launch. Real callers like MoE token counts, a2a_dispatch and MXTensor.to_mx also pass arbitrary M. The dim0 kernel's scale store is already masked correctly, so it doesn't need pruning at all.
  2. Adding n_rows to the autotune key re-tunes for every new M. In MoE and EP paths, M (tokens per rank/expert) changes from step to step, so this means repeated autotune sweeps at runtime. Once the store is fixed, a config tuned on a large M is still correct on a small M, so n_rows isn't needed in the key for correctness. I'd go back to the original keys.
  3. No test covers the failing case. test_triton_mxfp8_dim1_randn only uses M, K ∈ {128, 256}, and the result depends on which config won autotuning earlier in the process. I'd add M=384 and M=512 with K=384, which run the non-divisible and multi-tile paths no matter which config is picked. Running the test once per config, with autotuning bypassed, would be stronger.
  4. Minor: the named_args.get(..., kwargs.get(...)) fallback and the KeyError are defensive code for a case that can't happen, since both kernels take n_rows/n_cols as positional args. This goes away anyway if the pruning is dropped.

Recommendation

Fix the dim1 scale-store indexing and mask in the kernel as above, remove _prune_mxfp8_quant_configs, restore the original autotune keys, and add the M=384/512 test cases. That fixes the ROCm failure at its source, keeps the faster large tiles, and avoids the dim0 regression.

@jagadish-amd jagadish-amd changed the title [mxfp8] Prune Triton autotune tiles that do not divide the tensor [mxfp8] Fix dim1 e8m0 scale indexing when the row tile does not divide n_rows Oct 8, 2026
@pytorch-bot

pytorch-bot Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Workflows were awaiting approval. CI has now been triggered for the ciflow labels on this PR.

@jeffdaily jeffdaily left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My agent came up with this analysis, but I've read and approved it.

The 2D masked store looks right, and it also fixes the unmasked column tail when COL_TILE_SIZE does not divide n_cols. One request on the test before this lands.

Kernel: the new offsets (start_col + c) * S + pid_row * BPRT + b with mask col < n_cols & block < S are correct for every (ROW_TILE_SIZE, COL_TILE_SIZE) config and match the old offsets exactly when both tiles divide the shape. A simulation of old vs new offsets over M in {128..1024}, K in {128..512} and all six configs shows the old code losing or clobbering scales whenever RT does not divide n_rows, and writing past the end of the scale tensor in two cases: padding blocks of the last column when RT does not divide n_rows, and every column >= n_cols when CT does not divide n_cols (e.g. K=128 or 384 with CT=256). The new code writes each valid slot exactly once and nothing out of bounds.

Test (test/prototype/mx_formats/test_kernels.py:496-497): the added shapes depend on which config autotune picks, and the autotune key is only n_cols, so (512, 384) reuses the config tuned on (384, 384). (512, 384) is also divisible by every ROW_TILE_SIZE, so it never takes the non-divisible row path. The column-tail OOB cannot be seen by comparing values. Could the test sweep the configs directly with autotune bypassed, e.g. to_mxfp8_dim1_kernel.fn[grid](..., ROW_TILE_SIZE=rt, COL_TILE_SIZE=ct) for rt in (128, 256, 512) and ct in (128, 256), and allocate the scale buffer with a sentinel-filled tail that must stay untouched? That fails on the old code for M=128, 256 and 384 regardless of GPU or test order.

Nit: the TODO(future): this mask is for row-major ... comment above the fp8 store (kernels.py:721) is stale; that mask is correct.

cc @vkuzo for the merge decision.

@jagadish-amd

Copy link
Copy Markdown
Contributor Author

Thanks @jeffdaily , @vkuzo @jeffdaily Can we plz merge this PR? seeing CI failures with the above signature on other PRs.

@vkuzo

vkuzo commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

@claude review, also why are the checks still pending

@claude

claude Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Claude finished @vkuzo's task in 1m 28s —— View job


Review + CI status

  • Gather diff and kernel context
  • Review kernel and test changes
  • Check why CI checks are pending
  • Post review

Why the checks are pending

Through the Actions API, the head commit 22ba7c5 has only two kinds of runs:

Workflow Result
PR Label Check (×4) The first run (11-03) failed because the module: label was missing; the reruns after the label was added passed
Run Regression Tests on ROCm (ciflow/rocm tag) ✅ passed on MI350 (run)

None of the workflows triggered by pull_request have a current run for this SHA. That includes regression_test.yml, 1xH100_tests.yml, 1xL4_tests.yml, regression_test_pt2e_gpu.yml, ruff_linter.yml and doc_build.yml. GitHub has registered those checks as expected but has never started them, which is why they show as pending.

This PR comes from a fork, so the most likely cause is that those runs are waiting for maintainer approval. The pytorch-bot comment "CI has now been triggered for the ciflow labels" only covers the tag-triggered workflows like ROCm. It doesn't start the pull_request ones. To start them, a maintainer can click "Approve and run workflows" on the PR's Checks tab, or push or re-run on the branch.

I couldn't confirm this from inside the job: gh pr checks was not permitted, and the older run that Dr. CI cites (37746021341) now returns 404. That run's failure, Could not load credentials from any providers, was an infrastructure/credentials problem on the PT2E ROCm runner and is unrelated to this change.

Code review

Kernel (torchao/prototype/mx_formats/kernels.py:724-742): looks correct. LGTM.

  • Reshape order: x_block_t_r comes from reshaping (COL_TILE_SIZE, ROW_TILE_SIZE) row-major, so the per-block scale at flat index i is (c, b) = divmod(i, BLOCKS_PER_ROW_TILE). Reshaping to (COL_TILE_SIZE, BLOCKS_PER_ROW_TILE) is right.
  • Offsets: (start_col + c) * (n_rows // 32) + pid_row * BPRT + b matches the (n_cols, n_rows // 32) row-major scale layout for every tile config. When both tiles divide the shape, it gives the same offsets as the old code.
  • Mask: the mask covers both the row-padding blocks and the column tail. The column tail was also an unmasked out-of-bounds write before, whenever COL_TILE_SIZE=256 was used with K=128 or K=384.
  • Overflow: .to(tl.int64) on the column index protects against overflow, the same way col_major_offsets does.
  • Autotune keys: the earlier pruning commit (af99099) is fully undone in the net diff. The autotune keys are back to ["n_cols", "INNER_BLOCK_SIZE"] and to_mxfp8_dim0_kernel is untouched, so the dim0 regression I flagged last time is gone.

Test (test/prototype/mx_formats/test_kernels.py:488-499): still not deterministic. This is jeffdaily's open request, and I agree with it.

  1. Which config runs depends on autotune and on test order. The key is only n_cols, so (512, 384) reuses whatever config won on (384, 384). A GPU where ROW_TILE_SIZE=128 wins would pass even on the old kernel.
  2. M=512 is divisible by every ROW_TILE_SIZE, so it never takes the non-divisible row path. The comment "512 covers a second row tile" is only true for RT ∈ {128, 256}.
  3. Comparing values can't catch the column-tail out-of-bounds write, because it lands outside the returned tensor.

The fix is to sweep the configs directly, bypassing autotune, and to guard the scale buffer with a sentinel tail:

@pytest.mark.parametrize("ROW_TILE_SIZE", (128, 256, 512))
@pytest.mark.parametrize("COL_TILE_SIZE", (128, 256))
@pytest.mark.parametrize("M, K", ((128, 128), (128, 384), (256, 128), (384, 384), (640, 256)))
def test_triton_mxfp8_dim1_all_tiles(M, K, ROW_TILE_SIZE, COL_TILE_SIZE):
    x = torch.randn(M, K, dtype=torch.bfloat16, device="cuda")
    _, s_ref = triton_to_mxfp8_dim1_reference(x, block_size=32, scaling_mode=ScaleCalculationMode.RCEIL)
    out = torch.empty((K, M), dtype=torch.float8_e4m3fn, device="cuda")  # match host-side layout
    n_scales = K * (M // 32)
    s_buf = torch.full((n_scales + 1024,), 0xAB, dtype=torch.uint8, device="cuda")
    grid = (triton.cdiv(M, ROW_TILE_SIZE), triton.cdiv(K, COL_TILE_SIZE))
    to_mxfp8_dim1_kernel.fn[grid](
        x, out, s_buf, M, K,
        ROW_TILE_SIZE=ROW_TILE_SIZE, COL_TILE_SIZE=COL_TILE_SIZE,
        INNER_BLOCK_SIZE=32, SCALING_MODE="rceil",
    )
    torch.testing.assert_close(s_buf[:n_scales].view(K, M // 32), s_ref.view(torch.uint8).reshape(K, M // 32), rtol=0, atol=0)
    assert (s_buf[n_scales:] == 0xAB).all()  # no out-of-bounds writes

This sketch needs adapting: the output allocation and stride should follow what triton_to_mxfp8_dim1 does at kernels.py:924-990, and the reference should be checked for both scaling modes. With that test in place, the old kernel fails on M ∈ {128, 384, 640} and on K ∈ {128, 384} with CT=256, on any GPU and in any test order.

Fix this →

Nits:

  • kernels.py:721: the comment TODO(future): this mask is for row-major likely need to transpose it for col-major is stale. mask and col_major_offsets both have shape (ROW_TILE_SIZE, COL_TILE_SIZE) and index the same element, so the mask is correct. Delete the comment.
  • The PR body still lists the autotune-pruning test command and the history mentions "Prune Triton autotune tiles". That's worth cleaning up in the squash message so the landed commit only describes the indexing fix.

Verdict

The kernel fix is correct and also closes an out-of-bounds write on the column tail. It's safe to land as-is. Before merging, I'd add the deterministic per-config test, so this can't silently regress depending on which config autotune picks. I couldn't run any tests here because this runner has no SM100 or MI350 GPU. The only GPU evidence is the passing MI350 ROCm regression run above.

@vkuzo

vkuzo commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

can you rebase on main? looks like CI did not properly run, I hope a rebase would fix it

Dim1 scale stores are wrong when ROW_TILE_SIZE is larger than n_rows
(e.g. M=128 with a 256/512 tile). Skip those configs and key autotune
on n_rows so a large-shape winner is not reused on a small tensor.

Authored with the assistance of an AI coding agent (Cursor).

Signed-off-by: Jagadish Krishnamoorthy <[email protected]>
@jagadish-amd

Copy link
Copy Markdown
Contributor Author

can you rebase on main? looks like CI did not properly run, I hope a rebase would fix it

rebase done.

@jagadish-amd

Copy link
Copy Markdown
Contributor Author

Both PRs (current one and #5036) fail in CI on the other's bug, so I will port the other PR to this Pr itself.

@jagadish-amd jagadish-amd changed the title [mxfp8] Fix dim1 e8m0 scale indexing when the row tile does not divide n_rows Fix dim1 e8m0 scale indexing and Triton 3.9 FP8 compile errors Nov 10, 2026
@jagadish-amd

Copy link
Copy Markdown
Contributor Author

PT2E workflow failure is due to known CI issue: credential issue.
Good to merge.

@jeffdaily
jeffdaily enabled auto-merge (squash) November 10, 2026 22:19
Avoid AWS/OIDC auth failures on forked PRs by running PT2E ROCm under ciflow/rocm instead of pull_request; keep CUDA in regression_test_pt2e_gpu.yml.

Co-authored-by: Cursor <[email protected]>
[ROCm] Move PT2E ROCm tests to ciflow/rocm workflow
auto-merge was automatically disabled November 11, 2026 21:16

Head branch was pushed to by a user without write access

@jagadish-amd

Copy link
Copy Markdown
Contributor Author

PT2E tests are now passing.
Regression tests are failing due to E AttributeError: module 'torch.jit' has no attribute 'script' , which is due to torch nightly break. (not related to this PR)
cc @akashveramd

@jeffdaily
jeffdaily enabled auto-merge (squash) November 13, 2026 01:04

@vkuzo vkuzo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the triton part looks fine, I don't think changes to pt2e CI belong in this PR though

@jithunnair-amd

jithunnair-amd commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

@jagadish-amd Can you please separate out the changes to the pt2e workflows into another PR?

@jagadish-amd

Copy link
Copy Markdown
Contributor Author

@jagadish-amd Can you please separate out the changes to the pt2e workflows into another PR?

#5118

…_mxfp8"

This reverts commit 3c03fe4, reversing
changes made to 51eac45.
auto-merge was automatically disabled November 13, 2026 20:40

Head branch was pushed to by a user without write access

@jagadish-amd

Copy link
Copy Markdown
Contributor Author

the triton part looks fine, I don't think changes to pt2e CI belong in this PR though

reverted the pt2e fix, can we merge or do we need to run the workflows? the CI results are green for previous runs.

@jagadish-amd
jagadish-amd requested a review from vkuzo November 13, 2026 20:42
@vkuzo

vkuzo commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

@claude review

@claude

claude Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Claude finished @vkuzo's task in 53s —— View job


Review

  • Get the net diff against merge base 4ab9d61
  • Review the dim1 scale-store fix
  • Review the Triton 3.9 rank-0 program_id fixes
  • Check that the PT2E CI changes are gone
  • Post review

Verdict: LGTM to merge. The changes look correct, and your request to drop the PT2E change has been handled. One test gap from earlier reviews is still open. It doesn't block the merge.

PT2E CI changes: removed ✅

The net diff against main touches only 4 files: mx_formats/kernels.py, blockwise_fp8_training/kernels.py, moe_training/kernels/float8_rowwise.py and test_kernels.py. Commit ec31606 fully reverts the merged av_pt2e_rocm_ciflow_on_mxfp8 branch, and nothing under .github/workflows changes. That work now lives in #5118.

The branch history is messy: it contains a merge of the PT2E branch, the revert of it, and the old commit "Prune Triton autotune tiles". Please squash-merge and write a commit message that describes only the two fixes.

dim1 e8m0 scale store (torchao/prototype/mx_formats/kernels.py:724-742): correct

The logic hasn't changed since the last review.

  • Offsets: they are (start_col + c) * (n_rows // 32) + pid_row * BPRT + b, with the mask col < n_cols & block < scales_per_col. This gives the right slot for every tile config. When both tiles divide the shape, the offsets are the same as before.
  • Out-of-bounds writes: the fix also stops the column-tail write past the end of the scale tensor when COL_TILE_SIZE=256 and K=128 or K=384.
  • Autotune keys: they are back to the originals, and to_mxfp8_dim0_kernel is untouched.

Triton 3.9 fixes (ported from #5036): correct

  • blockwise_fp8_training/kernels.py:915-916: scale_offs and scale_mask used to be (1,1) blocks and are now scalars. scale is already a scalar because tl.max reduces the whole block. A masked scalar store writes the same single element, so behaviour doesn't change.
  • float8_rowwise.py:195-198, 254-257: a scalar expert_idx * stride plus a (1, BLOCK_K) tensor still broadcasts to (1, BLOCK_K). The shapes still match scales[None, :] in atomic_min and in the tl.load, so the result is the same as before.
  • No other cases: I searched torchao/ for other places that index a tl.program_id result with [:, None] or [None, :] and found none. The hadamard_utils.py hits index tl.arange tensors, which is fine.

Still open (doesn't block the merge)

  1. The test doesn't control which tile config runs (test/prototype/mx_formats/test_kernels.py:488-499). jeffdaily and I both raised this earlier.

    • Which config runs depends on autotune. The autotune key is only n_cols, so (512, 384) reuses the config tuned on (384, 384).
    • M=512 is divisible by every ROW_TILE_SIZE, so it never exercises the case the fix is for.
    • Comparing values can't catch the column-tail out-of-bounds write.

    A follow-up test could call to_mxfp8_dim1_kernel.fn[grid] directly for each (ROW_TILE_SIZE, COL_TILE_SIZE) pair. It should also allocate the scale buffer with extra bytes at the end, filled with a marker value, and check that they stay untouched. That would protect the fix from silent regressions.
    Fix this →

  2. Nit: the comment TODO(future): this mask is for row-major ... at kernels.py:721 is out of date. The mask is correct, because mask and col_major_offsets index the same (ROW_TILE_SIZE, COL_TILE_SIZE) elements. The comment can be deleted.

  3. Nit: the comment in the test, "512 covers a second row tile", is true only for 128-row and 256-row tiles.

I didn't run any tests because this runner has no SM100 or MI350 GPU.

@vkuzo
vkuzo merged commit 566d15e into pytorch:main Nov 16, 2026
20 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/rocm CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: training quantize_ api training flow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants