pytorch
6852cbb9 - [RFC] Better error message in case operator could not be run (#46885)

Commit
4 years ago
[RFC] Better error message in case operator could not be run (#46885) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/46885 There seem to be a lot of situations where users are running into problems with missing operators (these users are mostly within FB for now since the mobile focus is currently on internal use cases). To avoid wasting their time, we would very much like to point them in a more actionable direction. This diff attempts to do just that. Please find additional context at: https://fb.workplace.com/groups/894363187646754/permalink/1081939438889127/ Previous message: ``` Could not run 'aten::less_equal.Scalar' with arguments from the 'CPU' backend. ``` New message: ``` Could not run 'aten::less_equal.Scalar' with arguments from the 'CPU' backend. This could be because the operator doesn't exist for this backend, or was omited during the selective/custom build process (if using custom build). If you are a Facebook employee using PyTorch on mobile, please visit https://fburl.com/ptmfixes for possible resolutions. ``` ghstack-source-id: 115691682 Test Plan: Sandcastle Reviewed By: ezyang Differential Revision: D24552243 fbshipit-source-id: fb78b1ab2c1fa0e1faf5537cbf0575256391f081
Author
Parents
Loading