Skip to content

Commit 570a4bb

Browse files
committed
Test against Keras 3
1 parent 07e1cc2 commit 570a4bb

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

.github/workflows/actions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
- name: Install dependencies
6666
run: |
6767
pip install -r requirements.txt --progress-bar off
68+
pip install keras-nightly -U --progress-bar off
6869
pip install --no-deps -e "." --progress-bar off
6970
- name: Test with pytest
7071
env:

requirements-jax-cuda.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Tensorflow cpu-only version.
2-
tensorflow>=2.14.0
2+
tf-nightly==2.15.0.dev20231009 # Pin a working nightly until rc0.
3+
tensorflow-text-nightly==2.15.0.dev20231009 # Pin a working nightly until rc0.
34
tensorflow-text>=2.14.0
45

56
# Torch cpu-only version.

requirements-tensorflow-cuda.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Tensorflow with cuda support.
2-
tensorflow[and-cuda]>=2.14.0
3-
tensorflow-text>=2.14.0
2+
--extra-index-url https://pypi.nvidia.com
3+
tf-nightly[and-cuda]==2.15.0.dev20231009 # Pin a working nightly until rc0.
4+
tensorflow-text-nightly==2.15.0.dev20231009 # Pin a working nightly until rc0.
45

56
# Torch cpu-only version.
67
--extra-index-url https://download.pytorch.org/whl/cpu

requirements-torch-cuda.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Tensorflow cpu-only version.
2-
tensorflow>=2.14.0
3-
tensorflow-text>=2.14.0
2+
tf-nightly==2.15.0.dev20231009 # Pin a working nightly until rc0.
3+
tensorflow-text-nightly==2.15.0.dev20231009 # Pin a working nightly until rc0.
44

55
# Torch with cuda support.
66
--extra-index-url https://download.pytorch.org/whl/cu118

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Tensorflow.
2-
tensorflow>=2.14.0
3-
tensorflow-text>=2.14.0
2+
tf-nightly==2.15.0.dev20231009 # Pin a working nightly until rc0.
3+
tensorflow-text-nightly==2.15.0.dev20231009 # Pin a working nightly until rc0.
44

55
# Torch.
66
--extra-index-url https://download.pytorch.org/whl/cpu

0 commit comments

Comments
 (0)