-
Notifications
You must be signed in to change notification settings - Fork 22.1k
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
Make DispatchKeyExtractor forget about TensorOptions #36290
Conversation
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. [ghstack-poisoned]
💊 Build failures summary and remediationsAs of commit 8c88a41 (more details on the Dr. CI page): ✅ None of the build failures appear to be your fault 💚
🚧 1 upstream failure:These were probably caused by upstream breakages:
This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions on the GitHub issue tracker. This comment has been revised 38 times. |
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. [ghstack-poisoned]
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. ghstack-source-id: 25a1a8169399456805303396ae772da5c9e696c1 Pull Request resolved: #36290
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. Differential Revision: [D20936595](https://our.internmc.facebook.com/intern/diff/D20936595) [ghstack-poisoned]
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. [Codegen diff](bhosmer/scratch@before_36290...after_36290) Differential Revision: [D20936595](https://our.internmc.facebook.com/intern/diff/D20936595) [ghstack-poisoned]
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. [Codegen diff](bhosmer/scratch@before_36290...after_36290) Differential Revision: [D20936595](https://our.internmc.facebook.com/intern/diff/D20936595) [ghstack-poisoned]
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. ghstack-source-id: 50d6f4148382b9d92a9bc0e84a7b1d113b32279a Pull Request resolved: #36290
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. [Codegen diff](bhosmer/scratch@before_36290...after_36290) Differential Revision: [D20936595](https://our.internmc.facebook.com/intern/diff/D20936595) [ghstack-poisoned]
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. ghstack-source-id: 226481651491056a32614020aca97f55e9fc68de Pull Request resolved: #36290
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. [Codegen diff](bhosmer/scratch@before_36290...after_36290) Differential Revision: [D20936595](https://our.internmc.facebook.com/intern/diff/D20936595) [ghstack-poisoned]
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. [Codegen diff](bhosmer/scratch@before_36290...after_36290) Differential Revision: [D20936595](https://our.internmc.facebook.com/intern/diff/D20936595) [ghstack-poisoned]
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. ghstack-source-id: 15db9483fb9dcf274573dd794bca0307c8f990dd Pull Request resolved: #36290
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.
You can also remove the TODO in DispatchKeyExtractor::getDispatchKeyBoxed
aten/src/ATen/function_wrapper.py
Outdated
@@ -509,7 +512,7 @@ def __getitem__(self, x): | |||
'formals': List[str], | |||
'formals_types': List[str], | |||
'formals_types_with_return': List[str], | |||
'inferred_key_set': str, | |||
# 'inferred_key_set': str, |
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.
why not remove entirely?
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.
doh
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. [Codegen diff](bhosmer/scratch@before_36290...after_36290) Differential Revision: [D20936595](https://our.internmc.facebook.com/intern/diff/D20936595) [ghstack-poisoned]
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. ghstack-source-id: c93781294a64449b222016ab6c280ca6f12d6db7 Pull Request resolved: #36290
Looks like this PR broke Reverting now. |
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. [ghstack-poisoned]
#36290)" The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. Differential Revision: [D21013652](https://our.internmc.facebook.com/intern/diff/D21013652) [ghstack-poisoned]
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. ghstack-source-id: 1b20e3b1ca8e15b6bf595b1b09960ff105cafb08 Pull Request resolved: #36562
#36290)" The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. Differential Revision: [D21013652](https://our.internmc.facebook.com/intern/diff/D21013652) [ghstack-poisoned]
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. ghstack-source-id: 5ac9197527812bf1e74f3709896982d9984f737e Pull Request resolved: #36562
#36290)" The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. Differential Revision: [D21013652](https://our.internmc.facebook.com/intern/diff/D21013652) [ghstack-poisoned]
The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. ghstack-source-id: 3fd9d8151d2278f909c076d67e085aeb4d24db90 Pull Request resolved: #36562
…36562) Summary: Pull Request resolved: #36562 The BackendSelect dispatch key gives us a way to extract backend- specific dispatch keys from non-Tensor arguments without teaching the DispatchKeyExtractor about them. Here we finish switching over to the BackendSelect approach for factory functions and remove TensorOptions from the set of types DispatchKeyExtractor needs to consider. Test Plan: Imported from OSS Differential Revision: D21013652 Pulled By: bhosmer fbshipit-source-id: e30512d1c3202149e72b7d7ce15084bbfed63ac7
Stack from ghstack:
The BackendSelect dispatch key gives us a way to extract backend-
specific dispatch keys from non-Tensor arguments without teaching
the DispatchKeyExtractor about them. Here we finish switching over
to the BackendSelect approach for factory functions and remove
TensorOptions from the set of types DispatchKeyExtractor needs to
consider.
Codegen diff
Differential Revision: D20936595