Skip to content

Commit

Permalink
Ignore test requiring GPU
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceyron committed Sep 5, 2024
1 parent 0e5934d commit 1b2f310
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/test_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ def test_plot_state_2d():
plt.close(fig)


def test_plot_state_3d():
state = jax.random.normal(jax.random.PRNGKey(0), (1, 32, 32, 32))
# # Requires a GPU and therefore cannot easily be tested on GitHub Actions

fig = ex.viz.plot_state_3d(state)
plt.close(fig)
# def test_plot_state_3d():
# state = jax.random.normal(jax.random.PRNGKey(0), (1, 32, 32, 32))

# fig = ex.viz.plot_state_3d(state)
# plt.close(fig)

0 comments on commit 1b2f310

Please sign in to comment.