Skip to content

Commit 3c80a1b

Browse files
authored
Update 4-build-model.md
1 parent f6eb493 commit 3c80a1b

File tree

1 file changed

+2
-5
lines changed
  • content/learning-paths/embedded-and-microcontrollers/introduction-to-tinyml-on-arm

1 file changed

+2
-5
lines changed

content/learning-paths/embedded-and-microcontrollers/introduction-to-tinyml-on-arm/4-build-model.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,7 @@ Then, generate a model file on the `.pte` format using the Arm examples. The Ahe
6565

6666
```bash
6767
cd $ET_HOME
68-
python -m examples.arm.aot_arm_compiler --model_name=examples/arm/simple_nn.py \
69-
--delegate --quantize --target=ethos-u85-256 \
70-
--so_library=cmake-out-aot-lib/kernels/quantized/libquantized_ops_aot_lib.so \
71-
--system_config=Ethos_U85_SYS_DRAM_Mid --memory_mode=Sram_Only
68+
python -m examples.arm.aot_arm_compiler --model_name=examples/arm/simple_nn.py --delegate --quantize --target=ethos-u85-256 --system_config=Ethos_U85_SYS_DRAM_Mid --memory_mode=Sram_Only
7269
```
7370

7471
From the Arm Examples directory, you can build an embedded Arm runner with the `.pte` included. This allows you to optimize the performance of your model, and ensures compatibility with the CPU kernels on the FVP. Finally, generate the executable `arm_executor_runner`.
@@ -122,4 +119,4 @@ I [executorch:arm_executor_runner.cpp:412] Model in 0x70000000 $
122119
I [executorch:arm_executor_runner.cpp:414] Model PTE file loaded. Size: 3360 bytes.
123120
```
124121

125-
You have now set up your environment for TinyML development on Arm, and tested a small PyTorch and ExecuTorch Neural Network. In the next Learning Path of this series, you will learn about optimizing neural networks to run on Arm.
122+
You have now set up your environment for TinyML development on Arm, and tested a small PyTorch and ExecuTorch Neural Network. In the next Learning Path of this series, you will learn about optimizing neural networks to run on Arm.

0 commit comments

Comments
 (0)