Skip to content

Commit

Permalink
Merge pull request #83 from giotherobot/patch-1
Browse files Browse the repository at this point in the history
Actually loosen jax and pytorch dependencies
  • Loading branch information
xhochy authored Mar 21, 2024
2 parents 201c987 + b88e5e6 commit 03d2cd3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .azure-pipelines/azure-pipelines-linux.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ source:
build:
script: {{ PYTHON }} -m pip install . -vv
noarch: python
number: 0
number: 1

requirements:
host:
Expand All @@ -33,17 +33,17 @@ requirements:
- ml_dtypes
run_constrained:
- tensorflow >=2.15.0,<2.17.0a
- jax 0.4
- torch 2.1
- jax 0.4.*
- pytorch 2.1.*

test:
requires:
- pip
- jax
commands:
- pip check
# even the numpy backend requires jax....
# https://github.com/keras-team/keras/issues/18840
# - KERAS_BACKEND=numpy python -c "import keras"
- KERAS_BACKEND=numpy python -c "import keras"
- KERAS_BACKEND=jax python -c "import keras"

about:
home: https://github.com/keras-team/keras
Expand Down

0 comments on commit 03d2cd3

Please sign in to comment.