Skip to content

Commit 5312c75

Browse files
nithin9000chiruu12
authored andcommitted
fixed torch version issue for macOS (keras-team#21136)
1 parent ebb2482 commit 5312c75

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ tf2onnx
66

77
# Torch.
88
--extra-index-url https://download.pytorch.org/whl/cpu
9-
torch==2.6.0+cpu
9+
torch==2.6.0+cpu;sys_platform != 'darwin'
10+
torch==2.6.0;sys_platform == 'darwin'
1011
torch-xla==2.6.0;sys_platform != 'darwin'
1112

1213
# Jax.

0 commit comments

Comments
 (0)