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

CUDA-Aware UCX with a mixture of CPU-only & GPU Nodes #10273

Open
judicaelclair opened this issue Nov 4, 2024 · 0 comments
Open

CUDA-Aware UCX with a mixture of CPU-only & GPU Nodes #10273

judicaelclair opened this issue Nov 4, 2024 · 0 comments
Labels

Comments

@judicaelclair
Copy link

Some of the nodes in my cluster do not have a GPU, but I would like to use CUDA-aware UCX for OpenMPI / MPICH. Note that the cluster is equipped with a high-speed Mellanox Ethernet interconnect.

The only approach so far that seems to work is to build UCX twice, once for GPU nodes (with CUDA & gdrcopy), and another for CPU-only nodes (without CUDA nor gdrcopy). This allows for CPU<->GPU and GPU<->GPU communication between GPU nodes, but if I have GPU node A and CPU-only node B and I attempt to send a GPU buffer from A to B's host memory, UCX fails (i.e. CPU<->GPU doesn't work in this case). So,

  • Is there a way to get this to work?
  • And is building UCX twice as above an officially supported approach?

I've also tried using a single CUDA-aware UCX build for both GPU & CPU-only nodes, but this causes the CPU-only nodes to stall during initialisation.

Library versions:

  • ucx: 1.17.0
  • gdrcopy: 2.4.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant