We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd26577 commit 849cba1Copy full SHA for 849cba1
script/torch.sh
@@ -1,6 +1,12 @@
1
#!/bin/bash
2
3
-conda install pytorch="${TORCH_VERSION}" "${TOOLKIT}" -c pytorch --yes
+if [ "${TRAVIS_OS_NAME}" != "osx" ]; then
4
+ conda install pytorch="${TORCH_VERSION}" "${TOOLKIT}" -c pytorch --yes
5
+fi
6
+
7
+if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
8
+ conda install pytorch="${TORCH_VERSION}" -c pytorch --yes
9
10
11
# Fix "member may not be initialized" error on Windows: https://github.com/pytorch/pytorch/issues/27958
12
if [ "${TRAVIS_OS_NAME}" = "windows" ] && [ "${IDX}" != "cpu" ]; then
0 commit comments