viable/strict/1792493526: [Test][XPU] Refactor test_torch.py and enable XPU (#197120)
- PyTorch: 2599 events in the last 90 days
- PyTorch: 2560th Release in the last 90 days
- Previous: earlier the same day · viable/strict/1792492019: [FSDP2] Separate collective copy preparation from execution (#200034)
What happened
Created TestTorchDeviceSpecific and move cuda specific test into it. Added hw_classification Remove redundant @onlyNativeDeviceTypes Enabled XPU and skipped cases failed due to known issues. Pull Request resolved: #197120 Approved by: https://github.com/CuiYifeng , https://github.com/etaf , https://github.com/jansel
Summary assembled by rule from the sources below