← 返回事件
持续讨论AI发版

viable/strict/1791304443: [Test] Refactored test_swa_utils.py to have hw_classification (#192378)

图:PyTorch Releases

发生了什么

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…

摘要按规则整理自下方来源原文

为什么在扩散

来源