Repository navigation
[reland][ROCM][inductor][UT] Enable Inductor-Triton debug asserts on ROCm - #188075
naromero77amd wants to merge 6 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/188075
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 6 Unrelated Failures, 1 Unclassified FailureAs of commit d2dc2a4 with merge base 2831009 ( NEW FAILURE - The following job has failed:
UNCLASSIFIED FAILURE - DrCI could not classify the following job because the workflow did not run on the merge base. The failure may be pre-existing on trunk or introduced by this PR:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
BROKEN TRUNK - The following jobs 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. |
|
Warning: Unknown label
Please add the new label to .github/pytorch-probot.yml |
|
Warning: Unknown label
Please add the new label to .github/pytorch-probot.yml |
ad0ff57 to
8dc80e6
Compare
|
@claude Search through the CI logs under trunk for ROCm. Please verify that this test ran and PASSED: test_after_aot_cpu_runtime_error |
|
Claude finished @naromero77amd's task in 4m 7s —— View job Verification:
|
|
@ezyang has imported this pull request. If you are a Meta employee, you can view this in D109728458. |
Generated by apply-lint bot, see https://github.com/pytorch/pytorch/actions/runs/27042505463 (cherry picked from commit 452b56d)
Keep the ROCm debug-assert path enabled only when running with Triton 3.7 or newer, which is the first version that carries the required upstream support. Gate the minifier test the same way so older ROCm Triton builds stay compatible. Co-authored-by: Cursor <[email protected]>
Clarify why the HIP Triton debug-assert path is gated on Triton 3.7+ so the ROCm compatibility behavior is easier to follow. Also keep the helper call formatted the way lintrunner expects. Co-authored-by: Cursor <[email protected]>
|
Successfully rebased |
2930a14 to
eb2a39b
Compare
Clean merge with origin/main; no conflicts.
|
Claude finished @naromero77amd's task in 7m 37s —— View job CI comparison: this PR (#188075) vs #188307I could not directly pull #188307's logs. In this job the This PR's latest run (commit
|
This empty commit refreshes the no-code-change baseline to the current merge base of pytorch#188075 so ROCm Inductor CI runtime can be compared directly. Co-authored-by: Cursor <[email protected]>
|
@claude Do we have any timeouts in the latest CI logs? |
|
Claude finished @naromero77amd's task in 1m 42s —— View job Timeouts in the latest CI logs
Yes — there is one timeout.
Important distinction from my 2026-06-26 analysis: this is a slow-grind job timeout, not a single-test hang. The log shows steady forward progress the whole way — The other failures are NOT timeouts
Read on the one timeoutThe 270-min mi200 timeout is the same failure mode as before the rebase and is the one plausibly attributable to this PR: enabling |
|
After comparing this PR against the no-code-change baseline PR #188307 at the same merge base, I don't see evidence that this PR is causing ROCm Inductor timeouts or an appreciable test-time regression. A few notes from the ROCm Inductor shards:
So my read is: there is no clear evidence from this A/B run that the changes in this PR are causing the ROCm Inductor timeouts. The timeout-looking data is either present on the baseline too, or not directly comparable due to cancellation/infrastructure behavior. |
|
@pytorchbot merge -i |
|
The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command |
|
@pytorchbot merge -f 'Unrelated failures' |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
…ROCm (pytorch#188075) ## Summary - Reland the ROCm Inductor-Triton debug assert enablement from pytorch#186422. - Guard the HIP path on Triton 3.7+, which is the first Triton release with the required debug assert support. - Gate the ROCm minifier test on the same Triton version check and add a focused heuristic unit test for the guard. ## Context - The previous version of this change was reverted because it broke compatibility with Triton versions that predate debug assert support on ROCm. - This reland keeps the ROCm path disabled on older Triton builds while preserving the intended behavior on supported Triton versions. - This branch cherry-picks the original PR commits with `-x` and layers the ROCm Triton version guard on top. ## Old PR - Previous attempt: pytorch#186422 Made with [Cursor](https://cursor.com) Pull Request resolved: pytorch#188075 Approved by: https://github.com/ezyang, https://github.com/jansel Co-authored-by: Cursor <[email protected]> Co-authored-by: PyTorch MergeBot <[email protected]> Co-authored-by: Edward Z. Yang via mergedog <[email protected]>
…ROCm (pytorch#188075) ## Summary - Reland the ROCm Inductor-Triton debug assert enablement from pytorch#186422. - Guard the HIP path on Triton 3.7+, which is the first Triton release with the required debug assert support. - Gate the ROCm minifier test on the same Triton version check and add a focused heuristic unit test for the guard. ## Context - The previous version of this change was reverted because it broke compatibility with Triton versions that predate debug assert support on ROCm. - This reland keeps the ROCm path disabled on older Triton builds while preserving the intended behavior on supported Triton versions. - This branch cherry-picks the original PR commits with `-x` and layers the ROCm Triton version guard on top. ## Old PR - Previous attempt: pytorch#186422 Made with [Cursor](https://cursor.com) Pull Request resolved: pytorch#188075 Approved by: https://github.com/ezyang, https://github.com/jansel Co-authored-by: Cursor <[email protected]> Co-authored-by: PyTorch MergeBot <[email protected]> Co-authored-by: Edward Z. Yang via mergedog <[email protected]>
Summary
Context
-xand layers the ROCm Triton version guard on top.Old PR
Made with Cursor
cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @pragupta @jerrymannil @xinyazhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben