Skip to content

Commit 3e985d5

Browse files
Fix Pytorch GPU test (#2087)
* Update requirements-torch-cuda.txt * Update requirements-torch-cuda.txt * Update requirements.txt * Update requirements-torch-cuda.txt
1 parent a80ea28 commit 3e985d5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

requirements-torch-cuda.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ tensorflow-cpu~=2.18
33
tensorflow-text~=2.18
44

55
# Torch with cuda support.
6-
--extra-index-url https://download.pytorch.org/whl/cu121
7-
torch==2.6.0+cpu
8-
torchvision==0.21.0+cpu
6+
--extra-index-url https://download.pytorch.org/whl/cu126
7+
torch==2.6.0+cu126
8+
torchvision==0.21.0+cu126
99

1010
# Jax cpu-only version.
1111
jax[cpu]

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tensorflow-text~=2.18
44

55
# Torch.
66
--extra-index-url https://download.pytorch.org/whl/cpu
7-
torch>=2.1.0
7+
torch>=2.6.0
88
torchvision>=0.16.0
99

1010
# Jax.

0 commit comments

Comments
 (0)