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
@@ -763,6 +765,8 @@ An ETRecord is an artifact generated at the time of export that contains model g
763
765
In your export script, after calling `to_edge()` and `to_executorch()`, call `generate_etrecord()` with the `EdgeProgramManager` from `to_edge()` and the `ExecuTorchProgramManager` from `to_executorch()`. Make sure to copy the `EdgeProgramManager`, as the call to `to_backend()` mutates the graph in-place.
xnnpack_backend # Provides the XNNPACK CPU acceleration backend
826
+
# ... omit existing ones
827
827
etdump) # Provides event tracing and logging
828
828
829
829
target_compile_options(executorch PUBLIC -DET_EVENT_TRACER_ENABLED)
830
830
target_compile_options(portable_ops_lib PUBLIC -DET_EVENT_TRACER_ENABLED)
831
831
```
832
-
Run the runner, you will see “etdump.etdp” generated.
832
+
Build and run the runner, you will see a file named “etdump.etdp” is generated. (Note that this time we build in release mode to get around a flatccrt build limitation.)
0 commit comments