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

Question regarding multi-GPU access on a single docker container on the k8s node. #19

Open
AMIYAMAITY opened this issue Mar 13, 2024 · 0 comments

Comments

@AMIYAMAITY
Copy link

AMIYAMAITY commented 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 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?

@AMIYAMAITY 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
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