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

Add support for PyTorch v2.2 #476

Merged
merged 2 commits into from
Mar 1, 2024
Merged

Add support for PyTorch v2.2 #476

merged 2 commits into from
Mar 1, 2024

Conversation

epwalsh
Copy link
Member

@epwalsh epwalsh commented Mar 1, 2024

The main blocker was making sure our hacked-together LocalShardedCheckpointer class was updated to account for the recent changes to FSDP internals. I've verified that this checkpointer still works correctly. Here is a restart that reproduces the original loss curve perfectly:

image

See https://wandb.ai/ai2-llm/torch-22-testing?workspace=user-epwalsh for full logs.

@epwalsh epwalsh requested a review from dirkgr March 1, 2024 19:23
@epwalsh epwalsh requested a review from 2015aroras March 1, 2024 22:47
Copy link
Member

@dirkgr dirkgr left a comment

Choose a reason for hiding this comment

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

That's all? 🤪

@epwalsh epwalsh merged commit cb711e2 into main Mar 1, 2024
11 checks passed
@epwalsh epwalsh deleted the epwalsh/torch-2.2 branch March 1, 2024 22:55
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.

None yet

2 participants