Error handling log intermediate output delegate (#9761)
### Summary This PR contains a fix for all `log_intermediate_output_delegate` methods which can now propagate any error caught inside of `log_intermediate_output_delegate_helper`. Fixes https://github.com/pytorch/executorch/issues/9549 release notes: `log_intermediate_output_delegate` no longer aborts runtime if parameters delegate debug index or name are invalid. Instead, an error is returned. ### Test plan Tests for this PR can be verified by building `sdk_etdump_tests` and using `ctest` --------- Co-authored-by: Gasoonjia <gasoonjia@meta.com>
D
Dillon de Silva committed
357ed9d8a112c8650c951b7614f921f59226c80d
Parent: 7cc25b1
Committed by GitHub <noreply@github.com>
on 4/1/2025, 5:59:22 AM