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

Update gpu.md: add example command for the Nvidia driver is installed by the gpu-operator #3441

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zgfh
Copy link

@zgfh zgfh commented Sep 20, 2024

Update gpu.md: add example command for the Nvidia driver is installed by the gpu-operator

fix: #2755

… by the gpu-operator

Update gpu.md: add example command for the Nvidia driver is installed by the gpu-operator

Signed-off-by: Alan <[email protected]>

Signed-off-by: Alan <[email protected]>
@yankay
Copy link
Contributor

yankay commented Sep 20, 2024

Thanks @zgfh
/lgtm

And then, the `nerdctl run --gpus` can run successfully.
And then, the `nerdctl run --gpus` can run successfully. eg:
```
nerdctl run -it --rm --runtime=/usr/local/nvidia/toolkit/nvidia-container-runtime --gpus all nvidia/cuda:12.3.1-base-ubuntu20.04 nvidia-smi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--runtime should not be needed on the "typical" setup?
(When nvidia-container-runtime is present in $PATH?)

Copy link
Author

@zgfh zgfh Sep 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i have try ,this not work with no param runtime
it can run,but not mount nvidia-smi
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs/gpu.md: docker.io/nvidia/cuda:9.0-base: not found
3 participants