Skip to content

Commit f83c6fa

Browse files
guangy10dbort
authored andcommitted
Nit fix in sdk-profiling.md (#951)
Summary: Pull Request resolved: #951 Rephrase a bit to avoid confusion that step for is NOT optional, only the part of using ETRecord is. Reviewed By: mergennachin Differential Revision: D50329528 fbshipit-source-id: 4d454e81a5438864eaebbe075710aa26b4f686a5
1 parent 33d84aa commit f83c6fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/sdk-profiling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ We provide access to all the profiling data via the Python [Inspector API](./sdk
1616
1. [Optional] Generate an [ETRecord](./sdk-etrecord.rst) while you're exporting your model. If provided this will enable users to link back profiling details to eager model source code (with stack traces and module hierarchy).
1717
2. Build the runtime with the pre-processor flags that enable profiling. Detailed in the [ETDump documentation](./sdk-etdump.md).
1818
3. Run your Program on the ExecuTorch runtime and generate an [ETDump](./sdk-etdump.md).
19-
4. Create an instance of the [Inspector API](./sdk-inspector.rst) by passing in the ETDump you have sourced from the runtime along with the ETRecord generated earlier (optional).
19+
4. Create an instance of the [Inspector API](./sdk-inspector.rst) by passing in the ETDump you have sourced from the runtime along with the optionally generated ETRecord from step 1.
2020
- Through the Inspector API, users can do a wide range of analysis varying from printing out performance details to doing more finer granular calculation on module level.
2121

2222

0 commit comments

Comments
 (0)