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

Some puzzled problems about algorithm #1018

Open
Luckyton opened this issue Sep 4, 2024 · 1 comment
Open

Some puzzled problems about algorithm #1018

Luckyton opened this issue Sep 4, 2024 · 1 comment

Comments

@Luckyton
Copy link

Luckyton commented Sep 4, 2024

Hello,

I have been reading ucc source code of version 1.3.0 and found some puzzled problems releated to algorithm.

Firstly, there is no default ucc_msg_range_t for scatter at score map of tl_ucp component. When creating scatter task with UCC_CLS=basic and UCC_CL_BASIC_TLS=ucp, which init function will be called ?

Secondly, when length of message is bigger than 4k, there is no ucc_msg_range_t for allreduce and bcast at score map of cl_hier component. When creating task with UCC_CLS=hier and UCC_CL_HIER_TLS=ucp, which init function will be called ?

Lastly, the processing procedure of knomial scatter algorithm at tl_ucp component is shown in the following figure. I doesn't seem to have achieved scatter option. Because it doesn't send ith segment to rank i. Am I right ?
knomial_scatter

thank you!

@Sergei-Lebedev
Copy link
Contributor

Hi @Luckyton, if still rellevant.

Firstly, there is no default ucc_msg_range_t for scatter at score map of tl_ucp component. When creating scatter task with UCC_CLS=basic and UCC_CL_BASIC_TLS=ucp, which init function will be called ?

TL UCP doesn't have scatter implementation, scatter collective in TL UCP is used only as part of bcast sag algorithm.

Secondly, when length of message is bigger than 4k, there is no ucc_msg_range_t for allreduce and bcast at score map of cl_hier component. When creating task with UCC_CLS=hier and UCC_CL_HIER_TLS=ucp, which init function will be called ?

This is just default configuration, you can adjust it if needed. In this case CL BASIC TL UCP will be used. You can see all the ranges with UCC_LOG_LEVEL=info (https://github.com/openucx/ucc/blob/master/docs/user_guide.md)

Lastly, the processing procedure of knomial scatter algorithm at tl_ucp component is shown in the following figure. I doesn't seem to have achieved scatter option. Because it doesn't send ith segment to rank i. Am I right ?

Right, scatter_knomial is not an implementation of scatter collective.

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

2 participants