Is there a way to disable GPU for CPU pods? Is there a way to disable GPU for CPU pods? kubernetes kubernetes

Is there a way to disable GPU for CPU pods?


Based on this topic on github:

This is currently not supported and we don't really have a plan to support it.

But...

you might want to take a look at the CUDA_VISIBLE_DEVICES environment variable that controls what devices a specific CUDA process can see:
https://devblogs.nvidia.com/cuda-pro-tip-control-gpu-visibility-cuda_visible_devices/