mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/57366 We often get error messages such as ``` Model failed AOT (glow ahead-of-time compilation) with exception: Error during AOT optimization (non-provisioned addNetwork): Non-recoverable device error when adding network: Error code: PARTITIONER_ERROR Error message: Did not find a partition with an SLS node Error return stack: -------------------------------------------------------------------------------- glow/glow/lib/Partitioner/Partitioner.cpp:1244 -------------------------------------------------------------------------------- glow/glow/lib/Runtime/HostManager/HostManager.cpp:375 -------------------------------------------------------------------------------- ``` This makes the error message more clear by checking for the number of OnnixifiOp created before going into Glow. The check is enabled with the `verify_only_single_subnet` flag, and is disabled by default. Test Plan: Unit tests pass Reviewed By: khabinov Differential Revision: D28097674 fbshipit-source-id: 0eefd8f6ec1a82546b759be8e541256bf271a673 |
||
|---|---|---|
| .. | ||
| custom | ||
| nql | ||
| annotations.cc | ||
| annotations.h | ||
| backend_cutting.cc | ||
| backend_cutting.h | ||
| backend_cutting_test.cc | ||
| backend_transformer_base.cc | ||
| backend_transformer_base.h | ||
| bound_shape_inference_test.cc | ||
| bound_shape_inferencer.cc | ||
| bound_shape_inferencer.h | ||
| CMakeLists.txt | ||
| converter.cc | ||
| converter.h | ||
| converter_nomigraph_test.cc | ||
| dead_code_elim.cc | ||
| dead_code_elim_test.cc | ||
| device.cc | ||
| device.h | ||
| device_test.cc | ||
| distributed.cc | ||
| distributed.h | ||
| distributed_converter.cc | ||
| distributed_test.cc | ||
| fakefp16_transform.cc | ||
| fakefp16_transform.h | ||
| fusion.cc | ||
| fusion.h | ||
| glow_net_transform.cc | ||
| glow_net_transform.h | ||
| mobile.cc | ||
| mobile.h | ||
| mobile_test.cc | ||
| onnx_convert.h | ||
| onnxifi_op.cc | ||
| onnxifi_op.h | ||
| onnxifi_transformer.cc | ||
| onnxifi_transformer.h | ||
| optimize_ideep.cc | ||
| optimize_ideep.h | ||
| optimizer.cc | ||
| optimizer.h | ||
| passes.cc | ||
| passes.h | ||
| shape_info.cc | ||
| shape_info.h | ||
| split_slss_test.cc | ||
| tvm_transformer.cc | ||
| tvm_transformer.h | ||