Skip to content

Commit ba3e20b

Browse files
authored
[Release Only] Build triton using pinned version rather branch (#1729)
1 parent cd7a668 commit ba3e20b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conda/build_pytorch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ else
282282
if [[ "$OSTYPE" != "msys" ]]; then
283283
# TODO: Remove me when Triton has a proper release channel
284284
TRITON_VERSION=$(cat $pytorch_rootdir/.ci/docker/triton_version.txt)
285-
if [[ -n "$OVERRIDE_PACKAGE_VERSION" && "$OVERRIDE_PACKAGE_VERSION" =~ .*dev.* ]]; then
285+
if [[ -n "$OVERRIDE_PACKAGE_VERSION" ]]; then
286286
TRITON_SHORTHASH=$(cut -c1-10 $pytorch_rootdir/.github/ci_commit_pins/triton.txt)
287287
export CONDA_TRITON_CONSTRAINT=" - torchtriton==${TRITON_VERSION}+${TRITON_SHORTHASH} # [py < 312]"
288288
else

0 commit comments

Comments
 (0)