-
Notifications
You must be signed in to change notification settings - Fork 269
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
Gpuless deployments #469
Comments
yes, you should add env 'NVIDIA_VISIBLE_DEVICES=none' to this container. please refer to this issue #464 |
@archlitchi Thanks for the reply. If the pod user overrides this env var, will they still be able to see all the GPUs? I'm working with a low-trust environment where the pod user can only use their own allocated VRAM. I'm aware there's an option to prevent pod user from overriding env vars:
However, enabling these lines causes the pods with allocated GPUs to crash with error:
|
indeed, if you enabling these lines, device-plugin will not be working properly, because it needs to set 'NVIDIA_VISIBLE_DEVICES' in order to assign GPUs to pods. |
Hello, I'd like to create a k8s deployment without GPUs, however my nvidia.com/gpu config doesn't work:
I confirmed that requesting 1 or more GPUs with a certain amount of VRAM works. But requesting "0" simply exposes all the GPUs running on that worker node to the running pod(s):
Here's my full deployment.yaml file:
Any pointers? Thank you.
The text was updated successfully, but these errors were encountered: