-
Notifications
You must be signed in to change notification settings - Fork 22.1k
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
Add support for dynamic kwarg to torch._dynamo.optimize #89290
Conversation
This is an easier way to enable dynamic shapes for a region. Signed-off-by: Edward Z. Yang <ezyang@fb.com> [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/89290
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 2c034cc: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This is an easier way to enable dynamic shapes for a region. Signed-off-by: Edward Z. Yang <ezyangfb.com> ghstack-source-id: 3553c580c6978bf76c154d210525594407fcf396 Pull Request resolved: #89290
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.
shipit
This is an easier way to enable dynamic shapes for a region. Signed-off-by: Edward Z. Yang <ezyangfb.com> cc mlazos soumith voznesenskym yanboliang penguinwu anijain2305 EikanWang jgong5 Guobing-Chen chunyuan-w XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire [ghstack-poisoned]
This is an easier way to enable dynamic shapes for a region. Signed-off-by: Edward Z. Yang <ezyangfb.com> cc mlazos soumith voznesenskym yanboliang penguinwu anijain2305 EikanWang jgong5 Guobing-Chen chunyuan-w XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire [ghstack-poisoned]
This is an easier way to enable dynamic shapes for a region. Signed-off-by: Edward Z. Yang <ezyangfb.com> ghstack-source-id: 6724312a1fb01c1a7bcfa45c3ecc91fc35310193 Pull Request resolved: #89290
@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 |
There's a place in our symbolic shapes branch where we sniff args in a signature for a calling convention before we have this. Let's remember to change it. |
@voznesenskym wait, surely we aren't sniffing optimize? |
This is an easier way to enable dynamic shapes for a region. Signed-off-by: Edward Z. Yang <ezyang@fb.com> Pull Request resolved: pytorch#89290 Approved by: https://github.com/soumith, https://github.com/jansel, https://github.com/voznesenskym
Stack from ghstack (oldest at bottom):
This is an easier way to enable dynamic shapes for a region.
Signed-off-by: Edward Z. Yang ezyang@fb.com
cc @mlazos @soumith @voznesenskym @yanboliang @penguinwu @anijain2305 @EikanWang @jgong5 @Guobing-Chen @chunyuan-w @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @desertfire