Open syoh opened 1 year ago
Podman requires additional configuration to run GPUs... Jetstream2 provides GPU access but I would need access to a GPU instance to develop the necessary additions to create a Podman compatible GPU image for Jetstream2.
The following works with EL9 + Podman (Roble).
.devcontainer/devcontainer.json
, add to runArgs
:
"--device=nvidia.com/gpu=all"
"--security-opt=label=disable"
Excellent, I can modify the template to include a question about GPU configuration!
It's very nice that this is a simple process... The podman requirements on nvidia made it look a bit nasty.
GPU and Singularity container from Jupyter-like containers: https://github.com/pangeo-data/pangeo-docker-images/blob/master/Sing+GPU.md
Might be useful info for enabling GPU use in containers: https://wiki.engineering.osu.edu/display/DOCS/Rootless+Docker+Setup+Instructions