diff options
author | erik.andersson@arm.com <erik.andersson@arm.com> | 2021-08-20 10:13:05 +0200 |
---|---|---|
committer | erik.andersson@arm.com <erik.andersson@arm.com> | 2021-08-25 09:58:24 +0200 |
commit | 4a5ec683de6aca21ab56be4963afd66829fbc0a0 (patch) | |
tree | 041357d0581f6815e0462d2b3cfb9aec24342017 /README.md | |
parent | 9cd45595da12573d19797368fec767545509bb97 (diff) | |
download | ethos-u-vela-4a5ec683de6aca21ab56be4963afd66829fbc0a0.tar.gz |
MLBEDSW-4964: Include new scheduler modes
Updated the README.md to include some examples of
new scheduler modes.
Signed-off-by: erik.andersson@arm.com <erik.andersson@arm.com>
Change-Id: Ifa1a9a69b94ab37efa3aac7e82bb89e0e3a25b85
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 25 |
1 files changed, 23 insertions, 2 deletions
@@ -155,8 +155,29 @@ selects an Ethos-U65 NPU accelerator configured with 512 MAC units. ```bash vela --accelerator-config ethos-u65-512 my_model.tflite ``` +4) Compile a network while minimizing peak SRAM usage, +therefore prioritising a lower SRAM usage over runtime performance. -4) Compile a network using a particular embedded system configuration defined in +```bash +vela --optimise Size my_model.tflite +``` + +5) Compile a network to have maximum performance, i.e. the fastest inference time. +This prioritises a higher runtime performance over a lower peak SRAM usage. + +```bash +vela --optimise Performance my_model.tflite +``` + +6) Compile a network while optimising for the fastest inference time possible, +with an upper bound for the SRAM usage. The memory limit is set in bytes, i.e. +run the following example if one requires a limit of 300KB. + +```bash +vela --optimise Performance --arena-cache-size 300000 my_model.tflite +``` + +7) Compile a network using a particular embedded system configuration defined in Vela's configuration file. The following command selects the `My_Sys_Config` system configuration along with the `My_Mem_Mode` memory mode from the `vela_cfg.ini` configuration file. @@ -164,7 +185,7 @@ system configuration along with the `My_Mem_Mode` memory mode from the `vela_cfg vela --config vela_cfg.ini --system-config My_Sys_Config --memory-mode My_Mem_Mode my_model.tflite ``` -5) To get a list of all available options (see CLI Options section below): +8) To get a list of all available options (see CLI Options section below): ```bash vela --help |