Reverts 5fcd9265b1e20c41d684659af3d52c41f25ae2f3

PiperOrigin-RevId: 563426073
This commit is contained in:
Peter Hawkins 2023-09-07 07:34:53 -07:00 committed by jax authors
parent e4b9e5cdb5
commit 429422dfea

View File

@ -18,7 +18,6 @@ from functools import partial
import itertools
import math
import operator
import platform
import random
import unittest
from typing import NamedTuple
@ -196,7 +195,6 @@ def _is_required_cuda_version_satisfied(cuda_version):
return int(version.split()[-1]) >= cuda_version
@unittest.skipIf(platform.system() == "Windows", "Test crashes on Windows")
class cuSparseTest(sptu.SparseTestCase):
def gpu_dense_conversion_warning_context(self, dtype):
if jtu.device_under_test() == "gpu" and np.issubdtype(dtype, np.integer):
@ -775,7 +773,6 @@ class cuSparseTest(sptu.SparseTestCase):
self.assertArraysAllClose(actual, expected)
@unittest.skipIf(platform.system() == "Windows", "Test crashes on Windows")
class BCOOTest(sptu.SparseTestCase):
def gpu_matmul_warning_context(self, msg):
@ -2196,7 +2193,6 @@ class BCOOTest(sptu.SparseTestCase):
# TODO(tianjianlu): Unify the testing for BCOOTest and BCSRTest.
@unittest.skipIf(platform.system() == "Windows", "Test crashes on Windows")
class BCSRTest(sptu.SparseTestCase):
@jtu.sample_product(