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

porting Hivemind strategy #1

Merged
merged 12 commits into from
Feb 6, 2023
Merged

porting Hivemind strategy #1

merged 12 commits into from
Feb 6, 2023

Conversation

Borda
Copy link
Member

@Borda Borda commented Feb 4, 2023

Before submitting
  • Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?

What does this PR do?

Porting the strategy from Lightning-AI/pytorch-lightning#16407

  • code
  • tests
  • docs
  • ci

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in GitHub issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

@Borda Borda added the enhancement New feature or request label Feb 4, 2023
@Borda Borda self-assigned this Feb 4, 2023
@Borda Borda marked this pull request as ready for review February 4, 2023 12:07
Copy link
Member

@justusschock justusschock left a comment

Choose a reason for hiding this comment

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

just one comment that it can be used with PL and lightning


import hivemind
import torch
from lightning_fabric.strategies.strategy import TBroadcast
Copy link
Member

Choose a reason for hiding this comment

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

for all these imports: should we import from lightning.pytorch if PL is not available?

Copy link
Member Author

Choose a reason for hiding this comment

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

good point, will do it in separate PR 🐿️

@Borda Borda merged commit c55917d into main Feb 6, 2023
@Borda Borda deleted the hivemind branch February 6, 2023 11:20
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

Successfully merging this pull request may close these issues.

2 participants