You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance test_autoquant_compile to support ROCm (#2100)
* Enhance test_autoquant_compile to support ROCm and improve device checks
- Added checks for ROCm availability alongside CUDA.
- Improved device capability checks for CUDA to ensure compatibility with bfloat16 and specific tensor shapes.
- Updated skip conditions for unsupported devices and older PyTorch versions.
* lint
* Refactor device checks in test_autoquant_compile for improved clarity
- Simplified the logic for checking supported devices by consolidating CUDA and ROCm checks.
- Enhanced readability of the device capability validation for CUDA.
- Updated skip conditions for unsupported devices to ensure accurate test execution.
* Fix formatting in device check condition for consistency in test_autoquant_compile
* Refactor device check formatting in test_autoquant_compile for improved readability
- Adjusted the formatting of the device check condition to enhance clarity.
- Consolidated the logic for checking supported devices while maintaining functionality.
0 commit comments