You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learning-paths/embedded-and-microcontrollers/visualizing-ethos-u-performance/3-executorch-workflow.md
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,32 +7,31 @@ weight: 3
7
7
# Do not modify these elements
8
8
layout: "learningpathall"
9
9
---
10
+
## How the ExecuTorch workflow operates
10
11
11
12
Before setting up your environment, it helps to understand how ExecuTorch processes a model and runs it on Arm-based hardware.
12
13
13
-
## How the ExecuTorch workflow operates
14
-
15
-
ExecuTorch works in three main stages:
14
+
ExecuTorch works in three main steps:
16
15
17
16
**Step 1: Export the model**
18
17
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)
21
20
22
21
**Step 2: Compile with the AOT compiler**
23
22
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
27
26
28
27
**Step 3: Deploy and run**
29
28
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
32
31
33
32
## Visual overview
34
33
35
-

34
+

0 commit comments