Skip to content

Add unique_id_from_bytes for NCCLLibrary #6343

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

Closed
wants to merge 1 commit into from

Conversation

Abatom
Copy link
Contributor

@Abatom Abatom commented May 16, 2025

Reconstructs an ncclUniqueId object from bytes data for NCCLLibrary

Provide a function that converts bytes into a ncclUniqueId for NCCL to establish connections. This function can be used in dynamic point-to-point communication scenarios, such as PD separation, to establish point-to-point communication for transmitting KV Cache.

First, the bytes can be transmitted via zmq or other methods. Then, the unique_id_from_bytes function is used to convert the bytes into a ncclUniqueId. Finally, the ncclCommInitRank function is called to complete the point-to-point NCCL connection.

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.

1 participant