From 6de508be7bcd27636ad99fdbcf5b6923e046859f Mon Sep 17 00:00:00 2001 From: AratiGanesh Date: Fri, 6 Feb 2026 15:50:42 -0600 Subject: [PATCH 1/2] Skipping testEighTinyNorm due to hipSolver issues --- tests/linalg_test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/linalg_test.py b/tests/linalg_test.py index 5fddd46644b8..7b0c9a7ecf79 100644 --- a/tests/linalg_test.py +++ b/tests/linalg_test.py @@ -570,7 +570,12 @@ def testEighZeroDiagonal(self): np.linalg.norm(np.matmul(a, v) - w * v), 2.5 * eps * np.linalg.norm(a) ) + def testEighTinyNorm(self): + if jtu.is_device_rocm(): + # numerical errors seen as of ROCm 7.2 due to hipSolver issue + # TODO: re-enable the test once the hipSolver issue is fixed + self.skipTest("testEighNorm not supported on ROCm due to hipSOLVER issue") rng = jtu.rand_default(self.rng()) a = rng((300, 300), dtype=np.float32) eps = jnp.finfo(a.dtype).eps From 6c5850d1d2c17defa1c11713e664a9e2613403ed Mon Sep 17 00:00:00 2001 From: AratiGanesh Date: Tue, 10 Feb 2026 13:46:48 -0600 Subject: [PATCH 2/2] Fix skip message: use correct function name testEighTinyNorm --- tests/linalg_test.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/linalg_test.py b/tests/linalg_test.py index 7b0c9a7ecf79..87032e005761 100644 --- a/tests/linalg_test.py +++ b/tests/linalg_test.py @@ -569,13 +569,11 @@ def testEighZeroDiagonal(self): self.assertLessEqual( np.linalg.norm(np.matmul(a, v) - w * v), 2.5 * eps * np.linalg.norm(a) ) - - def testEighTinyNorm(self): if jtu.is_device_rocm(): # numerical errors seen as of ROCm 7.2 due to hipSolver issue # TODO: re-enable the test once the hipSolver issue is fixed - self.skipTest("testEighNorm not supported on ROCm due to hipSOLVER issue") + self.skipTest("testEighTinyNorm not supported on ROCm due to hipSOLVER issue") rng = jtu.rand_default(self.rng()) a = rng((300, 300), dtype=np.float32) eps = jnp.finfo(a.dtype).eps