Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMDGPU example #58

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions examples/rockylinux-9.4-amdgpu/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM ghcr.io/warewulf/warewulf-rockylinux:9.4

RUN dnf -y install https://repo.radeon.com/amdgpu-install/6.2.2/el/9.4/amdgpu-install-6.2.60202-1.el9.noarch.rpm \
&& dnf clean all \
&& amdgpu-install -y --usecase=dkms \
&& ls /lib/modules | xargs -n1 /usr/lib/dkms/dkms_autoinstaller start \
&& dkms status
15 changes: 15 additions & 0 deletions examples/rockylinux-9.4-amdgpu/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Rocky Linux with the AMD GPU driver

https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/amdgpu-install.html

This container definition demonstrates building a Rocky Linux based container
incorporating the AMDGPU driver for AMD GPU support.

The container may be built with Podman.

```shell

podman build .
```

The host that builds the container does _not_ need to have a GPU installed.
Loading