Skip to content

Commit cb9caa3

Browse files
Olivia-liufacebook-github-bot
authored andcommitted
Add the missing import generate_etrecord to doc Getting Started with LLM (#2977)
Summary: Pull Request resolved: #2977 As titled Reviewed By: Gasoonjia Differential Revision: D55992093 fbshipit-source-id: 7864c330bd86af5d4127cacfd47e96f1e6666bfb
1 parent 859e924 commit cb9caa3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/source/llm/getting-started.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,7 @@ In your export script, after calling `to_edge()` and `to_executorch()`, call `ge
598598
599599
```
600600
import copy
601+
from executorch.sdk import generate_etrecord
601602

602603
# Make the deep copy immediately after to to_edge()
603604
edge_manager_copy = copy.deepcopy(edge_manager)
@@ -678,7 +679,7 @@ inspector = Inspector(etdump_path="etdump.etdp")
678679
with open("inspector_out.txt", "w") as file:
679680
inspector.print_data_tabular(file)
680681
```
681-
This prints the performance data in a tabular format in “inspector_out.txt”, with each row being a profiling event.
682+
This prints the performance data in a tabular format in “inspector_out.txt”, with each row being a profiling event. Top rows look like this:
682683
![](../_static/img/llm_manual_print_data_tabular.png)
683684
<a href="../_static/img/llm_manual_print_data_tabular.png" target="_blank">View in full size</a>
684685

0 commit comments

Comments
 (0)