Skip to content

Commit

Permalink
Add rocm/amd-smi-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
robballantyne committed Jun 26, 2024
1 parent d7a24d8 commit b89ed2f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions build/COPY_ROOT_0/opt/ai-dock/bin/build/layer0/amd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,26 @@ apt-get update

if [[ "${ROCM_LEVEL}" == "core" ]]; then
$APT_INSTALL rocm-core \
rocminfo

rocminfo \
amd-smi-lib \
rocm-smi-lib

elif [[ "${ROCM_LEVEL}" == "runtime" ]]; then
$APT_INSTALL hip-runtime-amd \
rocm-opencl-runtime \
miopen-hip \
rocblas \
rocfft
rocfft \
amd-smi-lib \
rocm-smi-lib

elif [[ "${ROCM_LEVEL}" == "devel" ]]; then
$APT_INSTALL rocm-libs \
rocm-opencl-sdk \
rocm-hip-sdk \
rocm-ml-sdk
rocm-ml-sdk \
amd-smi-lib \
rocm-smi-lib

else
printf "No valid ROCM_LEVEL specified\n" >&2
Expand Down

0 comments on commit b89ed2f

Please sign in to comment.