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

Feat fsdp diloco #29

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Feat fsdp diloco #29

wants to merge 12 commits into from

Conversation

samsja
Copy link
Collaborator

@samsja samsja commented Sep 10, 2024

poc of pure fsdp diloco

@Jackmin801
Copy link
Member

lgtm! a lot cleaner. just need to make sure it has loss curve parity with the previous implementation :)

@samsja
Copy link
Collaborator Author

samsja commented Sep 11, 2024

Screenshot from 2024-09-11 18-48-46
Screenshot from 2024-09-11 18-49-17

check against our hivemind impl, seems to be equivalent

MixedPrecision,
)
from torch.distributed.device_mesh import init_device_mesh
from hivemind.optim.optimizer import logger
Copy link
Member

Choose a reason for hiding this comment

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

I think we might not need this logger from hivemind?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we do, otherwise we don;t have a nice logger

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.

2 participants