diff options
author | Tim Hall <tim.hall@arm.com> | 2022-05-19 12:36:58 +0100 |
---|---|---|
committer | tim.hall <tim.hall@arm.com> | 2022-05-19 15:56:19 +0000 |
commit | cda4fcb0fd3e9766a161cf3e5aa7c3283e7f7c9e (patch) | |
tree | 2ca560bcf290bf88ab7a0058098df794486ab528 /OPTIONS.md | |
parent | 8bc7a652607a771e234fda6b05275542ff0fc072 (diff) | |
download | ethos-u-vela-cda4fcb0fd3e9766a161cf3e5aa7c3283e7f7c9e.tar.gz |
MLBEDSW-6563: networks failing with memory area exceeded in vela3.4.0.rc2
- For allocations that have a hard memory limit the Hill Climb allocator
should be given more attempts to find a solution that would fit
- The fix is to use a memory limit when there is a hard constraint, and
a minimum iteration count, reset on every improvement, when there is a soft
constraint
- Added maximum number iterations CLI option
Signed-off-by: Tim Hall <tim.hall@arm.com>
Change-Id: I19ff53a0b68412de280263626778a3102cbe52fa
Diffstat (limited to 'OPTIONS.md')
-rw-r--r-- | OPTIONS.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -255,6 +255,20 @@ systems, as there is a hard limit on thread stack size. vela network.tflite --recursion-limit 2000 ``` +### HillClimb Max Iterations + +Sets the maximum number of iterations the Hill Climb tensor allocator will run. +This is a hard limit on the total number of iterations of the algorithm. +Reducing this value is unlikely to reduce the compilation time of a working +solution, and it may cause the algorithm to terminate before finding a workable +solution. +**Type: Integer** +**Default: 99999** + +```bash +vela network.tflite --hillclimb-max-iterations 1000 +``` + ## Verbose Print Options All of the options below are disabled by default and enabling them will add |