-
Couldn't load subscription status.
- Fork 25.7k
[ONNX] Deprecate operators.py #87798
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] Deprecate operators.py #87798
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/87798
Note: Links to docs will display an error until the docs builds have been completed. ❌ 2 FailuresAs of commit 7f12f2e: The following jobs have failed:
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.
hmm is this not bc breaking?
|
Looks like its used somewhere else. Taking a closer look |
|
Hmm. Looks like its still used in caffe2 models. I will add a deprecation message instead? |
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.
lgtm
|
@pytorchbot merge -g |
Merge startedYour change will be merged once all checks on your PR pass since you used the green (-g) flag (ETA: 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: The following mandatory check(s) failed (Rule Dig deeper by viewing the failures on hud Details for Dev Infra teamRaised by workflow job |
|
❌ 🤖 pytorchbot command failed: Try |
|
@pytorchbot merge -f "All pull tests passed; trunk flaky" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@pytorchbot revert -m "breaking internal builds see D40797126" -c ghfirst |
|
@pytorchbot successfully started a revert job. Check the current status here. |
|
@justinchuby your PR has been successfully reverted. |
This reverts commit 88eff10. Reverted #87798 on behalf of https://github.com/weiwangmeta due to breaking internal builds see D40797126
|
@weiwangmeta could you post the errors from D40797126? Thanks! |
Sorry for the delayed response. The errors stemmed from |
|
I realize this PR is all about BC breaking and it is not surprising to see the above failures. But looks like we have internal usage that is still relying on the old API. cc @osalpekar @mehtanirav @seemethere How should we embrace this deprecation? |
|
I wonder why |
|
Thanks. It could be that jit script doesn't like the deprecation logic. I'd be curious to hear suggestions on the deprecation path, as the underlying aten ops seem to be non-public. |
|
Thanks @justinchuby. Let's involve more folks. cc @malfet @kit1980 |
Deprecate `torch.onnx.operators` because it's only for backwards compatibility Pull Request resolved: pytorch#87798 Approved by: https://github.com/BowenBao
This reverts commit 88eff10. Reverted pytorch#87798 on behalf of https://github.com/weiwangmeta due to breaking internal builds see D40797126
|
I see there are two slightly different problem:
|
Deprecate `torch.onnx.operators` because it's only for backwards compatibility Pull Request resolved: pytorch#87798 Approved by: https://github.com/BowenBao
This reverts commit 88eff10. Reverted pytorch#87798 on behalf of https://github.com/weiwangmeta due to breaking internal builds see D40797126
Deprecate
torch.onnx.operatorsbecause it's only for backwards compatibility