-
Notifications
You must be signed in to change notification settings - Fork 559
Document how to debug the dispatcher #8712
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
base: master
Are you sure you want to change the base?
Conversation
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.
Thank you for the instructions!
@mikegre-google gentle ping |
``` | ||
|
||
This suggests that the dispatcher wants to call the `aten.einsum` | ||
operation with the `AutogradXLA` dispatch key. The best guide level |
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.
Couldn't we say that PyTorch uses the dispatch key to determine which kernel to call and then point to the blog?
|
||
### Debugging op dispatch | ||
|
||
Sometimes even after registering the lowering, PyTorch might not make use |
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.
Suggest: "After registering an op lowering, PyTorch might not call it as expected."
No description provided.