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

does DRA support multi GPUs across worker nodes? #97

Open
thj08 opened this issue Apr 8, 2024 · 4 comments
Open

does DRA support multi GPUs across worker nodes? #97

thj08 opened this issue Apr 8, 2024 · 4 comments

Comments

@thj08
Copy link

thj08 commented Apr 8, 2024

I want to let master node have ability to allocate avaliable GPUs across different worker nodes , does DRA support multi GPUs across worker nodes?

@ArangoGutierrez
Copy link
Collaborator

So far DRA enables resources in a per-Node scenario given the interaction with the Kubelet. What you are asking is a MultiNode DRA if I understand correctly

@thj08
Copy link
Author

thj08 commented Apr 8, 2024

Thanks for the reply.
As my real case, I setup my cluster with 1 master node and 3 worker nodes, and every worker node has one GPU resource. Is it possible to apply a container on one worker node with 3 GPUs?

By the way, I also try the DRA demo project, and it use kind for local cluster. Does DRA support remote cluster?

@asm582
Copy link

asm582 commented Apr 9, 2024

I think you are talking about DRA and CXL integration. This is discussed as one of the use case but currently not implemented as I understand.

@klueska
Copy link
Collaborator

klueska commented Sep 12, 2024

Sorry for the late reply. I don't quite understand your question. You want a container running on one node to make use of both its 1 local GPU as well as the two remote GPUs (but make them appear to the application as if they are local)?

That is not something that is possible, nor something that we plan to support directly.

In the (near) future we will start to support the allocation of IMEX channels to allow GPUs on one node to read/write the GPU memory of other nodes:
https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__MEMORY__POOLS.html#group__CUDART__MEMORY__POOLS_1g8158cc4b2c0d2c2c771f9d1af3cf386e

But even this requires you to still run a separate container on each node and implement the application logic to orchestrate these read/writes yourself (or via a library such as NCCL).

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

4 participants