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 ced930a commit 2608d66Copy full SHA for 2608d66
conda/build_pytorch.sh
@@ -408,7 +408,13 @@ for py_ver in "${DESIRED_PYTHON[@]}"; do
408
else
409
local_channel="$(pwd)/$output_folder"
410
fi
411
- conda install -y -c "file://$local_channel" pytorch==$PYTORCH_BUILD_VERSION -c pytorch -c numba/label/dev -c pytorch-nightly -c nvidia
+
412
+ CONDA_CHANNEL="pytorch-test"
413
+ if [[ -n "$OVERRIDE_PACKAGE_VERSION" && "$OVERRIDE_PACKAGE_VERSION" =~ .*dev.* ]]; then
414
+ CONDA_CHANNEL="pytorch-nightly"
415
+ fi
416
417
+ conda install -y -c "file://$local_channel" pytorch==$PYTORCH_BUILD_VERSION -c pytorch -c numba/label/dev -c $CONDA_CHANNEL -c nvidia
418
419
echo "$(date) :: Running tests"
420
pushd "$pytorch_rootdir"
0 commit comments