-
Notifications
You must be signed in to change notification settings - Fork 424
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
How preallocate buffer through rendezvous protocol before ucp_tag_recv_nbx actually receiving? #10148
Comments
Hi, what do you mean "preallocate buffer through rendezvous protocol"? AFAIK you need to pass preallocated buffer to To better understand how do UCP or UCT API works you can check examples |
I would like to transmit the sparse tensors, and there is no way for two workers to know the size of the data in advance. I don't know if I understand this correctly. In rendezvous protocol, ucp p2p sends the size of the data to be transmitted before the actual transmission begins. So when I use ucp, could I allocate a buffer based on the size of the rendezvous data? And then I pass this buffer into ucp_tag_recv_nbx. Or is there a tag_recv API which can feed a allocator into. I guess I need to refer to this to write my own API, right? |
@MoFHeka for such case, it is recommended to use the active message API. |
It seams there is no api about rendezvous in UCP. And there is no clear document or example for UCT.
The text was updated successfully, but these errors were encountered: