Skip to content

Arm backend: Add Tutorial to Example tab on the Docs page #10386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/source/backends-arm-ethos-u.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,7 @@ Then build the arm executorch runtime using the script
`executorch/backends/arm/scripts/build_executorch_runner.sh --pte=mv2_arm_ethos_u55.pte --target=ethos-u55-128`.

Finally, run the elf file on FVP using the script
`executorch/backends/arm/scripts/run_fvp.sh --elf=executorch/mv2_arm_ethos_u55/cmake-out/arm_executor_runner --target=ethos-u55-128`.
`executorch/backends/arm/scripts/run_fvp.sh --elf=executorch/mv2_arm_ethos_u55/cmake-out/arm_executor_runner --target=ethos-u55-128`.

## See Also
- [Arm Ethos-U Backend Tutorial](tutorial-arm-ethos-u.md)
1 change: 1 addition & 0 deletions docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ using-executorch-faqs

Building an ExecuTorch Android Demo App <https://github.com/pytorch-labs/executorch-examples/tree/main/dl3/android/DeepLabV3Demo#executorch-android-demo-app>
demo-apps-ios.md
tutorial-arm-ethos-u.md
```

```{toctree}
Expand Down
4 changes: 2 additions & 2 deletions docs/source/tutorial-arm-ethos-u.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!---- Name is a WIP - this reflects better what it can do today ----->
# Arm Ethos-U Backend
# Arm Ethos-U Backend Tutorial

<!----This will show a grid card on the page----->
::::{grid} 2
Expand Down Expand Up @@ -283,7 +283,7 @@ Now let's try to run these `.pte` files on a Corstone-300 and Corstone-320 platf

In this section, you will go over steps that you need to go through to build the runtime application. This then run on the target device. In the executorch repository you have a functioning script which does the exact same steps. It is located at `executorch/examples/arm/run.sh`. You will use that to build necessary pieces and finally run the previously generated PTE file on an FVP.

By default the `run.sh` will use `arm_test/` as an build and output folder and you will find the build artifacts under it. This can be contolled/overrided with the `--et_build_root` and the `--output` flags if needed.
By default the `run.sh` will use `arm_test/` as an build and output folder and you will find the build artifacts under it. This can be controlled/overrided with the `--et_build_root` and the `--output` flags if needed.

e.g. running `examples/arm/run.sh --model_name=add --target=ethos-u85-128` will produce a pte and elf file like this:

Expand Down
Loading