[Inductor][CUDA][test] Fix test_mm_plus_mm3_dynamic_shapes_gpu_wrapper on CUDA#175569
Closed
NayanNagabhushana-28 wants to merge 2 commits intopytorch:mainfrom
Closed
[Inductor][CUDA][test] Fix test_mm_plus_mm3_dynamic_shapes_gpu_wrapper on CUDA#175569NayanNagabhushana-28 wants to merge 2 commits intopytorch:mainfrom
NayanNagabhushana-28 wants to merge 2 commits intopytorch:mainfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/175569
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 2043606 with merge base b9b2033 ( FLAKY - The following job failed but was likely due to flakiness present on trunk:
BROKEN TRUNK - The following job failed but was 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. |
jansel
approved these changes
Feb 28, 2026
Contributor
|
@pytorchbot merge -i |
Collaborator
Merge startedYour change will be merged while ignoring the following 0 checks: Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
pytorchmergebot
pushed a commit
that referenced
this pull request
Mar 6, 2026
# Motivation This PR aims to fix the CI failure on XPU. - `test_mm_plus_mm3` seems to only fail on CUDA. Already fixed in #175569 - `test_codegen_with_custom_heuristics_module` will fail on XPU due to `ModuleNotFoundError: No module named 'extension_triton_heuristics'`. This is because on CUDA CI, `is_parallel` is `False`, and on XPU CI, it is `True` due to a race condition. So we should add the path to `sys.path` in the parent process so that the` ExtensionCachingAutotuner` class can be resolved to boost the UT's robustness, whatever `is_parallel` it is. - skip `test_circular_dependencies` due to it is flaky on XPU, see #110040 https://github.com/pytorch/pytorch/blob/a88bb129e9d9e7572bc3a830ad5d148d74a63c48/torch/_inductor/async_compile.py#L385 # Additional Context fix #173473 fix #173344 fix #173916 fix #110040 Pull Request resolved: #176057 Approved by: https://github.com/jansel
EmanueleCoradin
pushed a commit
to EmanueleCoradin/pytorch
that referenced
this pull request
Mar 30, 2026
…r on CUDA (pytorch#175569) `test_mm_plus_mm3_gpu_wrapper` was marked xfail on CUDA but actually passes, causing XPASS. The expected failure was only in the `test_mm_plus_mm3_dynamic_shapes_gpu_wrapper`. Removed xfail from `test_mm_plus_mm3` in `test/inductor/test_select_algorithm.py` and added `test_mm_plus_mm3_dynamic_shapes` to `test_failures_gpu_wrapper` list in `test/inductor/test_gpu_cpp_wrapper.py` Fixes: pytorch#175546 CC: @eqy Pull Request resolved: pytorch#175569 Approved by: https://github.com/jansel
EmanueleCoradin
pushed a commit
to EmanueleCoradin/pytorch
that referenced
this pull request
Mar 30, 2026
# Motivation This PR aims to fix the CI failure on XPU. - `test_mm_plus_mm3` seems to only fail on CUDA. Already fixed in pytorch#175569 - `test_codegen_with_custom_heuristics_module` will fail on XPU due to `ModuleNotFoundError: No module named 'extension_triton_heuristics'`. This is because on CUDA CI, `is_parallel` is `False`, and on XPU CI, it is `True` due to a race condition. So we should add the path to `sys.path` in the parent process so that the` ExtensionCachingAutotuner` class can be resolved to boost the UT's robustness, whatever `is_parallel` it is. - skip `test_circular_dependencies` due to it is flaky on XPU, see pytorch#110040 https://github.com/pytorch/pytorch/blob/a88bb129e9d9e7572bc3a830ad5d148d74a63c48/torch/_inductor/async_compile.py#L385 # Additional Context fix pytorch#173473 fix pytorch#173344 fix pytorch#173916 fix pytorch#110040 Pull Request resolved: pytorch#176057 Approved by: https://github.com/jansel
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.
test_mm_plus_mm3_gpu_wrapperwas marked xfail on CUDA but actually passes, causing XPASS. The expected failure was only in thetest_mm_plus_mm3_dynamic_shapes_gpu_wrapper.Removed xfail from
test_mm_plus_mm3intest/inductor/test_select_algorithm.pyand addedtest_mm_plus_mm3_dynamic_shapestotest_failures_gpu_wrapperlist intest/inductor/test_gpu_cpp_wrapper.pyFixes: #175546
CC: @eqy
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @jataylo