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

Create solstice.reduce() and solstice.gather() #2

Open
Charl-AI opened this issue Jul 9, 2022 · 0 comments
Open

Create solstice.reduce() and solstice.gather() #2

Charl-AI opened this issue Jul 9, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Charl-AI
Copy link
Owner

Charl-AI commented Jul 9, 2022

  • solsitce.reduce(): this should be a function reducing a list of pytrees to a single pytree. This should be a single dispatch generic function which calls .merge() on any Metrics objects (a bit like the CLU implementation) and has customisable behaviour for other types of pytrees (e.g. mean leaves, sum leaves etc...). Could add an implementation for model parallel training ???

  • solstice.gather(): possibly unnecessary. Utility for reducing and gathering sharded pytrees across devices. This will be most useful for accumulating Metrics, but maybe also for model parallel training ??

@Charl-AI Charl-AI added the enhancement New feature or request label Jul 9, 2022
@Charl-AI Charl-AI self-assigned this Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant