-
Notifications
You must be signed in to change notification settings - Fork 25.3k
[2d] pass shape/stride during tensor unflatten #113547
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
as titled, built on top of the work @wz337 enabled, this could save some runtime CPU time to recreate DTensor parameters with correct shape/stride, and avoid issues when un-even sharding parameters [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/113547
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 8132ed0 with merge base b3a76cc ( 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.
LGTM! Ready to accept when these 2 comments get addressed.
as titled, built on top of the work wz337 enabled, this could save some runtime CPU time to recreate DTensor parameters with correct shape/stride, and avoid issues when un-even sharding parameters cc H-Huang awgu kwen2501 fegin fduwjj wz337 wconstab mrshenli zhaojuanmao rohan-varma kiukchung d4l3k lucasllc XilunWu [ghstack-poisoned]
as titled, built on top of the work wz337 enabled, this could save some runtime CPU time to recreate DTensor parameters with correct shape/stride, and avoid issues when un-even sharding parameters cc H-Huang awgu kwen2501 fegin fduwjj wz337 wconstab mrshenli zhaojuanmao rohan-varma kiukchung d4l3k lucasllc XilunWu [ghstack-poisoned]
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.
LGTM!
@pytorchbot merge |
Merge failedReason: This PR needs a If not, please add the To add a label, you can comment to pytorchbot, for example For more information, see Details for Dev Infra teamRaised by workflow job |
@pytorchbot merge |
Merge startedYour 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 |
Merge failedReason: Command
Details for Dev Infra teamRaised by workflow job |
@pytorchbot merge |
Merge startedYour 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 |
Merge failedReason: Command
Details for Dev Infra teamRaised by workflow job |
❌ 🤖 pytorchbot command failed:
Try |
@pytorchbot --help |
PyTorchBot Help
Merge
Revert
Rebase
Label
Dr CI
|
@pytorchbot revert -m "broken compile test" -c "ghfirst" |
@pytorchbot successfully started a revert job. Check the current status here. |
@wanchaol your PR has been successfully reverted. |
This reverts commit 9337245. Reverted #113547 on behalf of https://github.com/wanchaol due to broken compile test ([comment](#113547 (comment)))
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.
LGTM!
Reland of #113547 as the previous PR reverted bc of torch.compile symbolic shape issue. Since we now disabled tensor unflatten with dynamo.disable, we should not hit this issue again [ghstack-poisoned]
Reland of #113547 as the previous PR reverted bc of torch.compile symbolic shape issue. Since we now disabled tensor unflatten with dynamo.disable, we should not hit this issue again cc mrshenli pritamdamania87 zhaojuanmao satgera rohan-varma gqchen aazzolini osalpekar jiayisuse H-Huang kwen2501 awgu penguinwu fegin XilunWu fduwjj wz337 tianyu-l wconstab yf225 [ghstack-poisoned]
…nflatten" Reland of #113547 as the previous PR reverted bc of torch.compile symbolic shape issue. Since we now disabled tensor unflatten with dynamo.disable, we should not hit this issue again cc mrshenli pritamdamania87 zhaojuanmao satgera rohan-varma gqchen aazzolini osalpekar jiayisuse H-Huang kwen2501 awgu penguinwu fegin XilunWu fduwjj wz337 tianyu-l wconstab yf225 [ghstack-poisoned]
Reland of #113547 as the previous PR reverted bc of torch.compile symbolic shape issue. Since we now disabled tensor unflatten with dynamo.disable, we should not hit this issue again cc mrshenli pritamdamania87 zhaojuanmao satgera rohan-varma gqchen aazzolini osalpekar jiayisuse H-Huang kwen2501 awgu penguinwu fegin XilunWu fduwjj wz337 tianyu-l wconstab yf225 [ghstack-poisoned]
…nflatten" Reland of #113547 as the previous PR reverted bc of torch.compile symbolic shape issue. Since we now disabled tensor unflatten with dynamo.disable, we should not hit this issue again cc mrshenli pritamdamania87 zhaojuanmao satgera rohan-varma gqchen aazzolini osalpekar jiayisuse H-Huang kwen2501 awgu penguinwu fegin XilunWu fduwjj wz337 tianyu-l wconstab yf225 [ghstack-poisoned]
Reland of #113547 as the previous PR reverted bc of torch.compile symbolic shape issue. Since we now disabled tensor unflatten with dynamo.disable, we should not hit this issue again cc mrshenli pritamdamania87 zhaojuanmao satgera rohan-varma gqchen aazzolini osalpekar jiayisuse H-Huang kwen2501 awgu penguinwu fegin XilunWu fduwjj wz337 tianyu-l wconstab yf225 [ghstack-poisoned]
…nsor unflatten" Reland of #113547 as the previous PR reverted bc of torch.compile symbolic shape issue. Since we now disabled tensor unflatten with dynamo.disable, we should not hit this issue again cc mrshenli pritamdamania87 zhaojuanmao satgera rohan-varma gqchen aazzolini osalpekar jiayisuse H-Huang kwen2501 awgu penguinwu fegin XilunWu fduwjj wz337 tianyu-l wconstab yf225 [ghstack-poisoned]
Reland of #113547 as the previous PR reverted bc of torch.compile symbolic shape issue. Since we now disabled tensor unflatten with dynamo.disable, we should not hit this issue again cc mrshenli pritamdamania87 zhaojuanmao satgera rohan-varma gqchen aazzolini osalpekar jiayisuse H-Huang kwen2501 awgu penguinwu fegin XilunWu fduwjj wz337 tianyu-l wconstab yf225 [ghstack-poisoned]
Reland of #113547 as the previous PR reverted bc of torch.compile symbolic shape issue. Since we now disabled tensor unflatten with dynamo.disable, we should not hit this issue again Pull Request resolved: #117340 Approved by: https://github.com/Skylion007 ghstack dependencies: #117336
this relanded as a separate PR, closing this |
Stack from ghstack (oldest at bottom):
as titled, built on top of the work @wz337 enabled, this could save some
runtime CPU time to recreate DTensor parameters with correct
shape/stride, and avoid issues when un-even sharding parameters
cc @mrshenli @pritamdamania87 @zhaojuanmao @satgera @rohan-varma @gqchen @aazzolini @osalpekar @jiayisuse @H-Huang @kwen2501 @awgu @penguinwu @fegin @XilunWu @fduwjj @wz337 @tianyu-l @wconstab @yf225 @kiukchung @d4l3k @LucasLLC