forked from keras-team/keras-hub
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update requirements and install instructions for multi-backend keras (k…
…eras-team#1257) * Update requirements and install instructions for multi-backend keras * Address comments * less strict bounds * Update to released tf-text * Match keras versions
- Loading branch information
1 parent
5bef6f3
commit 0378548
Showing
9 changed files
with
93 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,6 @@ namex | |
# Optional deps. | ||
rouge-score | ||
sentencepiece | ||
tensorflow-datasets | ||
# Breakage fix. | ||
ml-dtypes==0.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Tensorflow cpu-only version. | ||
tensorflow>=2.14.0 | ||
tensorflow-text>=2.14.0 | ||
|
||
# Torch cpu-only version. | ||
--extra-index-url https://download.pytorch.org/whl/cpu | ||
torch>=2.1.0 | ||
torchvision>=0.16.0 | ||
|
||
# Jax with cuda support. | ||
--find-links https://storage.googleapis.com/jax-releases/jax_cuda_releases.html | ||
jax[cuda12_pip] | ||
|
||
-r requirements-common.txt |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Tensorflow with cuda support. | ||
tensorflow[and-cuda]>=2.14.0 | ||
tensorflow-text>=2.14.0 | ||
|
||
# Torch cpu-only version. | ||
--extra-index-url https://download.pytorch.org/whl/cpu | ||
torch>=2.1.0 | ||
torchvision>=0.16.0 | ||
|
||
# Jax cpu-only version. | ||
jax[cpu] | ||
|
||
-r requirements-common.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Tensorflow cpu-only version. | ||
tensorflow>=2.14.0 | ||
tensorflow-text>=2.14.0 | ||
|
||
# Torch with cuda support. | ||
--extra-index-url https://download.pytorch.org/whl/cu118 | ||
torch==2.1.0 | ||
torchvision==0.16.0 | ||
|
||
# Jax cpu-only version. | ||
jax[cpu] | ||
|
||
-r requirements-common.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
# Core deps. | ||
tensorflow~=2.13.0 | ||
tensorflow-text~=2.13.0 | ||
tensorflow-datasets | ||
# Tensorflow. | ||
tensorflow>=2.14.0 | ||
tensorflow-text>=2.14.0 | ||
|
||
# Torch. | ||
--extra-index-url https://download.pytorch.org/whl/cpu | ||
torch>=2.1.0 | ||
torchvision>=0.16.0 | ||
|
||
# Jax. | ||
jax[cpu] | ||
|
||
# Common deps. | ||
-r requirements-common.txt |