File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ if [[ "$PACKAGE_TYPE" =~ .*wheel.* && -n "${PYTORCH_EXTRA_INSTALL_REQUIREMENTS:
79
79
# Only linux Python < 3.12 are supported wheels for triton
80
80
TRITON_CONSTRAINT=" platform_system == 'Linux' and platform_machine == 'x86_64' and python_version < '3.12'"
81
81
TRITON_REQUIREMENT=" triton==${TRITON_VERSION} ; ${TRITON_CONSTRAINT} "
82
- if [[ -n " $PYTORCH_BUILD_VERSION " && " $PYTORCH_BUILD_VERSION " =~ . * dev. * ]]; then
82
+ if [[ -n " $PYTORCH_BUILD_VERSION " ]]; then
83
83
TRITON_SHORTHASH=$( cut -c1-10 $PYTORCH_ROOT /.ci/docker/ci_commit_pins/triton.txt)
84
84
TRITON_REQUIREMENT=" pytorch-triton==${TRITON_VERSION} +${TRITON_SHORTHASH} ; ${TRITON_CONSTRAINT} "
85
85
fi
89
89
# Set triton via PYTORCH_EXTRA_INSTALL_REQUIREMENTS for triton rocm package
90
90
if [[ " $PACKAGE_TYPE " =~ .* wheel.* && -n " $PYTORCH_BUILD_VERSION " && " $PYTORCH_BUILD_VERSION " =~ .* rocm.* && $( uname) == " Linux" && " $DESIRED_PYTHON " != " 3.12" ]]; then
91
91
TRITON_REQUIREMENT=" pytorch-triton-rocm==${TRITON_VERSION} "
92
- if [[ -n " $PYTORCH_BUILD_VERSION " && " $PYTORCH_BUILD_VERSION " =~ . * dev. * ]]; then
92
+ if [[ -n " $PYTORCH_BUILD_VERSION " ]]; then
93
93
TRITON_SHORTHASH=$( cut -c1-10 $PYTORCH_ROOT /.ci/docker/ci_commit_pins/triton-rocm.txt)
94
94
TRITON_REQUIREMENT=" pytorch-triton-rocm==${TRITON_VERSION} +${TRITON_SHORTHASH} "
95
95
fi
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ jobs:
114
114
115
115
docker exec -t "${container_name}" yum install -y zlib-devel zip
116
116
docker exec -t "${container_name}" "${PYTHON_EXECUTABLE}" -m pip install -U setuptools==67.4.0
117
- docker exec -t "${container_name}" "${PYTHON_EXECUTABLE}" /pytorch/.github/scripts/build_triton_wheel.py $BUILD_ROCM $RELEASE
117
+ docker exec -t "${container_name}" "${PYTHON_EXECUTABLE}" /pytorch/.github/scripts/build_triton_wheel.py $BUILD_ROCM
118
118
docker exec -t "${container_name}" chown -R 1000.1000 /artifacts
119
119
120
120
- uses : actions/upload-artifact@v3
@@ -241,7 +241,7 @@ jobs:
241
241
fi
242
242
243
243
docker exec -t "${container_name}" yum install -y llvm11 llvm11-devel llvm11-static llvm11-libs zlib-devel
244
- docker exec -t "${container_name}" python /pytorch/.github/scripts/build_triton_wheel.py --build-conda --py-version="${PY_VERS}" $RELEASE
244
+ docker exec -t "${container_name}" python /pytorch/.github/scripts/build_triton_wheel.py --build-conda --py-version="${PY_VERS}"
245
245
docker exec -t "${container_name}" chown -R 1000.1000 /artifacts
246
246
247
247
- uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments