Skip to content

Commit

Permalink
pin torch < 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sampathweb committed Apr 23, 2024
1 parent 1ac17cc commit 7db85ba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements-jax-cuda.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ tensorflow-cpu~=2.16.1 # Pin to TF 2.16

# Torch cpu-only version (needed for testing).
--extra-index-url https://download.pytorch.org/whl/cpu
torch>=2.1.0
torch>=2.1.0, <2.3.0
torchvision>=0.16.0

# Jax with cuda support.
Expand Down
2 changes: 1 addition & 1 deletion requirements-tensorflow-cuda.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ tensorflow[and-cuda]~=2.16.1 # Pin to TF 2.16

# Torch cpu-only version (needed for testing).
--extra-index-url https://download.pytorch.org/whl/cpu
torch>=2.1.0
torch>=2.1.0, <2.3.0
torchvision>=0.16.0

# Jax cpu-only version (needed for testing).
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
tensorflow-cpu~=2.16.1 # Pin to TF 2.16

# Torch.
# TODO: Pin to < 2.3.0 (GitHub issue #19602)
--extra-index-url https://download.pytorch.org/whl/cpu
torch>=2.1.0
torch>=2.1.0, <2.3.0
torchvision>=0.16.0

# Jax.
Expand Down

0 comments on commit 7db85ba

Please sign in to comment.