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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about solutions for containers losing access to GPUs (NVML Error https://github.com/NVIDIA/nvidia-container-toolkit/issues/48)) #421

Open
BCJuan opened this issue Mar 21, 2024 · 0 comments

Comments

@BCJuan
Copy link

BCJuan commented Mar 21, 2024

Hi 馃枛馃徏

In this issue from last year Failed to initialize NVML: Unknown Error
has been described how containers lose access to GPU randomly.

There are some solutions proposed but some are not clear to me:

  1. It is said that the GPU Operator 22.9.2 would solve the issue. However, we are using a higher GPU Operator version and the issue is not solved. Could it be that only if we use the GPU Device Plugin inside the operator the issue is solved?

  2. Another solution consists of changing cgroupfs in docker configuration. However, this is not recommended in Kubernetes for systems with systemd Container Runtimes K8s How can we solve this antagony? Why would it be a solution if it isn't recommended? In what risks do we incur?

  3. It is stated that it can be solved through nvidia-ctk utility and adding a udev rule. If one is using the nvidia driver daemonset from the GPU Operator it is stated that one must run the nvidia-ctk command with the location of the new drivers. I understand then that every time the NVIDIA driver daemonset is restarted the nvidia-ctk command should be run again. Is this right? Could this be added to the NVIDIA driver daemonset so it doesn't have to be manually applied?

Thank you very much.

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

No branches or pull requests

1 participant