Skip to content

Commit

Permalink
relax to jax>=0.4.27
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Schubert authored and Martin Schubert committed Jan 15, 2025
1 parent 6cef995 commit d1b843f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ jobs:
- name: Run Python tests
run: pytest tests/challenges/metalens

tests-misc-jax-0_4_31:
tests-misc-jax-0_4_27:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
Expand All @@ -225,15 +225,15 @@ jobs:
- name: Setup environment
run: |
python -m pip install --upgrade pip
pip install --upgrade "jax[cpu]==0.4.27"
pip install ".[tests,dev]"
pip install --upgrade "jax==0.4.31"
- name: Run Python tests
run: |
pytest tests/utils
pytest tests/loss
tests-bayer-jax-0_4_31:
tests-bayer-jax-0_4_27:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
Expand All @@ -250,13 +250,13 @@ jobs:
- name: Setup environment
run: |
python -m pip install --upgrade pip
pip install --upgrade "jax[cpu]==0.4.27"
pip install ".[tests,dev]"
pip install --upgrade "jax==0.4.31"
- name: Run Python tests
run: pytest tests/challenges/bayer

tests-ceviche-jax-0_4_31:
tests-ceviche-jax-0_4_27:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
Expand All @@ -273,13 +273,13 @@ jobs:
- name: Setup environment
run: |
python -m pip install --upgrade pip
pip install --upgrade "jax[cpu]==0.4.27"
pip install ".[tests,dev]"
pip install --upgrade "jax==0.4.31"
- name: Run Python tests
run: pytest tests/challenges/ceviche

tests-diffract-jax-0_4_31:
tests-diffract-jax-0_4_27:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
Expand All @@ -296,13 +296,13 @@ jobs:
- name: Setup environment
run: |
python -m pip install --upgrade pip
pip install --upgrade "jax[cpu]==0.4.27"
pip install ".[tests,dev]"
pip install --upgrade "jax==0.4.31"
- name: Run Python tests
run: pytest tests/challenges/diffract

tests-extractor-jax-0_4_31:
tests-extractor-jax-0_4_27:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
Expand All @@ -319,13 +319,13 @@ jobs:
- name: Setup environment
run: |
python -m pip install --upgrade pip
pip install --upgrade "jax[cpu]==0.4.27"
pip install ".[tests,dev]"
pip install --upgrade "jax==0.4.31"
- name: Run Python tests
run: pytest tests/challenges/extractor

tests-library-jax-0_4_31:
tests-library-jax-0_4_27:
runs-on: ubuntu-latest
timeout-minutes: 8
steps:
Expand All @@ -342,13 +342,13 @@ jobs:
- name: Setup environment
run: |
python -m pip install --upgrade pip
pip install --upgrade "jax[cpu]==0.4.27"
pip install ".[tests,dev]"
pip install --upgrade "jax==0.4.31"
- name: Run Python tests
run: pytest tests/challenges/library

tests-metalens-jax-0_4_31:
tests-metalens-jax-0_4_27:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
Expand All @@ -365,8 +365,8 @@ jobs:
- name: Setup environment
run: |
python -m pip install --upgrade pip
pip install --upgrade "jax[cpu]==0.4.27"
pip install ".[tests,dev]"
pip install --upgrade "jax==0.4.31"
- name: Run Python tests
run: pytest tests/challenges/metalens
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies = [
"agjax",
"ceviche_challenges",
"fmmax",
"jax >= 0.4.31, <=0.4.35",
"jax >= 0.4.27, <=0.4.35",
"jaxlib",
"numpy",
"refractiveindex2",
Expand Down

0 comments on commit d1b843f

Please sign in to comment.