Skip to content

Commit cac2496

Browse files
lukebaumanncopybara-github
authored andcommitted
Updated the version to v0.0.8
PiperOrigin-RevId: 726291815
1 parent 08cacfe commit cac2496

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

pathwaysutils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
# A new PyPI release will be pushed every time `__version__` is increased.
3030
# When changing this, also update the CHANGELOG.md.
31-
__version__ = "v0.0.7"
31+
__version__ = "v0.0.8"
3232

3333

3434
# This is a brittle implementation since the platforms value is not necessarily

pathwaysutils/test/persistence_test.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ class PersistenceTest(absltest.TestCase):
1414
name = "name"
1515
dtype = np.dtype(np.int32)
1616
shape = [8, 4]
17-
timeout = datetime.timedelta(seconds=30)
17+
timeout = datetime.timedelta(seconds=3)
18+
19+
def setUp(self):
20+
jax.config.update("jax_platforms", "cpu")
21+
super().setUp()
1822

1923
def test_get_read_request(self):
2024
devices = jax.devices()

pathwaysutils/test/plugin_executable_test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313

1414
class PluginExecutableTest(absltest.TestCase):
1515

16+
def setUp(self):
17+
jax.config.update("jax_platforms", "cpu")
18+
super().setUp()
19+
1620
def test_bad_json_program(self):
1721
with self.assertRaisesRegex(XlaRuntimeError, "INVALID_ARGUMENT"):
1822
PluginExecutable('{"printTextRequest":{"badParamName":"foo"}}')

0 commit comments

Comments
 (0)