8000 [cherry-pick][dtensor] expose the __create_chunk_list__ in the doc (#144100) by wanchaol · Pull Request #144741 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

[cherry-pick][dtensor] expose the __create_chunk_list__ in the doc (#144100) #144741

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 2 commits into from

Conversation

wanchaol
Copy link
Collaborator
@wanchaol wanchaol commented Jan 14, 2025

as titled, this PR expose this dunder method as a public API in the doc, so that different checkpoint implementations can leverage this protocol, instead of exposing a separate API

Pull Request resolved: #144100
Approved by: https://github.com/awgu
ghstack dependencies: #144099

(cherry picked from commit eb7a303)

Fixes #ISSUE_NUMBER

cc @H-Huang @awgu @kwen2501 @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o

as titled, this PR expose this dunder method as a public API in the doc,
so that different checkpoint implementations can leverage this protocol,
instead of exposing a separate API

Pull Request resolved: #144100
Approved by: https://github.com/awgu
ghstack dependencies: #144099

(cherry picked from commit eb7a303)
Copy link
pytorch-bot bot commented Jan 14, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 95f329f with merge base f7e621c (image):
💚 Looks good so far! There are no failures yet. 💚

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

@pytorch-bot pytorch-bot bot added ciflow/inductor oncall: distributed Add this issue/PR to distributed oncall triage queue labels Jan 14, 2025
@malfet
Copy link
Contributor
malfet commented Jan 15, 2025

This looks like a special named private functions, than why it should be documented?

@wanchaol
Copy link
Collaborator Author

This looks like a special named private functions, than why it should be documented?

Oh @malfet this is actually the protocol that shared between checkpoint save/load implementations (i.e. DCP) and DTensor. Some user on Slack is asking for an API about it, so I thought it's beneficial to expose this API in the doc

@wanchaol wanchaol closed this Mar 5, 2025
@wanchaol wanchaol deleted the create_chunk_list branch March 6, 2025 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/inductor oncall: distributed Add this issue/PR to distributed oncall triage queue open source
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0