Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions requirements-jax-cuda.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Tensorflow cpu-only version.
tensorflow-cpu~=2.19
tensorflow-text~=2.19
tensorflow-cpu
tensorflow-text>=2.20.1

# Torch cpu-only version.
--extra-index-url https://download.pytorch.org/whl/cpu
Expand Down
4 changes: 2 additions & 2 deletions requirements-tensorflow-cuda.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Tensorflow with cuda support.
tensorflow[and-cuda]~=2.19
tensorflow-text~=2.19
tensorflow[and-cuda]
tensorflow-text>=2.20.1

# 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-cpu~=2.19
tensorflow-text~=2.19
tensorflow-cpu
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Removing the version pin for tensorflow-cpu entirely makes the dependency resolution fragile. To prevent potential future breakages with new TensorFlow releases, I recommend setting a minimum version.

tensorflow-cpu>=2.19

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tf-text>=2.20.1 automatically ensures minimum version of tensorflow >=2.20

tensorflow-text>=2.20.1

# Torch with cuda support.
--extra-index-url https://download.pytorch.org/whl/cu126
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Tensorflow.
tensorflow-cpu~=2.19.0;sys_platform != 'darwin'
tensorflow~=2.19.0;sys_platform == 'darwin'
tensorflow-text~=2.19;platform_system != 'Windows'
tensorflow-cpu;sys_platform != 'darwin'
tensorflow;sys_platform == 'darwin'
tensorflow-text>=2.20.1;platform_system != 'Windows'

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