-
Notifications
You must be signed in to change notification settings - Fork 25.2k
[nit][DCP][DSD] Remove Unused Variables in test_state_dict.py #121204
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
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/121204
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (5 Unrelated Failures)As of commit 8c0777f with merge base d7a5e59 ( FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this change cause FSDP compilation state_dict error? Is the error pre-existed?
Seems like so. I am having this error locally and I don't think it's related to the change, so I push just push these two-line changes definitely unrelated to double check. |
….py" cc mrshenli pritamdamania87 zhaojuanmao satgera rohan-varma gqchen aazzolini osalpekar jiayisuse H-Huang kwen2501 awgu penguinwu fegin XilunWu wanchaol fduwjj tianyu-l wconstab yf225 chauhang LucasLLC [ghstack-poisoned]
@@ -106,9 +106,6 @@ def _test_save_load( | |||
# Then finally we can call set_state_dict(). | |||
if not isinstance(dist_optim, list): | |||
dist_optim = [dist_optim] | |||
curr_dist_msd, curr_dist_osd = get_state_dict( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, should have been caught by F841
….py" cc mrshenli pritamdamania87 zhaojuanmao satgera rohan-varma gqchen aazzolini osalpekar jiayisuse H-Huang kwen2501 awgu penguinwu fegin XilunWu wanchaol fduwjj tianyu-l wconstab yf225 chauhang LucasLLC [ghstack-poisoned]
@pytorchmergebot merge -i |
Merge startedYour change will be merged while ignoring the following 1 checks: pull / linux-focal-cuda11.8-py3.10-gcc9 / test (distributed, 1, 3, linux.8xlarge.nvidia.gpu) Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
@pytorchbot revert -m 'Sorry for reverting your PR, but the failure looks legit' -c ignoredsignal |
@pytorchbot successfully started a revert job. Check the current status here. |
@wz337 your PR has been successfully reverted. |
…#121204)" This reverts commit 4186c36. Reverted #121204 on behalf of https://github.com/huydhn due to Sorry for reverting your PR, but the failure looks legit ([comment](#121204 (comment)))
@pytorchmergebot rebase |
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
Rebase failed due to
Raised by https://github.com/pytorch/pytorch/actions/runs/8255571895 |
…121204 (#121773) Replacing #121204 Pull Request resolved: #121773 Approved by: https://github.com/Skylion007
Stack from ghstack (oldest at bottom):
cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @penguinwu @fegin @XilunWu @wanchaol @fduwjj @tianyu-l @wconstab @yf225 @chauhang @LucasLLC