Skip to content

Commit 0a855ba

Browse files
tarun292facebook-github-bot
authored andcommitted
Minor changes to sdk integration tutorial to add command to generate bundled program in cmake flow (#881)
Summary: Pull Request resolved: #881 ^ Reviewed By: Gasoonjia Differential Revision: D50247828 fbshipit-source-id: 7e7bc9b9fd7a1fe504d3031535a10a58150ef455
1 parent d71efe4 commit 0a855ba

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

docs/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ Topics in this section will help you get started with ExecuTorch.
186186
sdk-profiling
187187
sdk-inspector
188188
sdk-delegate-integration
189+
sdk-tutorial
189190

190191
Tutorials and Examples
191192
~~~~~~~~~~~~~~~~~~~~~~

docs/source/sdk-tutorial.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## SDK usage tutorial
2+
3+
Please refer to the [SDK tutorial](sdk-tutorial.md) for a walkthrough on how to profile a model in ExecuTorch using the SDK.

docs/source/tutorials_source/sdk-integration-tutorial.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@
126126
# Use CMake::
127127
#
128128
# cd executorch
129+
# python3 -m examples.sdk.scripts.export_bundled_program -m mv2
129130
# rm -rf cmake-out && mkdir cmake-out && cd cmake-out && cmake -DBUCK2=buck2 -DEXECUTORCH_BUILD_SDK=1 -DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=1 ..
130131
# cd ..
131132
# cmake --build cmake-out -j8 -t sdk_example_runner

0 commit comments

Comments
 (0)