-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[ONNX] Default to dynamo export #159646
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
[ONNX] Default to dynamo export #159646
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/159646
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit 5283603 with merge base b7e207c ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Set dynamo=True and enable fallback.
4c625cc
to
e57c158
Compare
Signed-off-by: Justin Chu <justinchu@microsoft.com>
Signed-off-by: Justin Chu <justinchu@microsoft.com>
Signed-off-by: Justin Chu <justinchu@microsoft.com>
@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 |
@pytorchbot revert -m="Diff reverted internally" -c="ghfirst" This Pull Request has been reverted by a revert inside Meta. To re-land this change, please open another pull request, assign the same reviewers, fix the CI failures that caused the revert and make sure that the failing CI runs on the PR by applying the proper ciflow label (e.g., ciflow/trunk).) |
@pytorchbot successfully started a revert job. Check the current status here. |
This reverts commit 11b6ceb. Reverted #159646 on behalf of https://github.com/facebook-github-bot due to Diff reverted internally ([comment](#159646 (comment)))
@justinchuby your PR has been successfully reverted. |
cc @tugsbayasgalan @pianpwk @angelayi (Meta internal breaks) |
@titaiwangms I mentioned this in the slack channel but it seems like dynamo=True creates a dependency on onnxscript, which is not imported in our internal codebase, causing many failures. To fix this, we'll first patch all the internal code to call dynamo=False and then land this PR. |
Were you able to make the internal changes? |
Set dynamo=True and enable fallback. 1. Implemented the compatible behavior where BytesIO objects as `f` is accepted 2. Update tests to explicitly set dynamo=False pytorch#151693 Pull Request resolved: pytorch#159646 Approved by: https://github.com/titaiwangms
This reverts commit 11b6ceb. Reverted pytorch#159646 on behalf of https://github.com/facebook-github-bot due to Diff reverted internally ([comment](pytorch#159646 (comment)))
@angelayi checking again if you made any progress? Thanks! |
Sorry I set up the codemod but it hasn't modified all the files yet! will update this thread once it's finished! |
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
@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 |
Set dynamo=True and enable fallback. 1. Implemented the compatible behavior where BytesIO objects as `f` is accepted 2. Update tests to explicitly set dynamo=False pytorch#151693 Pull Request resolved: pytorch#159646 Approved by: https://github.com/titaiwangms
This reverts commit 11b6ceb. Reverted pytorch#159646 on behalf of https://github.com/facebook-github-bot due to Diff reverted internally ([comment](pytorch#159646 (comment)))
Set dynamo=True and enable fallback. 1. Implemented the compatible behavior where BytesIO objects as `f` is accepted 2. Update tests to explicitly set dynamo=False pytorch#151693 Pull Request resolved: pytorch#159646 Approved by: https://github.com/titaiwangms
Set dynamo=True and enable fallback. 1. Implemented the compatible behavior where BytesIO objects as `f` is accepted 2. Update tests to explicitly set dynamo=False pytorch#151693 Pull Request resolved: pytorch#159646 Approved by: https://github.com/titaiwangms
Set dynamo=True and enable fallback.
f
is accepted#151693
cc @titaiwangms