Skip to content

Commit

Permalink
Fix cpu/gpu ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alanwaketan committed Mar 19, 2024
1 parent a82b5c6 commit 0115d0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_pallas.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

import torch_xla
from torch_xla import runtime as xr
from torch_xla.experimental.custom_kernel import jax_import_guard

if xr.device_type() == 'TPU':
from torch_xla.experimental.custom_kernel import jax_import_guard
jax_import_guard()
import jax
import jax.numpy as jnp
Expand Down

0 comments on commit 0115d0f

Please sign in to comment.