Skip to content

Commit

Permalink
TST: Only test on CPU (faster)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Stevens-Haas committed Oct 16, 2024
1 parent e4b9b95 commit 3c2db9b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"""
from pathlib import Path

import jax
import numpy as np
import pytest
from scipy.integrate import solve_ivp
Expand All @@ -20,6 +21,8 @@
from pysindy.utils.odes import lorenz
from pysindy.utils.odes import lorenz_control

jax.config.update("jax_platform_name", "cpu")


def pytest_addoption(parser):
parser.addoption(
Expand Down

0 comments on commit 3c2db9b

Please sign in to comment.