← Back to events
ActiveAIRelease

viable/strict/1792365816: [3/N] Refactor `TestAOTAutogradDevice` and enable for XPU (#196443)

What happened

replace unittest.skipIf with onlyAccelerator remove hardcoded cuda devices use parametrization via device parameter migrate XPU specific changes add allow_xpu=True instantiate the WithDynamo / WithCache variants per device as well instantiate_device_type_tests() only collects tests from generic_test_class.__dict__ and then deletes them from that class, so the TestAOTAutogradDeviceWithDynamo / TestAOTAutogradDeviceWi…

Summary assembled by rule from the sources below

Why it's spreading

Sources