8000 [DSD] Fixes issue when there is a PG without parameters by fegin · Pull Request #147730 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

[DSD] Fixes issue when there is a PG without parameters #147730

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

Closed
wants to merge 3 commits into from

Conversation

fegin
Copy link
Contributor
@fegin fegin commented Feb 24, 2025

[ghstack-poisoned]
Copy link
pytorch-bot bot commented Feb 24, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/147730

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 295bcae with merge base 5b6ad68 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

Update 8000
[ghstack-poisoned]
@fegin fegin added the ciflow/trunk Trigger trunk jobs on your pull request label Feb 24, 2025
_multi_optim_kwargs = {
"params": [
{"params": [model.fc.weight]},
{"params": [model.fc1.weight], "lr": 0.2}, # empty pg group here
Copy link
Contributor

Choose a reason for hiding this comment

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

How do we set the empty pg group here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops, you are right, I just copy paste, so accidentally copied the comment. Let me remove it.

[ghstack-poisoned]
fegin added a commit that referenced this pull request Feb 24, 2025
Fixes #143828

ghstack-source-id: 8c84a51
Pull Request resolved: #147730
@fegin fegin requested a review from mori360 February 24, 2025 23:13
Copy link
Contributor
@mori360 mori360 left a comment

Choose a reason for hiding this comment

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

Thanks for the fix.

@fegin
Copy link
Contributor Author
fegin commented Feb 25, 2025

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

aditew01 pushed a commit that referenced this pull request Feb 28, 2025
@github-actions github-actions bot deleted the gh/fegin/296/head branch March 28, 2025 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request Merged oncall: distributed Add this issue/PR to distributed oncall triage queue release notes: distributed (checkpoint)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0