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

Abstract out out optimizer params and update foreach calling convention #386

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

drisspg
Copy link
Contributor

@drisspg drisspg commented Jun 7, 2024

Summary

Updates the behavior to call foreach when we are not using fused for the optimizer

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 7, 2024
Copy link
Contributor

@awgu awgu left a comment

Choose a reason for hiding this comment

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

might need to reformat to fix lint

@drisspg drisspg force-pushed the update-optimizer-params branch from 66f1725 to e83ed59 Compare June 7, 2024 19:34
Copy link
Collaborator

@wanchaol wanchaol left a comment

Choose a reason for hiding this comment

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

Nice!

@wanchaol wanchaol merged commit 104bd6c into pytorch:main Jun 7, 2024
5 checks passed
tianyu-l pushed a commit to tianyu-l/torchtitan_intern24 that referenced this pull request Aug 16, 2024
…on (pytorch#386)

# Summary
Updates the behavior to call foreach when we are not using fused for the
optimizer
philippguevorguian pushed a commit to YerevaNN/YNNtitan that referenced this pull request Aug 17, 2024
…on (pytorch#386)

# Summary
Updates the behavior to call foreach when we are not using fused for the
optimizer
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.

4 participants