Skip to content

Commit

Permalink
skip new optix test on tpu (cf. google#2350)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjj committed Mar 10, 2020
1 parent 5c3b478 commit cc53aa9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/optix_test.py
Expand Up @@ -19,7 +19,7 @@
from jax import numpy as jnp
from jax.experimental import optimizers
from jax.experimental import optix
import jax.test_util # imported only for flags
import jax.test_util
from jax.tree_util import tree_leaves
import numpy as onp

Expand Down Expand Up @@ -60,6 +60,7 @@ def test_sgd(self):
for x, y in zip(tree_leaves(jax_params), tree_leaves(optix_params)):
onp.testing.assert_allclose(x, y, rtol=1e-5)

jax.test_util.skip_on_devices("tpu")
def test_apply_every(self):
# The frequency of the application of sgd
k = 4
Expand Down

0 comments on commit cc53aa9

Please sign in to comment.