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

UCT/CUDA: Advertise MNNVL inter-node capability with shm device type #10141

Closed
wants to merge 1 commit into from

Conversation

tvegas1
Copy link
Contributor

@tvegas1 tvegas1 commented Sep 10, 2024

What

Keep cuda device type as SHM and advertise MNNVL as SHM with inter-node capability to avoid cuda_ipc transport deactivation when specifying UCX_NET_DEVICES.

Why ?

We do not need to be able to list/exclude MNNVL from/with UCX_NET_DEVICES=^cuda as there is already the specific configuration ENABLE_MNNVL to control that.

How ?

Sanity tested, but not end-to-end tested.

@tvegas1 tvegas1 changed the title UCT/CUDA: Advertise MNNVL inter-node capability with shm device type. UCT/CUDA: Advertise MNNVL inter-node capability with shm device type Sep 10, 2024
} uct_tl_resource_desc_t;

#define UCT_TL_RESOURCE_FLAG_INTER_NODE UCS_BIT(0) /**< Inter-node capability */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it make sense to declare a enum with name, and reference that name in the flags field documentation?
Otherwise it's hard to understand afterwards which enum/values are supposed to be set

@tvegas1
Copy link
Contributor Author

tvegas1 commented Sep 11, 2024

@yosefe, for ABI compatibility, we could add something like uct_md_query_tl_resources_v2(), using tl->query_devices_v2()?

@tvegas1
Copy link
Contributor Author

tvegas1 commented Sep 19, 2024

Implementing with #10161 instead.

@tvegas1 tvegas1 closed this Sep 19, 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

Successfully merging this pull request may close these issues.

2 participants