Repository navigation
[inductor][ROCm] Only expect exp/silu property failures off MI350 - #199547
Closed
warrendeng wants to merge 1 commit into
Closed
warrendeng wants to merge 1 commit into
warrendeng wants to merge 1 commit into
Conversation
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.
🔗 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 ( 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.
Contributor
Author
|
will land this change in #190440 to prevent CI breakage |
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Triton 3.9 fixes
expcodegen on gfx950, so theexp/nn.functional.silufp32eager_equivalenceandexpfp32unary_numericalcases intest_torchinductor_opinfo_properties.pynow 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 LLVMce352942->d26ff26e).