Skip to content

Commit

Permalink
Add ROCM_VERSION to triton dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jithunnair-amd committed Mar 22, 2024
1 parent 608d4f4 commit be72ec9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manywheel/build_rocm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,9 @@ if [ ${PYTORCH_VERSION%%\.*} -ge 2 ]; then
TRITON_VERSION=$(cat $PYTORCH_ROOT/.ci/docker/triton_version.txt)

if [[ -z "$PYTORCH_EXTRA_INSTALL_REQUIREMENTS" ]]; then
export PYTORCH_EXTRA_INSTALL_REQUIREMENTS="pytorch-triton-rocm==${TRITON_VERSION}+${TRITON_SHORTHASH}"
export PYTORCH_EXTRA_INSTALL_REQUIREMENTS="pytorch-triton-rocm==${TRITON_VERSION}+${ROCM_VERSION}_${TRITON_SHORTHASH}"
else
export PYTORCH_EXTRA_INSTALL_REQUIREMENTS="${PYTORCH_EXTRA_INSTALL_REQUIREMENTS} | pytorch-triton-rocm==${TRITON_VERSION}+${TRITON_SHORTHASH}"
export PYTORCH_EXTRA_INSTALL_REQUIREMENTS="${PYTORCH_EXTRA_INSTALL_REQUIREMENTS} | pytorch-triton-rocm==${TRITON_VERSION}+${ROCM_VERSION}_${TRITON_SHORTHASH}"
fi
fi
fi
Expand Down

0 comments on commit be72ec9

Please sign in to comment.