Skip to content

Commit d6c7042

Browse files
Merge branch 'rocm-jaxlib-v0.6.0-rc' of https://github.com/ROCm/jax into ut-0.6.0-skip-failing
2 parents 8952ae3 + f95ad1a commit d6c7042

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

jax/_src/test_util.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
import threading
3535
from typing import Any, TextIO
3636
import unittest
37-
import warnings
3837
import zlib
3938

4039
from absl.testing import parameterized
@@ -404,7 +403,6 @@ def get_rocm_version():
404403
major, minor, *_ = version_str.split(".")
405404
return int(major), int(minor)
406405
except FileNotFoundError:
407-
warnings.warn("ROCm was not installed")
408406
raise unittest.SkipTest("ROCm was not installed")
409407

410408
def is_device_cuda():

0 commit comments

Comments
 (0)