-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Report the names of unsupported operators in flatbuffer_loader.cpp #73865
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
Summary:
- Report the names of unsupported operators in `flatbuffer_loader.cpp`:
```
TORCH_CHECK(
unsupported_op_names.empty(),
"Unsupported ops: ",
c10::Join(", ", unsupported_op_names));
```
- Use `TORCH_CHECK` instead of `AT_ASSERT` because `AT_ASSERT` is deprecated (see https://www.internalfb.com/code/fbsource/[9fbf30fa6401f8b341c3100c90f9d929a8ad7f9b]/fbcode/caffe2/c10/util/Exception.h?lines=585)
Test Plan: CI
Differential Revision: D34635838
fbshipit-source-id: 3d575c0482773b2a66a965251ff67e3ac37065f9
CI Flow Status⚛️ CI FlowRuleset - Version:
|
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit c6ee48a (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
|
This pull request was exported from Phabricator. Differential Revision: D34635838 |
…73865) Summary: Pull Request resolved: #73865 - Report the names of unsupported operators in `flatbuffer_loader.cpp`: ``` TORCH_CHECK( unsupported_op_names.empty(), "Unsupported ops: ", c10::Join(", ", unsupported_op_names)); ``` - Use `TORCH_CHECK` instead of `AT_ASSERT` because `AT_ASSERT` is deprecated (see https://www.internalfb.com/code/fbsource/[9fbf30fa6401f8b341c3100c90f9d929a8ad7f9b]/fbcode/caffe2/c10/util/Exception.h?lines=585) Test Plan: CI Reviewed By: qihqi Differential Revision: D34635838 fbshipit-source-id: e95d3369d66c18d312fe56c1f44606fe86504947
|
Hey @poweic. |
Summary:
flatbuffer_loader.cpp:TORCH_CHECKinstead ofAT_ASSERTbecauseAT_ASSERTis deprecated (see https://www.internalfb.com/code/fbsource/[9fbf30fa6401f8b341c3100c90f9d929a8ad7f9b]/fbcode/caffe2/c10/util/Exception.h?lines=585)Test Plan: CI
Differential Revision: D34635838