-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Remove onnx imports in dynamo #136334
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
Remove onnx imports in dynamo #136334
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/136334
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (13 Unrelated Failures)As of commit d9f29d3 with merge base 68a7246 ( FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
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.
Looks like tests are failing, you might be able to handle this similar to https://github.com/pytorch/pytorch/blob/main/torch/_dynamo/trace_rules.py
|
@jansel I fixed it by changing the functions to alias the aten ops. Please take another look. Thanks. |
|
@pytorchbot merge -i |
Merge failedReason: Approvers from one of the following sets are needed:
|
|
@pytorchbot merge -i |
|
@pytorchbot merge -f "flaky tests" |
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 |
Remove imports of the ``torch.onnx.operators`` module in dynamo. Since ONNX depends on dynamo, this import line causes a circular dependency. Judging from the source they are not actually needed. Pull Request resolved: pytorch#136334 Approved by: https://github.com/xadupre, https://github.com/jansel, https://github.com/titaiwangms
Remove imports of the ``torch.onnx.operators`` module in dynamo. Since ONNX depends on dynamo, this import line causes a circular dependency. Judging from the source they are not actually needed. Pull Request resolved: pytorch#136334 Approved by: https://github.com/xadupre, https://github.com/jansel, https://github.com/titaiwangms
Remove imports of the
torch.onnx.operatorsmodule in dynamo. Since ONNX depends on dynamo, this import line causes a circular dependency. Judging from the source they are not actually needed.cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @rec @xadupre @gramalingam @titaiwangms