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

support AllReduce with customised tree #280

Merged
merged 8 commits into from
May 6, 2020
Merged

support AllReduce with customised tree #280

merged 8 commits into from
May 6, 2020

Conversation

lgarithm
Copy link
Collaborator

@lgarithm lgarithm commented May 5, 2020

No description provided.

@lgarithm lgarithm requested review from luomai and kfertakis May 5, 2020 22:10
@luomai
Copy link
Member

luomai commented May 6, 2020

@fertakis Could you review this PR? Check the naming of the functions because this will later become part of the public APIs.

Comment on lines 27 to 29
def monitored_all_reduce(t, tree, op='sum'):
"""Create a new all_reduce operator for given tensor and topology."""
return _op_lib.kungfu_monitored_all_reduce(t, tree, op=op)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we provide a further description regarding the structure and usage of the tree parameter?

@lgarithm lgarithm merged commit ad779ad into master May 6, 2020
@lgarithm lgarithm deleted the lg-topo branch May 6, 2020 14:50
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.

3 participants