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
@@ -8,26 +8,123 @@ weight: 7 # 1 is first, 2 is second, etc.
8
8
layout: "learningpathall"
9
9
---
10
10
11
-
For a full tutorial on building ExecuTorch please see learning path [Introduction to TinyML on Arm using PyTorch and ExecuTorch](/learning-paths/embedded-and-microcontrollers/introduction-to-tinyml-on-arm/)
11
+
For a full tutorial on building ExecuTorch please see learning path [Introduction to TinyML on Arm using PyTorch and ExecuTorch](/learning-paths/embedded-and-microcontrollers/introduction-to-tinyml-on-arm/).
12
12
13
-
1. Build and install the `executorch` pip package from Source:
13
+
## Install ExecuTorch
14
14
15
-
```bash
16
-
git submodule sync
17
-
git submodule update --init --recursive
18
-
./install_executorch.sh
19
-
```
15
+
1. Upgrade pip and install build tools:
20
16
21
-
# Troubleshooting
17
+
```bash
18
+
pip install --upgrade pip setuptools wheel
19
+
```
20
+
21
+
2. Build and install the `executorch` pip package:
22
+
23
+
```bash
24
+
./install_executorch.sh
25
+
```
26
+
27
+
## Build troubleshooting
28
+
29
+
If the `install_executorch.sh` script fails, manually install the dependencies using the following commands:
30
+
31
+
```bash
32
+
pip install torch torchvision
33
+
pip install --no-build-isolation .
34
+
pip install --no-build-isolation third-party/ao
35
+
```
36
+
37
+
## Set up the Arm toolchain
38
+
39
+
Initialize the Arm-specific environment and accept the EULA:
As of this writing, ExecuTorch does not officially support the Ethos-U65. You must patch the `compile_spec.py` file to enable U65 compilation targets within the build system.
56
+
57
+
1. Create and apply the patch by running the following command block:
0 commit comments