-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Centralize addition of "always on" dispatch keys. #32734
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
VariableTensorId is the only key with this treatment today, but BackendSelect and CompoundOp are coming soon. Signed-off-by: Edward Z. Yang <ezyang@fb.com> [ghstack-poisoned]
💊 CircleCI build failures summary and remediationsAs of commit fd13557:
Detailed failure analysisOne may explore the probable reasons each build failed interactively on the Dr. CI website. 🕵️ 1 new failure recognized by patternsThe following build failures do not appear to be due to upstream breakage:
|
This PR made me think of a centralized place for fallback registrations as the number of DispatchKeys that are available is growing. Do we need a mechanism like that? OR its too soon to make this call as there are only 2 keys like that - variable and backendSelect? |
Yeah, I dunno. It's not strictly necessary to centralize registrations; e.g., CPU/CUDA are registered in CPUType/CUDAType, and then Variable is registered in VariableType. But I agree it's not that clear what the most obvious place to put registrations is. |
VariableTensorId is the only key with this treatment today, but BackendSelect and CompoundOp are coming soon. Signed-off-by: Edward Z. Yang <ezyang@fb.com> Differential Revision: [D19628091](https://our.internmc.facebook.com/intern/diff/D19628091) [ghstack-poisoned]
VariableTensorId is the only key with this treatment today, but BackendSelect and CompoundOp are coming soon. Signed-off-by: Edward Z. Yang <ezyang@fb.com> Differential Revision: [D19628091](https://our.internmc.facebook.com/intern/diff/D19628091) [ghstack-poisoned]
1 similar comment
VariableTensorId is the only key with this treatment today, but BackendSelect and CompoundOp are coming soon. Signed-off-by: Edward Z. Yang <ezyang@fb.com> ghstack-source-id: b7abf99 Pull Request resolved: pytorch/pytorch#32734
Summary: Pull Request resolved: pytorch#32734 VariableTensorId is the only key with this treatment today, but BackendSelect and CompoundOp are coming soon. Signed-off-by: Edward Z. Yang <ezyang@fb.com> Test Plan: Imported from OSS Differential Revision: D19628091 Pulled By: ezyang fbshipit-source-id: 250753f90528fa282af7a18d8d2f7736382754bd
Stack from ghstack:
VariableTensorId is the only key with this treatment today,
but BackendSelect and CompoundOp are coming soon.
Signed-off-by: Edward Z. Yang ezyang@fb.com
Differential Revision: D19628091