You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fdd5140
Browse filesBrowse the repository at this point in the historyBrowse files
Arm backend: Add optional Model Converter debug-info generation. (pytorch#23313)
Add optional Model Converter debug-info generation to the VGF backend.
When `emit_debug_info=True` is set in `VgfCompileSpec`, the backend
passes:
```text
--emit-debug-info
```
to Model Converter.
This preserves TOSA debug symbols in the generated VGF and enables
future correlation between ExecuTorch `debug_handle`s and VGF operations
for profiling.
- Add `emit_debug_info` to `VgfCompileSpec`.
- Propagate the option through compile-spec serialization.
- Pass `--emit-debug-info` to Model Converter when enabled.
- Avoid duplicating the flag if it is already present.
- Add unit tests for enabled, disabled, and round-trip compile-spec
behaviour.
The option is disabled by default, so existing VGF compilation behaviour
is unchanged.
cc @digantdesai@freddan80@per@zingo@oscarandersson8218@mansnils@Sebastian-Larsson@robell@rascani
Signed-off-by: Elena Zhelezina <elena.zhelezina@arm.com>
0 commit comments