Skip to content

Commit 8f0e0f7

Browse files
Update 3-executorch-workflow.md
Fixes
1 parent df3e97f commit 8f0e0f7

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

content/learning-paths/embedded-and-microcontrollers/visualizing-ethos-u-performance/3-executorch-workflow.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,31 @@ weight: 3
77
# Do not modify these elements
88
layout: "learningpathall"
99
---
10+
## How the ExecuTorch workflow operates
1011

1112
Before setting up your environment, it helps to understand how ExecuTorch processes a model and runs it on Arm-based hardware.
1213

13-
## How the ExecuTorch workflow operates
14-
15-
ExecuTorch works in three main stages:
14+
ExecuTorch works in three main steps:
1615

1716
**Step 1: Export the model**
1817

19-
- Convert a trained PyTorch model into an operator graph.
20-
- Identify operators that can be offloaded to the Ethos-U NPU (for example, ReLU, conv, quantize).
18+
- Convert a trained PyTorch model into an operator graph
19+
- Identify operators that can be offloaded to the Ethos-U NPU (for example, ReLU, conv, and quantize)
2120

2221
**Step 2: Compile with the AOT compiler**
2322

24-
- Translate the operator graph into an optimized, quantized format.
25-
- Use `--delegate` to move eligible operations to the Ethos-U accelerator.
26-
- Save the compiled output as a `.pte` file.
23+
- Translate the operator graph into an optimized, quantized format
24+
- Use `--delegate` to move eligible operations to the Ethos-U accelerator
25+
- Save the compiled output as a `.pte` file
2726

2827
**Step 3: Deploy and run**
2928

30-
- Execute the compiled model on an FVP or physical target.
31-
- The Ethos-U NPU runs delegated operators; all others run on the Cortex-M CPU.
29+
- Execute the compiled model on an FVP or physical target
30+
- The Ethos-U NPU runs delegated operators - all others run on the Cortex-M CPU
3231

3332
## Visual overview
3433

35-
![Diagram showing the three-stage ExecuTorch workflow from model export to deployment#center](./how-executorch-works-high-level.png)
34+
![Diagram showing the three-step ExecuTorch workflow from model export to deployment#center](./how-executorch-works-high-level.png "The three-step ExecuTorch workflow from model export to deployment")
3635

3736
## What's next?
3837

0 commit comments

Comments
 (0)