KEMBAR78
[state_dict] Rewrite _gather_state_dict to extract the traversal logic by fegin · Pull Request #112885 · pytorch/pytorch · GitHub
Skip to content

Conversation

@fegin
Copy link
Contributor

@fegin fegin commented Nov 3, 2023

This allows us to do cpu_offload with the same traversal logic

Differential Revision: [D50982355](https://our.internmc.facebook.com/intern/diff/D50982355/)

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 3, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit ce8efd0 with merge base 31ded95 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@fegin fegin marked this pull request as draft November 3, 2023 18:40
@fegin fegin added ciflow/trunk Trigger trunk jobs on your pull request ciflow/periodic Trigger jobs ran periodically on master (periodic.yml) on the PR labels Nov 3, 2023
fegin added 5 commits November 3, 2023 15:26
…versal logic"

This allows us to do cpu_offload with the same traversal logic

Differential Revision: [D50982355](https://our.internmc.facebook.com/intern/diff/D50982355/)

[ghstack-poisoned]
…versal logic"

This allows us to do cpu_offload with the same traversal logic

Differential Revision: [D50982355](https://our.internmc.facebook.com/intern/diff/D50982355/)

[ghstack-poisoned]
…versal logic"

This allows us to do cpu_offload with the same traversal logic

Differential Revision: [D50982355](https://our.internmc.facebook.com/intern/diff/D50982355/)

[ghstack-poisoned]
…versal logic"

This allows us to do cpu_offload with the same traversal logic

Differential Revision: [D50982355](https://our.internmc.facebook.com/intern/diff/D50982355/)

[ghstack-poisoned]
…versal logic"

This allows us to do cpu_offload with the same traversal logic

Differential Revision: [D50982355](https://our.internmc.facebook.com/intern/diff/D50982355/)

[ghstack-poisoned]
@fegin fegin marked this pull request as ready for review November 8, 2023 01:31
@fegin fegin requested a review from LucasLLC as a code owner November 8, 2023 01:31
fegin added 2 commits November 8, 2023 10:35
…versal logic"

This allows us to do cpu_offload with the same traversal logic

Differential Revision: [D50982355](https://our.internmc.facebook.com/intern/diff/D50982355/)

[ghstack-poisoned]
…versal logic"

This allows us to do cpu_offload with the same traversal logic

Differential Revision: [D50982355](https://our.internmc.facebook.com/intern/diff/D50982355/)

[ghstack-poisoned]
Copy link
Contributor

@LucasLLC LucasLLC left a comment

Choose a reason for hiding this comment

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

Clean!

…versal logic"

This allows us to do cpu_offload with the same traversal logic

Differential Revision: [D50982355](https://our.internmc.facebook.com/intern/diff/D50982355/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@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

pytorchmergebot pushed a commit that referenced this pull request Nov 13, 2023
Skylion007 pushed a commit to Skylion007/pytorch that referenced this pull request Nov 14, 2023
pytorch#112885)

This allows us to do cpu_offload with the same traversal logic

Differential Revision: [D50982355](https://our.internmc.facebook.com/intern/diff/D50982355/)
Pull Request resolved: pytorch#112885
Approved by: https://github.com/LucasLLC, https://github.com/wz337
ghstack dependencies: pytorch#112836
Skylion007 pushed a commit to Skylion007/pytorch that referenced this pull request Nov 14, 2023
@facebook-github-bot facebook-github-bot deleted the gh/fegin/178/head branch November 14, 2023 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/periodic Trigger jobs ran periodically on master (periodic.yml) on the PR ciflow/trunk Trigger trunk jobs on your pull request Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants