-
Notifications
You must be signed in to change notification settings - Fork 24.2k
Fixed an issue with XPU skip so the test_decompose_mem_bound_mm.py suite can be ran correctly #153245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Fixed an issue with XPU skip so the test_decompose_mem_bound_mm.py suite can be ran correctly #153245
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/153245
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (1 Unrelated Failure)As of commit 3e9a54f with merge base 86c6f71 ( FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update.
@pytorchbot rebase |
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
Successfully rebased |
3a84b04
to
e40b30c
Compare
I’m concerned that some test cases in |
@leslie-fang-intel , I'm not sure if the CPU test case should be part of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to audit the code for other places where skipIfXpu
might also be used to decorate the class?
Thanks @EikanWang, checked the test case
test_decompose_mm_cpu_m_1_k_64_n_32_should_decompose_False might relate to the heuristic update, will take a look.
|
Check current heuristic of mm decomposition in pytorch/torch/_inductor/fx_passes/decompose_mem_bound_mm.py Lines 79 to 82 in daca611
m_1_k_64_n_32 , it should be decomposed. I think we can update the test case.
|
Yes, I haven't done a sweep of the whole repo, but if the same decorator is used on another test class then it should be fixed. I only caught this by accident while working on older release branch because the tests don't even show as skipped if they are broken in such way.
|
I have another PR #151420 to ensure that @iupaikov-amd , regarding this PR, I suggest disabling this case for CPU first and submitting an issue to track the issue. |
There is no point in merging mine then if your PR fixes the underlying issue with this decorator. Let's proceed with any solution, I don't have a preference. |
Sure, please assign this issue to me and I will take further look. |
@leslie-fang-intel , I have not created an issue yet. Could you help create the issue directly and then assign it to yourselves? After that, pls. disable this test case. |
Sure, #153585 created to track the failure of Hi @iupaikov-amd would you like to disable this UT in this PR or I can also create another PR to disable it? Please kindly let me know your preference. Then after the landing of this PR, I will fix and re-enable this UT. |
@leslie-fang-intel , I just disabled this case and created an issue - #153616. |
Let's merge this and you can disable it in the other one. Thanks for the quick response! |
@pytorchbot rebase |
1 similar comment
@pytorchbot rebase |
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
Successfully rebased |
e40b30c
to
4693026
Compare
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
I just labeled this PR with |
@pytorchbot rebase |
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
Successfully rebased |
4693026
to
327d9f2
Compare
@pytorchbot rebase |
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
Successfully rebased |
327d9f2
to
3e9a54f
Compare
Fixes #153239
Replaced custom decorator with the common one. Although the better way to skip the whole suite would be to add it to skip list in run_test.py
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @chenyang78 @kadeng @muchulee8 @amjames @chauhang @aakhundov