-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Decorator skipIfXpu
disables tests when used on class
#150779
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
Comments
skipIfXpu
disables tests when used on class
It's used as a class decorator in these test files:
|
|
[Edit] Removing |
@exclamaforte yeah, this is not the intended behavior, let me revert all Also, if I remember correctly, |
@malfet sounds like a good idea! The autoheuristic tests seem broken, I'll make a PR to reenable the autoheuristic tests because I'm working on the feature right now. The others I'm not as familiar with. |
Taking AIs to:
|
Uh oh!
There was an error while loading. Please reload this page.
🐛 Describe the bug
skipIfXpu
is used on classes, for example intest_autoheuristic.py
:If you try to run the tests:
No tests found:
Running a class member function with skipIfXpu seems to work, however:
Versions
h100 devserver
cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @seemethere @malfet @pytorch/pytorch-dev-infra @mruberry @ZainRizvi @gujinghui @EikanWang @fengyuan14 @guangyey
The text was updated successfully, but these errors were encountered: