Skip to content

Commit 9f6e599

Browse files
authored
Update install_rocm.sh
1 parent fb6681a commit 9f6e599

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

.ci/docker/common/install_rocm.sh

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,9 @@ EOF
6666
roctracer-dev \
6767
amd-smi-lib
6868

69-
# precompiled miopen kernels added in ROCm 3.5, renamed in ROCm 5.5
70-
# search for all unversioned packages
71-
# if search fails it will abort this script; use true to avoid case where search fails
72-
MIOPENHIPGFX=$(apt-cache search --names-only miopen-hip-gfx | awk '{print $1}' | grep -F -v . || true)
73-
if [[ "x${MIOPENHIPGFX}" = x ]]; then
74-
echo "miopen-hip-gfx package not available" && exit 1
75-
else
76-
DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated ${MIOPENHIPGFX}
77-
fi
69+
# precompiled miopen kernels is too old and never updated from last 3+yrs so removing the logic to install
70+
# Also, these kernels are not generating for MI300X, MI350 and also not reliable anymore
71+
7872

7973
# ROCm 6.0 had a regression where journal_mode was enabled on the kdb files resulting in permission errors at runtime
8074
for kdb in /opt/rocm/share/miopen/db/*.kdb
@@ -184,14 +178,8 @@ install_centos() {
184178
roctracer-dev \
185179
amd-smi-lib
186180
fi
187-
# precompiled miopen kernels; search for all unversioned packages
188-
# if search fails it will abort this script; use true to avoid case where search fails
189-
MIOPENHIPGFX=$(yum -q search miopen-hip-gfx | grep miopen-hip-gfx | awk '{print $1}'| grep -F kdb. || true)
190-
if [[ "x${MIOPENHIPGFX}" = x ]]; then
191-
echo "miopen-hip-gfx package not available" && exit 1
192-
else
193-
yum install -y ${MIOPENHIPGFX}
194-
fi
181+
# precompiled miopen kernels is too old and never updated from last 3+yrs so removing the logic to install
182+
# Also, these kernels are not generating for MI300X, MI350 and also not reliable anymore
195183

196184
# ROCm 6.0 had a regression where journal_mode was enabled on the kdb files resulting in permission errors at runtime
197185
for kdb in /opt/rocm/share/miopen/db/*.kdb

0 commit comments

Comments
 (0)