Skip to content

Commit acd6f3c

Browse files
authored
fixed torch version issue for macOS (#21136)
1 parent e61e83d commit acd6f3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

requirements.txt

+2-1
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)