-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
--------- Co-authored-by: Felix Thaler <[email protected]>
- Loading branch information
Showing
2 changed files
with
14 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,14 +3,11 @@ ARG BASE | |
FROM ${REPOSITORY}:${BASE} | ||
LABEL maintainer="Felix Thaler <[email protected]>" | ||
|
||
# from https://docs.amd.com/bundle/ROCm-Installation-Guide-v5.4/page/How_to_Install_ROCm.html | ||
# TODO(havogt): remove jammy packages once official support for 24.04 is there, | ||
# workaround taken from https://github.com/nktice/AMD-AI/blob/99b51b7ce08f339e81ccede05d65a21d10c6a27b/README.md | ||
RUN add-apt-repository -y -s deb http://security.ubuntu.com/ubuntu jammy main universe && \ | ||
add-apt-repository ppa:deadsnakes/ppa -y && \ | ||
wget https://repo.radeon.com/amdgpu-install/22.40/ubuntu/jammy/amdgpu-install_5.4.50401-1_all.deb && \ | ||
# NOTE: If you change the ROCm version here, also change it in the build.yml to avoid overwriting the old image, | ||
# see https://github.com/GridTools/gridtools-docker/issues/97. | ||
RUN wget https://repo.radeon.com/amdgpu-install/6.2.1/ubuntu/noble/amdgpu-install_6.2.60201-1_all.deb && \ | ||
apt-get update -qq && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -qq -y ./amdgpu-install_5.4.50401-1_all.deb && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -qq -y ./amdgpu-install_6.2.60201-1_all.deb && \ | ||
apt-get update -qq && \ | ||
amdgpu-install -y --usecase=rocm,hip --no-dkms && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|