-
Notifications
You must be signed in to change notification settings - Fork 27.7k
Decorator skipIfXpu disables tests when used on class #150779
Copy link
Copy link
Open
Labels
high prioritymodule: ciRelated to continuous integrationRelated to continuous integrationmodule: regressionIt used to work, and now it doesn'tIt used to work, and now it doesn'tmodule: testingIssues related to the torch.testing module (not tests)Issues related to the torch.testing module (not tests)module: testsIssues related to tests (not the torch.testing module)Issues related to tests (not the torch.testing module)triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Metadata
Metadata
Assignees
Labels
high prioritymodule: ciRelated to continuous integrationRelated to continuous integrationmodule: regressionIt used to work, and now it doesn'tIt used to work, and now it doesn'tmodule: testingIssues related to the torch.testing module (not tests)Issues related to the torch.testing module (not tests)module: testsIssues related to tests (not the torch.testing module)Issues related to tests (not the torch.testing module)triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Type
Projects
Status
In Progress
🐛 Describe the bug
skipIfXpuis 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