added @needs_torch to test_cuda_oom

This commit is contained in:
Roland Tannous 2026-02-11 16:12:37 +00:00
commit 1a6bfe51b6

View file

@ -316,6 +316,7 @@ class TestFormatErrorMessage:
# --- OOM on CUDA ---
@needs_torch
def test_cuda_oom(self):
err = Exception("CUDA out of memory")
with patch("utils.hardware.get_device", return_value=DeviceType.CUDA):