viable/strict/1788881383: [2/N][Test] Refactor and enable XPU for `TestSparseCompressed` (#193171)
- PyTorch: 660 events in the last 90 days
- PyTorch: 651th Release in the last 90 days
- Previous: earlier the same day · trunk/60147cf18442b8858a728ab0d5f77235f24a3e69
What happened
This change consists of the following 3 commits: Split class TestSparseCompressed into generic and device-dependent tests create two classes: TestSparseCompressed and TestSparseCompressedDevice move all generic tests (marked as @onlyCPU ) to TestSparseCompressed leave device-dependent tests in TestSparseCompressedDevice Fix TestSparseCompressed tests + add hw_classification use HardwareClassification.GENERIC remove…
Summary assembled by rule from the sources below