Skip to content

Commit

Permalink
Test against Keras 3
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdangerw committed Oct 18, 2023
1 parent 07e1cc2 commit 570a4bb
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
- name: Install dependencies
run: |
pip install -r requirements.txt --progress-bar off
pip install keras-nightly -U --progress-bar off
pip install --no-deps -e "." --progress-bar off
- name: Test with pytest
env:
Expand Down
3 changes: 2 additions & 1 deletion requirements-jax-cuda.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Tensorflow cpu-only version.
tensorflow>=2.14.0
tf-nightly==2.15.0.dev20231009 # Pin a working nightly until rc0.
tensorflow-text-nightly==2.15.0.dev20231009 # Pin a working nightly until rc0.
tensorflow-text>=2.14.0

# Torch cpu-only version.
Expand Down
5 changes: 3 additions & 2 deletions requirements-tensorflow-cuda.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Tensorflow with cuda support.
tensorflow[and-cuda]>=2.14.0
tensorflow-text>=2.14.0
--extra-index-url https://pypi.nvidia.com
tf-nightly[and-cuda]==2.15.0.dev20231009 # Pin a working nightly until rc0.
tensorflow-text-nightly==2.15.0.dev20231009 # Pin a working nightly until rc0.

# Torch cpu-only version.
--extra-index-url https://download.pytorch.org/whl/cpu
Expand Down
4 changes: 2 additions & 2 deletions requirements-torch-cuda.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Tensorflow cpu-only version.
tensorflow>=2.14.0
tensorflow-text>=2.14.0
tf-nightly==2.15.0.dev20231009 # Pin a working nightly until rc0.
tensorflow-text-nightly==2.15.0.dev20231009 # Pin a working nightly until rc0.

# Torch with cuda support.
--extra-index-url https://download.pytorch.org/whl/cu118
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Tensorflow.
tensorflow>=2.14.0
tensorflow-text>=2.14.0
tf-nightly==2.15.0.dev20231009 # Pin a working nightly until rc0.
tensorflow-text-nightly==2.15.0.dev20231009 # Pin a working nightly until rc0.

# Torch.
--extra-index-url https://download.pytorch.org/whl/cpu
Expand Down

0 comments on commit 570a4bb

Please sign in to comment.