Skip to content
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

Closed
wants to merge 3 commits into from

Conversation

ezyang
Copy link
Contributor

@ezyang ezyang commented Nov 18, 2022

This is an easier way to enable dynamic shapes for a region.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 18, 2022

🔗 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 Failures

As of commit 2c034cc:
💚 Looks good so far! There are no failures yet. 💚

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

ezyang added a commit that referenced this pull request Nov 18, 2022
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
@ezyang ezyang requested a review from jansel November 18, 2022 16:44
Copy link
Member

@soumith soumith left a comment

Choose a reason for hiding this comment

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

shipit

@ezyang ezyang added the topic: improvements topic category label Nov 19, 2022
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]
ezyang added a commit that referenced this pull request Nov 19, 2022
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
@ezyang
Copy link
Contributor Author

ezyang commented Nov 19, 2022

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 19, 2022
@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

@voznesenskym
Copy link
Collaborator

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.

@ezyang
Copy link
Contributor Author

ezyang commented Nov 19, 2022

@voznesenskym wait, surely we aren't sniffing optimize?

kulinseth pushed a commit to kulinseth/pytorch that referenced this pull request Dec 10, 2022
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
@facebook-github-bot facebook-github-bot deleted the gh/ezyang/1542/head branch June 8, 2023 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants