-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[ONNX] Unify ONNXProgram and remove the old one #136281
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
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/136281
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 395c9dc with merge base 9abdc62 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Fixes #136274 [ghstack-poisoned]
ghstack-source-id: 7a72fba Pull Request resolved: pytorch#136281
Fixes #136274 [ghstack-poisoned]
ghstack-source-id: ff06bcb Pull Request resolved: pytorch#136281 Signed-off-by: Justin Chu <justinchu@microsoft.com>
Fixes #136274 [ghstack-poisoned]
## Note `test_fx_to_onnx_with_onnxruntime.py` is removed for now. A better version will be added back. Fixes #136274 [ghstack-poisoned]
ghstack-source-id: ada375f Pull Request resolved: pytorch#136281 Signed-off-by: Justin Chu <justinchu@microsoft.com>
## TODO - Make sure onnxprogram is importable w/o onnxscript - Update fx tests ## Note `test_fx_to_onnx_with_onnxruntime.py` is removed for now. A better version will be added back. Fixes #136274 [ghstack-poisoned]
ghstack-source-id: 5a72b1e Pull Request resolved: pytorch#136281 Signed-off-by: Justin Chu <justinchu@microsoft.com>
## TODO - Make sure onnxprogram is importable w/o onnxscript - Update fx tests ## Note `test_fx_to_onnx_with_onnxruntime.py` is removed for now. A better version will be added back. Fixes #136274 [ghstack-poisoned]
ghstack-source-id: 1852d59 Pull Request resolved: pytorch#136281 Signed-off-by: Justin Chu <justinchu@microsoft.com>
## TODO - Make sure onnxprogram is importable w/o onnxscript - Update fx tests ## Note `test_fx_to_onnx_with_onnxruntime.py` is removed for now. A better version will be added back. Fixes #136274 [ghstack-poisoned]
ghstack-source-id: 0e4c585 Pull Request resolved: pytorch#136281 Signed-off-by: Justin Chu <justinchu@microsoft.com>
## TODO - Make sure onnxprogram is importable w/o onnxscript - Update fx tests ## Note `test_fx_to_onnx_with_onnxruntime.py` is removed for now. A better version will be added back. Fixes #136274 [ghstack-poisoned]
ghstack-source-id: 94d4280 Pull Request resolved: pytorch#136281 Signed-off-by: Justin Chu <justinchu@microsoft.com>
## Note `test_fx_to_onnx_with_onnxruntime.py` is removed for now (it has a lot of xfails anyways). A better version will be added back. Fixes #136274 [ghstack-poisoned]
ghstack-source-id: dd50af4 Pull Request resolved: pytorch#136281 Signed-off-by: Justin Chu <justinchu@microsoft.com>
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.
Skipping PR sanity check for code removal sounds good!
Thanks for the cleanup!
## Note `test_fx_to_onnx_with_onnxruntime.py` is removed for now (it has a lot of xfails anyways). A better version will be added back. Fixes #136274 cc albanD [ghstack-poisoned]
ghstack-source-id: cd9428a Pull Request resolved: pytorch#136281 Signed-off-by: Justin Chu <justinchu@microsoft.com>
## Note `test_fx_to_onnx_with_onnxruntime.py` is removed for now (it has a lot of xfails anyways). A better version will be added back. Fixes #136274 cc albanD [ghstack-poisoned]
## Note `test_fx_to_onnx_with_onnxruntime.py` is removed for now (it has a lot of xfails anyways). A better version will be added back. Fixes #136274 cc albanD [ghstack-poisoned]
ghstack-source-id: f6bca05 Pull Request resolved: pytorch#136281 Signed-off-by: Justin Chu <justinchu@microsoft.com>
## Note `test_fx_to_onnx_with_onnxruntime.py` is removed for now (it has a lot of xfails anyways). A better version will be added back. Fixes #136274 cc albanD [ghstack-poisoned]
## Note `test_fx_to_onnx_with_onnxruntime.py` is removed for now (it has a lot of xfails anyways). A better version will be added back. Fixes #136274 cc albanD [ghstack-poisoned]
ghstack-source-id: e4e7f81 Pull Request resolved: pytorch#136281 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 merge -f "All relevant tests passed" |
|
The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Pull Request resolved: #136279 Approved by: https://github.com/xadupre ghstack dependencies: #136281
## Note `test_fx_to_onnx_with_onnxruntime.py` is removed for now (it has a lot of xfails anyways). A better version will be added back. Fixes pytorch#136274 Pull Request resolved: pytorch#136281 Approved by: https://github.com/xadupre, https://github.com/albanD
Pull Request resolved: pytorch#136279 Approved by: https://github.com/xadupre ghstack dependencies: pytorch#136281
## Note `test_fx_to_onnx_with_onnxruntime.py` is removed for now (it has a lot of xfails anyways). A better version will be added back. Fixes pytorch#136274 Pull Request resolved: pytorch#136281 Approved by: https://github.com/xadupre, https://github.com/albanD
Pull Request resolved: pytorch#136279 Approved by: https://github.com/xadupre ghstack dependencies: pytorch#136281
| self.options.diagnostic_context, | ||
| fake_context=self.options.fake_context, | ||
| model_torch=self.model, | ||
| return _onnx_program.ONNXProgram( |
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.
@justinchuby How do we call io_adapter in this scenario?
Stack from ghstack (oldest at bottom):
Note
test_fx_to_onnx_with_onnxruntime.pyis removed for now (it has a lot of xfails anyways). A better version will be added back.Fixes #136274
cc @albanD