Skip to content

Commit

Permalink
Revert "[Release Only] Build triton using pinned version rather branc…
Browse files Browse the repository at this point in the history
…h" (pytorch#1751)

This reverts commit ba3e20b.
  • Loading branch information
atalman authored Mar 21, 2024
1 parent ba3e20b commit ced930a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda/build_pytorch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ else
if [[ "$OSTYPE" != "msys" ]]; then
# TODO: Remove me when Triton has a proper release channel
TRITON_VERSION=$(cat $pytorch_rootdir/.ci/docker/triton_version.txt)
if [[ -n "$OVERRIDE_PACKAGE_VERSION" ]]; then
if [[ -n "$OVERRIDE_PACKAGE_VERSION" && "$OVERRIDE_PACKAGE_VERSION" =~ .*dev.* ]]; then
TRITON_SHORTHASH=$(cut -c1-10 $pytorch_rootdir/.github/ci_commit_pins/triton.txt)
export CONDA_TRITON_CONSTRAINT=" - torchtriton==${TRITON_VERSION}+${TRITON_SHORTHASH} # [py < 312]"
else
Expand Down

0 comments on commit ced930a

Please sign in to comment.