Skip to content

[inductor][ROCm] Only expect exp/silu property failures off MI350 - #199547

Closed
warrendeng wants to merge 1 commit into
mainfrom
t291156171-mi350-xfail-cleanup
Closed

warrendeng wants to merge 1 commit into
mainfrom
t291156171-mi350-xfail-cleanup

Conversation

@warrendeng

@warrendeng warrendeng commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Triton 3.9 fixes exp codegen on gfx950, so the exp/nn.functional.silu fp32 eager_equivalence and exp fp32 unary_numerical cases in test_torchinductor_opinfo_properties.py now pass on MI350 and their strict ROCM xfails fail CI with XPASS (seen in #197852 CI, MI350 default shards 3/8, 4/8, 7/8).

We need to update these tests for gfx950 only.

We bisected the improvement to triton-lang/triton#11916 (6264aa3359, AMD CodeGen LLVM ce352942 -> d26ff26e).

Summary:
The near-tip Triton 3.9 pin (`aad2a60d`, AMD CodeGen LLVM `6bc4aaf6`)
fixed `exp` codegen on gfx950: the `exp`/`nn.functional.silu` fp32
`eager_equivalence` and `exp` fp32 `unary_numerical` cases in
`test_torchinductor_opinfo_properties.py` now pass on MI350, so their
strict `ROCM_*_XFAILS` entries fail CI with XPASS (T291156171).

Bisected the improvement to Triton PR #11916 (`6264aa3359`, AMD CodeGen
LLVM `ce352942` -> `d26ff26e`); before it, 1.4% of exp outputs had
1e32-scale errors on MI350.

Relieve those three xfail entries on gfx950 only, following the existing
runtime `isRocmArchAnyOf` precedent in `is_expected_failure`. Other ROCm
archs stay xfailed: trunk runs MI300 default shards and the improvement is
unverified there, so a full removal could break MI300 trunk with real
failures. Must land after the Triton pin update.

Test Plan:
MI350 (gfx950), container `rocm/dev-ubuntu-24.04:10.0.0-full`, Triton
`aad2a60d` built from source with official sha-verified amd-codegen:
`PYTORCH_TEST_WITH_ROCM=1 python -m pytest` on the three cases
(`test_eager_equivalence_exp/silu`, `test_unary_ufunc_numerical_exp`,
all `inductor_default/cuda/float32`) => 3 passed. Neighbors `sigmoid`
eager_equivalence and `sin` unary_numerical still XFAIL (no overreach).
Old pin `c01b6774` + this change => 3 real numeric failures, confirming
pin-then-cleanup ordering. `ruff format --check` and `ruff check` clean.
@pytorch-bot

pytorch-bot Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ You can merge normally! (2 Unrelated Failures)

As of commit 801adf0 with merge base 4a25809 (image):

UNSTABLE - The following jobs are marked as unstable, possibly due to flakiness on trunk:

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

warrendeng added a commit that referenced this pull request Oct 3, 2026
Fold the MI350-only xfail adjustment from #199547 into the Triton 3.9 pin so neither change lands alone in a failing intermediate state. Upstream fix: triton-lang/triton#11916.
@warrendeng

Copy link
Copy Markdown
Contributor Author

will land this change in #190440 to prevent CI breakage

@warrendeng warrendeng closed this Oct 3, 2026
warrendeng added a commit that referenced this pull request Oct 3, 2026
Fold the MI350-only xfail adjustment from #199547 into the Triton 3.9 pin so neither change lands alone in a failing intermediate state. Upstream fix: triton-lang/triton#11916.
pytorchmergebot pushed a commit that referenced this pull request Oct 4, 2026
Fold the MI350-only xfail adjustment from #199547 into the Triton 3.9 pin so neither change lands alone in a failing intermediate state. Upstream fix: triton-lang/triton#11916.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant