Do not ignore init() errors (#2778)
Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/2778 XnnpackBackend logged but did not return errors. This meant that the runtime could try to execute uninitialized delegate handles, leading to bad behavior like seg faults. Now it returns the error to the runtime, failing clearly and gracefully during model load. Reviewed By: digantdesai, mcr229 Differential Revision: D55549758 fbshipit-source-id: b76fbb72533f931a9a26cd280f76927c43e767d9
D
Dave Bort committed
4804318494c91dc18e66ca8cc8322f76673bd0ad
Parent: dc909be
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 3/30/2024, 3:50:35 AM