← Back to events
ActiveAIRelease

viable/strict/1788272892: [Test] Generalize `test_mkldnn.py` tests and enable on XPU (#191740)

What happened

This PR refactors and generalizes the test_mkldnn.py tests to support multiple accelerator devices (CUDA, XPU, etc.) instead of being hard-coded to CUDA. The changes extract device-dependent tests into a separate class and parameterize them to run on all supported devices. Changes/Commits: Cleanup TestMkldnn class: Remove obsolete empty lines Remove unused device arguments review can be brief, focusing on code organ…

Summary assembled by rule from the sources below

Why it's spreading

Sources