viable/strict/1791304443: [Test] Refactored test_swa_utils.py to have hw_classification (#192378)
- PyTorch 近 90 天出现 1965 次
- PyTorch 近 90 天第 1939 次发版
- 上一次:同一天稍早 · viable/strict/1791287563: [inductor-perf] allow fusion into template epilogue inputs. (#198809)
发生了什么
Summary Apply hardware classification structure following #186918 guidelines. Changes: Split TestSWAUtils into TestSWAUtilsGeneric (GENERIC, 4 tests) + TestSWAUtils (ACCELERATOR, 5 tests) - Split TestSWAUtils because @onlyCPU tests never use the device parameter and test pure CPU-side logic with no accelerator involvement. Move SWATestDNN and SWATestCNN to module level (shared by both classes) Remove @onlyCPU decora…
摘要按规则整理自下方来源原文