Skip to content

Commit eb5fc61

Browse files
Arm backend: Rename build_executorch_runner script (#10511)
New name is build_executor_runner which more accurately mirrors the functionality of building the executor_runner. Signed-off-by: Adrian Lundell <[email protected]>
1 parent 9663990 commit eb5fc61

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed
File renamed without changes.

backends/arm/scripts/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ VERBS="Add|Fix|Update|Refactor|Improve|Remove|Change|Implement|Create|Modify|"\
2727
"Handle|Ignore|Interpret|Instantiate|Invoke|Limit|Load|Modify|Permit|Print|"\
2828
"Profile|Recalculate|Reconstruct|Redefine|Redesign|Reevaluate|Relocate|Remap|"\
2929
"Render|Reposition|Request|Revert|Sanitize|Specify|Strengthen|Stub|Substitute|"\
30-
"Tag|Tweak|Unify|Unlock|Unset|Use|Validate|Verify"
30+
"Tag|Tweak|Unify|Unlock|Unset|Use|Validate|Verify|Rename"
3131

3232
# Remote branch
3333
REMOTE=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null)

backends/arm/test/test_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def build_ethosu_runtime(
188188
run_external_cmd(
189189
[
190190
"bash",
191-
os.path.join(script_path, "build_executorch_runner.sh"),
191+
os.path.join(script_path, "build_executor_runner.sh"),
192192
f"--et_build_root={et_build_root}",
193193
f"--pte={pte_file}",
194194
"--bundleio",

docs/source/backends-arm-ethos-u.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ A fully integer model is required for using the Arm Ethos-U backend. As discusse
9595
To run the model on-device, build the executorch library and EthosUDelegate using the script
9696
`executorch/backends/arm/scripts/build_executorch.sh`.
9797
Then build the arm executorch runtime using the script
98-
`executorch/backends/arm/scripts/build_executorch_runner.sh --pte=mv2_arm_ethos_u55.pte --target=ethos-u55-128`.
98+
`executorch/backends/arm/scripts/build_executor_runner.sh --pte=mv2_arm_ethos_u55.pte --target=ethos-u55-128`.
9999

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

docs/source/tutorial-arm-ethos-u.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ The SDK dir is the same one prepared [earlier](#setup-the-arm-ethos-u-software-d
327327

328328
Note, you have to generate a new `executor-runner` binary if you want to change the model or the `.pte` file. This constraint is from the constrained bare-metal runtime environment you have for Corstone-300/Corstone-320 platforms.
329329

330-
This is performed by the `backends/arm/scripts/build_executorch_runner.sh` script runned from `run.sh`.
330+
This is performed by the `backends/arm/scripts/build_executor_runner.sh` script runned from `run.sh`.
331331

332332
```{tip}
333333
The `run.sh` script takes in `--target` option, which provides a way to provide a specific target, Corstone-300(ethos-u55-128) or Corstone-320(ethos-u85-128)

examples/arm/ethos_u_minimal_example.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
"\n",
235235
"# Build executorch runner\n",
236236
"args = f\"--pte={pte_path} --target={target}\"\n",
237-
"subprocess.run(os.path.join(script_dir, \"build_executorch_runner.sh\") + \" \" + args, shell=True, cwd=et_dir)\n",
237+
"subprocess.run(os.path.join(script_dir, \"build_executor_runner.sh\") + \" \" + args, shell=True, cwd=et_dir)\n",
238238
"\n",
239239
"elf_path = os.path.join(cwd_dir, pte_base_name, \"cmake-out\", \"arm_executor_runner\")\n",
240240
"assert os.path.exists(elf_path), \"Build failed; no .elf-file found\""

examples/arm/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ for i in "${!test_model[@]}"; do
226226
else
227227
set -x
228228
# Rebuild the application as the pte is imported as a header/c array
229-
backends/arm/scripts/build_executorch_runner.sh --et_build_root="${et_build_root}" --pte="${pte_file}" --build_type=${build_type} --target=${target} --system_config=${system_config} --memory_mode=${memory_mode} ${bundleio_flag} ${et_dump_flag} --extra_build_flags="${extra_build_flags}" --ethosu_tools_dir="${ethos_u_scratch_dir}"
229+
backends/arm/scripts/build_executor_runner.sh --et_build_root="${et_build_root}" --pte="${pte_file}" --build_type=${build_type} --target=${target} --system_config=${system_config} --memory_mode=${memory_mode} ${bundleio_flag} ${et_dump_flag} --extra_build_flags="${extra_build_flags}" --ethosu_tools_dir="${ethos_u_scratch_dir}"
230230
if [ "$build_only" = false ] ; then
231231
# Execute the executor_runner on FVP Simulator
232232
elf_file="${output_folder}/${elf_folder}/cmake-out/arm_executor_runner"

0 commit comments

Comments
 (0)