mirror of
https://github.com/ROCm/jax.git
synced 2025-04-16 03:46:06 +00:00
Only initialize GPU backends if they are not already initialized
PiperOrigin-RevId: 456664792
This commit is contained in:
parent
b623ed58b0
commit
1908da33af
@ -6,3 +6,4 @@ pillow>=8.3.1,<9.1.0
|
||||
pytest-benchmark
|
||||
pytest-xdist
|
||||
wheel
|
||||
numpy<1.23.0
|
||||
|
@ -40,6 +40,9 @@ config.parse_flags_with_absl()
|
||||
@unittest.skipIf(not portpicker, "Test requires portpicker")
|
||||
class DistributedTest(jtu.JaxTestCase):
|
||||
|
||||
# TODO(phawkins): Enable after https://github.com/google/jax/issues/11222
|
||||
# is fixed.
|
||||
@unittest.SkipTest
|
||||
def testInitializeAndShutdown(self):
|
||||
# Tests the public APIs. Since they use global state, we cannot use
|
||||
# concurrency to simulate multiple tasks.
|
||||
|
Loading…
x
Reference in New Issue
Block a user