Skip to content

Commit d295811

Browse files
authored
Merge pull request #3080 from madeline-underwood/sme_ex
Fix formatting and enhance descriptions in profiling documentation
2 parents 1ac9d58 + 122a948 commit d295811

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

content/learning-paths/cross-platform/sme-executorch-profiling/01-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Before running the pipeline, it helps to understand how the execution stack is c
5252

5353
### PyTorch to ExecuTorch export
5454

55-
Models are defined using standard PyTorch APIs and exported to a `.pte` (Portable ExecuTorch Executable) format. During export, you specify backend delegationin this case, XNNPACKwhich determines which operators the backend executes at runtime.
55+
Models are defined using standard PyTorch APIs and exported to a `.pte` (Portable ExecuTorch Executable) format. During export, you specify backend delegation (in this case, XNNPACK) which determines which operators the backend executes at runtime.
5656

5757
### ExecuTorch runtime and delegation
5858

content/learning-paths/cross-platform/sme-executorch-profiling/03-model-onboarding-and-profiling.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ Keep exported artifacts under out_<model>/artifacts/ to separate model binaries
7878
## Configure timing and trace profiling runs
7979

8080
For complete analysis you must run two experiment types:
81-
* Timing-only runs no kernel trace logging; use these for accurate latency comparisons (SME2 on vs SME2 off).
82-
* Trace-enabled runs enable XNNPACK kernel trace logging; use these to collect kernel-selection evidence and traces for kernel-level analysis. Trace logging affects timing and should never be used to compare end-to-end latency.
81+
* Timing-only runs - no kernel trace logging; use these for accurate latency comparisons (SME2 on vs SME2 off).
82+
* Trace-enabled runs - enable XNNPACK kernel trace logging; use these to collect kernel-selection evidence and traces for kernel-level analysis. Trace logging affects timing and should never be used to compare end-to-end latency.
8383

8484
Run timing-only for latency measurement, and run trace-enabled only when you need kernel-level details.
8585

@@ -203,7 +203,7 @@ Timing-only run example:
203203
python model_profiling/scripts/mac_pipeline.py --config model_profiling/configs/examples/mac_mobilenet_fp16.json
204204
```
205205

206-
Trace-enabled (kernel analysis) run example use a config that points to trace-enabled runners:
206+
Trace-enabled (kernel analysis) run example - use a config that points to trace-enabled runners:
207207

208208
```bash
209209
python model_profiling/scripts/mac_pipeline.py --config model_profiling/configs/examples/mac_mobilenet_fp16.json

content/learning-paths/cross-platform/sme-executorch-profiling/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: Profile ExecuTorch models with SME2 on Arm
33

44
minutes_to_complete: 90
55

6+
description: Learn how to profile and optimize ExecuTorch models using SME2 acceleration on Arm platforms, including operator-level analysis and performance bottleneck identification.
7+
68
who_is_this_for: This is an advanced topic for developers and performance engineers who deploy ExecuTorch models on Arm devices and want to understand and reduce inference latency.
79

810
learning_objectives:

0 commit comments

Comments
 (0)