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

[POC] Adam-mini without explicit collectives #459

Draft
wants to merge 3 commits into
base: gh/awgu/7/base
Choose a base branch
from

Conversation

awgu
Copy link
Contributor

@awgu awgu commented Jul 15, 2024

awgu added a commit that referenced this pull request Jul 15, 2024
ghstack-source-id: 337e89d5d973a3dd0152488277df0a3708569040
Pull Request resolved: #459
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 15, 2024
awgu added a commit that referenced this pull request Jul 15, 2024
ghstack-source-id: d1eefb8356e73277448174549890f4edf18f9baa
Pull Request resolved: #459
@@ -381,7 +389,10 @@ def loss_fn(pred, labels):
# Non-PP forward / backward
with loss_parallel_ctx():
pred = model(input_ids)
loss = loss_fn(pred, labels)
if job_config.training.compile:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unrelated changes that help speedup training

awgu added a commit that referenced this pull request Jul 15, 2024
ghstack-source-id: 3c879755de47c737f8e93a614710c27f5f3e268c
Pull Request resolved: #459
tianyu-l pushed a commit that referenced this pull request Aug 16, 2024
ghstack-source-id: 3c879755de47c737f8e93a614710c27f5f3e268c
Pull Request resolved: #459
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants