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 7059798 commit 876bb30Copy full SHA for 876bb30
packaging/build_cmake.sh
@@ -42,7 +42,7 @@ else
42
PYTORCH_MUTEX_CONSTRAINT=''
43
fi
44
45
-conda install -yq \pytorch=$PYTORCH_VERSION $CONDA_CUDATOOLKIT_CONSTRAINT $PYTORCH_MUTEX_CONSTRAINT $MKL_CONSTRAINT numpy -c "pytorch-${UPLOAD_CHANNEL}"
+conda install -yq \pytorch=$PYTORCH_VERSION $CONDA_CUDATOOLKIT_CONSTRAINT $PYTORCH_MUTEX_CONSTRAINT $MKL_CONSTRAINT numpy -c nvidia -c "pytorch-${UPLOAD_CHANNEL}"
46
TORCH_PATH=$(dirname $(python -c "import torch; print(torch.__file__)"))
47
48
if [[ "$(uname)" == Darwin || "$OSTYPE" == "msys" ]]; then
0 commit comments