You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing an issue regarding the deployment of an application on a K8S node equipped with two GPU cards. My objective is to utilize both GPUs effectively with the help of nvshare. In my application, I employ a single Docker image, wherein programmatically, I run two threads, each allocated to a specific GPU using the cudaSetDevice function. We set NVIDIA_VISIBLE_DEVICES=all in the Docker environment to ensure access to both GPUs within the container.
To my understanding, the current version does not support multi-GPU functionality. Furthermore, I have attempted to address this issue by creating a pull request (PR), but it seems that my approach may not be the correct solution.
Could someone please assist me with this matter?
The text was updated successfully, but these errors were encountered:
AMIYAMAITY
changed the title
Question regarding multi-GPU access on a single docker container on the K9S node.
Question regarding multi-GPU access on a single docker container on the k8s node.
Mar 13, 2024
I am facing an issue regarding the deployment of an application on a K8S node equipped with two GPU cards. My objective is to utilize both GPUs effectively with the help of nvshare. In my application, I employ a single Docker image, wherein programmatically, I run two threads, each allocated to a specific GPU using the
cudaSetDevice
function. We setNVIDIA_VISIBLE_DEVICES=all
in the Docker environment to ensure access to both GPUs within the container.To my understanding, the current version does not support multi-GPU functionality. Furthermore, I have attempted to address this issue by creating a pull request (PR), but it seems that my approach may not be the correct solution.
Could someone please assist me with this matter?
The text was updated successfully, but these errors were encountered: