-
Notifications
You must be signed in to change notification settings - Fork 47
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
Dockerfile #45
base: master
Are you sure you want to change the base?
Dockerfile #45
Conversation
How did you run the container? You need to pass a number of flags to ensure HSA support in the container. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once it's working 😄
# Install AMDGPU.jl | ||
RUN /root/julia-1.5.1/bin/julia -E "using Pkg; Pkg.add(\"AMDGPU\");" | ||
|
||
VOLUME ["/root/.julia"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better if we could run this as a non-privileged user, like gpuuser
. You'd just have to make sure /dev/kfd and /dev/dri/* have the right perms so the user has RW on them.
Here's how I invoke my local development container (with a similar Dockerfile):
It may not actually require |
Initial attempt to write a Dockerfile for AMDGPU.jl, based on the latest Ubuntu ROCm image.
It seems to work (at least for the simple vector sum in the documentation), however, you have to ignore several error messages.
Unfortunately, the build fails with: