8000 [tp] refactor and fix PrepareModuleInput for DTensor inputs (#128431) by wanchaol · Pull Request #128719 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

[tp] refactor and fix PrepareModuleInput for DTensor inputs (#128431) #128719

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

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

wanchaol
Copy link
Collaborator
@wanchaol wanchaol commented Jun 14, 2024

as titled, this PR refactors the PrepareModuleInput style to have common method prepare_input_arg, allow both args/kwargs to reuse this logic

This also fixes #128365

Pull Request resolved: #128431
Approved by: https://github.com/awgu

(cherry picked from commit 7775fee)

Fixes #ISSUE_NUMBER

cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @penguinwu @fegin @XilunWu @fduwjj @wz337 @tianyu-l @wconstab @yf225 @chauhang @d4l3k

as titled, this PR refactors the PrepareModuleInput style to have common
method prepare_input_arg, allow both args/kwargs to reuse this logic

This also fixes #128365

Pull Request resolved: #128431
Approved by: https://github.com/awgu

(cherry picked from commit 7775fee)
Copy link
pytorch-bot bot commented Jun 14, 2024

🔗 Helpful Links

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

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

✅ You can merge normally! (2 Unrelated Failures)

As of commit 744e61a with merge base b66e3f0 (image):

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.

@pytorch-bot pytorch-bot bot added the oncall: distributed Add this issue/PR to distributed oncall triage queue label Jun 14, 2024
@atalman atalman merged commit 562cdc2 into release/2.4 Jun 19, 2024
102 of 104 checks passed
@atalman atalman deleted the tp_2.4_release branch June 19, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
oncall: distributed Add this issue/PR to distributed oncall triage queue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0