Skip to content

Commit

Permalink
Changed ROCm packages per level
Browse files Browse the repository at this point in the history
  • Loading branch information
robballantyne committed Jun 16, 2024
1 parent e92583e commit 368f4cc
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 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,16 +30,18 @@ apt-get update

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


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

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

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

0 comments on commit 368f4cc

Please sign in to comment.