Skip to content

Commit 2608d66

Browse files
authored
[Release Only] Build triton using pinned version rather branch (#1729) (#1754)
1 parent ced930a commit 2608d66

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

conda/build_pytorch.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,13 @@ for py_ver in "${DESIRED_PYTHON[@]}"; do
408408
else
409409
local_channel="$(pwd)/$output_folder"
410410
fi
411-
conda install -y -c "file://$local_channel" pytorch==$PYTORCH_BUILD_VERSION -c pytorch -c numba/label/dev -c pytorch-nightly -c nvidia
411+
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
412418

413419
echo "$(date) :: Running tests"
414420
pushd "$pytorch_rootdir"

0 commit comments

Comments
 (0)