File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
0.6b
2
2
manylinux_2_17
3
- rocm6
3
+ rocm6.1
4
4
04b5df8c8123f90cba3ede7e971e6fbc6040d506
5
- 3db6ecbc915893ff967abd6e1b43bd5f54949868873be60dc802086c3863e648
5
+ 77c29fa3f3b614e187d7213d745e989a92708cee2bc6020419ab49019af399d1
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ TARBALL='aotriton.tar.bz2'
7
7
read -d " \n" VER MANYLINUX ROCMBASE PINNED_COMMIT SHA256 < aotriton_version.txt || true
8
8
ARCH=$( uname -m)
9
9
AOTRITON_INSTALL_PREFIX=" $1 "
10
- AOTRITON_URL=" https://github.com/ROCm/aotriton/releases/download/${VER} /aotriton-${VER} -${MANYLINUX} _${ARCH} -${ROCMBASE} .tar.bz2"
10
+ AOTRITON_URL=" https://github.com/ROCm/aotriton/releases/download/${VER} /aotriton-${VER} -${MANYLINUX} _${ARCH} -${ROCMBASE} -shared .tar.bz2"
11
11
12
12
cd " ${AOTRITON_INSTALL_PREFIX} "
13
13
# Must use -L to follow redirects
Original file line number Diff line number Diff line change 184
184
OS_SO_FILES[${# OS_SO_FILES[@]} ]=$file_name # Append lib to array
185
185
done
186
186
187
+ # PyTorch-version specific
188
+ # AOTriton dependency only for PyTorch >= 2.4
189
+ if (( $(echo "${PYTORCH_VERSION} 2 .4 " | awk '{print ($1 >= $2 )}') )) ; then
190
+ ROCM_SO_FILES+=(" libaotriton_v2.so" )
191
+ fi
192
+
187
193
# rocBLAS library files
188
194
if [[ $ROCM_INT -ge 50200 ]]; then
189
195
ROCBLAS_LIB_SRC=$ROCM_HOME /lib/rocblas/library
You can’t perform that action at this time.
0 commit comments