Skip to content

Commit

Permalink
[Release 2.5] Temp change to build triton from pin (#1982)
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman authored Sep 9, 2024
1 parent 1cdd6fa commit b19cd6e
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 @@ -285,7 +285,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" && "$OVERRIDE_PACKAGE_VERSION" =~ .*dev.* ]]; then
if [[ -n "$OVERRIDE_PACKAGE_VERSION" ]]; then
TRITON_SHORTHASH=$(cut -c1-10 $pytorch_rootdir/.github/ci_commit_pins/triton.txt)
export CONDA_TRITON_CONSTRAINT=" - torchtriton==${TRITON_VERSION}+${TRITON_SHORTHASH} # [py < 313]"
else
Expand Down

0 comments on commit b19cd6e

Please sign in to comment.