-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Add unsupported types to schema type parser #28181
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
These types are needed to parse the schemas from native_functions.yaml. Note: This doesn't actually add the functionality to JIT, it only makes the parser pass. Differential Revision: [D17969014](https://our.internmc.facebook.com/intern/diff/D17969014/) [ghstack-poisoned]
These types are needed to parse the schemas from native_functions.yaml. Note: This doesn't actually add the functionality to JIT, it only makes the parser pass. Differential Revision: [D17969014](https://our.internmc.facebook.com/intern/diff/D17969014/) [ghstack-poisoned]
|
I'm pretty sure I don't want ConstQuantizerPtr permanently in the list. @jerryzh168 you have previously told me this name is temporary. What is the plan? At the VERY least the types we aren't going to stick to should be prominently documented as such. |
These types are needed to parse the schemas from native_functions.yaml. Note: This doesn't actually add the functionality to JIT, it only makes the parser pass. Differential Revision: [D17969014](https://our.internmc.facebook.com/intern/diff/D17969014/) [ghstack-poisoned]
|
I added a bunch of TODOs to these types |
These types are needed to parse the schemas from native_functions.yaml. Note: This doesn't actually add the functionality to JIT, it only makes the parser pass. Differential Revision: [D17969014](https://our.internmc.facebook.com/intern/diff/D17969014/) [ghstack-poisoned]
These types are needed to parse the schemas from native_functions.yaml. Note: This doesn't actually add the functionality to JIT, it only makes the parser pass. Differential Revision: [D17969014](https://our.internmc.facebook.com/intern/diff/D17969014/) [ghstack-poisoned]
zdevito
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.
Looks good except for DimnameList.
we'll have a Quantizer type that will replace this one in the future, and it's blocked on TorchBind supporting custom times right now, @jamesr66a has signed up to work on it. |
| {"QScheme", IntType::get()}, | ||
| {"Storage", IntType::get()}, | ||
| {"QScheme", IntType::get()}, // TODO This type should be removed from the schema parser, it should use the custom class mechanism instead. @jerryzh | ||
| {"ConstQuantizerPtr", IntType::get()}, // TODO This type should be removed from the schema parser, it should use the custom class mechanism instead. @jerryzh |
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.
yep, I'm fine landing it as is right now though
These types are needed to parse the schemas from native_functions.yaml. Note: This doesn't actually add the functionality to JIT, it only makes the parser pass. Differential Revision: [D17969014](https://our.internmc.facebook.com/intern/diff/D17969014/) [ghstack-poisoned]
These types are needed to parse the schemas from native_functions.yaml. Note: This doesn't actually add the functionality to JIT, it only makes the parser pass. Differential Revision: [D17969014](https://our.internmc.facebook.com/intern/diff/D17969014/) [ghstack-poisoned]
These types are needed to parse the schemas from native_functions.yaml. Note: This doesn't actually add the functionality to JIT, it only makes the parser pass. Differential Revision: [D17969014](https://our.internmc.facebook.com/intern/diff/D17969014/) [ghstack-poisoned]
These types are needed to parse the schemas from native_functions.yaml. Note: This doesn't actually add the functionality to JIT, it only makes the parser pass. Differential Revision: [D17969014](https://our.internmc.facebook.com/intern/diff/D17969014/) [ghstack-poisoned]
These types are needed to parse the schemas from native_functions.yaml. Note: This doesn't actually add the functionality to JIT, it only makes the parser pass. Differential Revision: [D17969014](https://our.internmc.facebook.com/intern/diff/D17969014/) [ghstack-poisoned]
These types are needed to parse the schemas from native_functions.yaml. Note: This doesn't actually add the functionality to JIT, it only makes the parser pass. Differential Revision: [D17969014](https://our.internmc.facebook.com/intern/diff/D17969014/) [ghstack-poisoned]
Summary: Pull Request resolved: pytorch/pytorch#28181 These types are needed to parse the schemas from native_functions.yaml. Note: This doesn't actually add the functionality to JIT, it only makes the parser pass. ghstack-source-id: 92436989 Test Plan: waitforsandcastle Differential Revision: D17969014 fbshipit-source-id: 41ebe256baec81ed8fb165e7b7cffa5160d285c3
|
This pull request has been merged in a94bf1d. |
Summary: Pull Request resolved: pytorch#28181 These types are needed to parse the schemas from native_functions.yaml. Note: This doesn't actually add the functionality to JIT, it only makes the parser pass. ghstack-source-id: 92436989 Test Plan: waitforsandcastle Differential Revision: D17969014 fbshipit-source-id: 41ebe256baec81ed8fb165e7b7cffa5160d285c3
Stack from ghstack:
These types are needed to parse the schemas from native_functions.yaml.
Note: This doesn't actually add the functionality to JIT, it only makes the parser pass.
Differential Revision: D17969014