-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[custom_ops] expose torch.library.register_torch_dispatch #130261
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
This is the API for defining the interaction between a torch_dispatch class and a custom op. Taking API bikeshedding. Test Plan: - new tests [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/130261
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 99a25c6 with merge base 9c1ba5a ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This is the API for defining the interaction between a torch_dispatch class and a custom op. Taking API bikeshedding. Test Plan: - new tests [ghstack-poisoned]
This is the API for defining the interaction between a torch_dispatch class and a custom op. Taking API bikeshedding. Test Plan: - new tests [ghstack-poisoned]
albanD
left a comment
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.
Sounds good!
Only small nits on the doc
This is the API for defining the interaction between a torch_dispatch class and a custom op. Taking API bikeshedding. Test Plan: - new tests [ghstack-poisoned]
|
Ho we also remove positional? lol good to know! |
Yes, I'm not a big fan lol |
This is the API for defining the interaction between a torch_dispatch class and a custom op. Taking API bikeshedding. Test Plan: - new tests [ghstack-poisoned]
This is the API for defining the interaction between a torch_dispatch class and a custom op. Taking API bikeshedding. Test Plan: - new tests [ghstack-poisoned]
This is the API for defining the interaction between a torch_dispatch class and a custom op. Taking API bikeshedding. Test Plan: - new tests [ghstack-poisoned]
|
@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 "depends on #130064 which needs to be reverted" -c ghfirst |
|
@pytorchbot successfully started a revert job. Check the current status here. |
Reverting PR 130261 failedReason: Command Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot revert -m "depends on #130064 which needs to be reverted" -c ghfirst |
|
@pytorchbot successfully started a revert job. Check the current status here. |
|
@zou3519 your PR has been successfully reverted. |
…30261)" This reverts commit bb9a73f. Reverted #130261 on behalf of https://github.com/izaitsevfb due to depends on #130064 which needs to be reverted ([comment](#130261 (comment)))
This is the API for defining the interaction between a torch_dispatch class and a custom op. Taking API bikeshedding. Test Plan: - new tests [ghstack-poisoned]
|
@pytorchbot merge -f "unrelated failure" |
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 |
Merge failedReason: Command Details for Dev Infra teamRaised by workflow job |
This is the API for defining the interaction between a torch_dispatch class and a custom op. Taking API bikeshedding. Test Plan: - new tests [ghstack-poisoned]
|
@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 |
This is the API for defining the interaction between a torch_dispatch class and a custom op. Taking API bikeshedding. Test Plan: - new tests Pull Request resolved: pytorch/pytorch#130261 Approved by: https://github.com/albanD ghstack dependencies: #130064 ghstack-source-id: 0b9c65a
…0261) This is the API for defining the interaction between a torch_dispatch class and a custom op. Taking API bikeshedding. Test Plan: - new tests Pull Request resolved: pytorch#130261 Approved by: https://github.com/albanD ghstack dependencies: pytorch#130064
…torch#130261)" This reverts commit bb9a73f. Reverted pytorch#130261 on behalf of https://github.com/izaitsevfb due to depends on pytorch#130064 which needs to be reverted ([comment](pytorch#130261 (comment)))
…0261) This is the API for defining the interaction between a torch_dispatch class and a custom op. Taking API bikeshedding. Test Plan: - new tests Pull Request resolved: pytorch#130261 Approved by: https://github.com/albanD ghstack dependencies: pytorch#130064
Stack from ghstack (oldest at bottom):
This is the API for defining the interaction between a torch_dispatch
class and a custom op. Taking API bikeshedding.
Test Plan: