[DSD] Correctly handle _extra_state (#125336)#126567
[DSD] Correctly handle _extra_state (#125336)#126567atalman merged 4 commits intopytorch:release/2.3from
Conversation
Summary: distributed_state_dict should not try to use `getattr` to get `_extra_state` as this is not well-defined. Pull Request resolved: pytorch#125336 Approved by: https://github.com/LucasLLC ghstack dependencies: pytorch#125333, pytorch#125501, pytorch#125334, pytorch#125335
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/126567
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (1 Unrelated Failure)As of commit 67f0410 with merge base 86a2d67 ( FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
fegin
left a comment
There was a problem hiding this comment.
Thanks for submitting the cherry pick.
|
@pytorchbot rebase -b release/2.3 |
|
@pytorchbot started a rebase job onto refs/remotes/origin/release/2.3. Check the current status here |
|
Rebase failed due to Command Raised by https://github.com/pytorch/pytorch/actions/runs/9225766192 |
|
@pytorchbot rebase -b release/2.3 |
|
@pytorchbot started a rebase job onto refs/remotes/origin/release/2.3. Check the current status here |
|
Rebase failed due to Command Raised by https://github.com/pytorch/pytorch/actions/runs/9225866547 |
|
Validated this works for cpu on the 2.3 release branch |
Pr for 2.3 cherry-pick
Summary:
distributed_state_dict should not try to use
getattrto get_extra_stateas this is not well-defined.Pull Request resolved: #125336
Approved by: https://github.com/LucasLLC
ghstack dependencies: #125333, #125501, #125334, #125335
Fixes #ISSUE_NUMBER
cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @penguinwu @fegin @XilunWu @wanchaol @fduwjj @wz337 @tianyu-l @wconstab @yf225 @chauhang @d4l3k @LucasLLC