diff options
author | Ruomei Yan <ruomei.yan@arm.com> | 2022-09-01 11:51:38 +0100 |
---|---|---|
committer | Ruomei Yan <ruomei.yan@arm.com> | 2022-09-21 14:12:37 +0100 |
commit | ecdd89912ecd2a4ec715e96fe8eb0b8e59d8c273 (patch) | |
tree | c4a735358d4f9edfb5c2fbac58bcc9e855a88392 | |
parent | c4ad3da5c63abb506833303564bd53e200ee8d97 (diff) | |
download | mlia-ecdd89912ecd2a4ec715e96fe8eb0b8e59d8c273.tar.gz |
MLIA-618 MLIA performance for Ethos-U65-256
- added the target profile for ethos-u65-256
- modified the unit tests regarding target profiles
- updated the README.md
Change-Id: I0f6b50199e735a18f0b436d291c871e1fa0460dd
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | src/mlia/resources/profiles.json | 6 | ||||
-rw-r--r-- | tests/test_utils_filesystem.py | 2 |
3 files changed, 14 insertions, 0 deletions
@@ -168,6 +168,8 @@ There are a number of predefined profiles for Ethos™-U with following attribut | ethos-u55-128 | 128 | Ethos_U55_High_End_Embedded | Shared_Sram | +--------------------------------------------------------------------- | ethos-u65-512 | 512 | Ethos_U65_High_End | Dedicated_Sram | ++--------------------------------------------------------------------- +| ethos-u65-256 | 256 | Ethos_U65_High_End | Dedicated_Sram | +--------------------------------------------------------------------+ ``` @@ -201,6 +203,7 @@ mlia operators --target-profile ethos-u55-256 ~/models/mobilenet_v1_1.0_224_quan * ethos-u55-256 * ethos-u55-128 * ethos-u65-512 + * ethos-u65-256 * tosa ##### Output options @@ -244,6 +247,7 @@ mlia performance ~/models/mobilenet_v1_1.0_224_quant.tflite \ * ethos-u55-256 * ethos-u55-128 * ethos-u65-512 + * ethos-u65-256 ##### Output options @@ -311,6 +315,7 @@ mlia optimization \ * ethos-u55-256 * ethos-u55-128 * ethos-u65-512 + * ethos-u65-256 ##### Evaluation options @@ -369,6 +374,7 @@ mlia all_tests --output ./report.json ~/models/ds_cnn_l.h5 * ethos-u55-256 * ethos-u55-128 * ethos-u65-512 + * ethos-u65-256 * tosa ##### Output options diff --git a/src/mlia/resources/profiles.json b/src/mlia/resources/profiles.json index b2a3351..500c1ab 100644 --- a/src/mlia/resources/profiles.json +++ b/src/mlia/resources/profiles.json @@ -17,6 +17,12 @@ "system_config": "Ethos_U65_High_End", "memory_mode": "Dedicated_Sram" }, + "ethos-u65-256": { + "target": "ethos-u65", + "mac": 256, + "system_config": "Ethos_U65_High_End", + "memory_mode": "Dedicated_Sram" + }, "tosa": { "target": "tosa" } diff --git a/tests/test_utils_filesystem.py b/tests/test_utils_filesystem.py index fb894db..b31b4ff 100644 --- a/tests/test_utils_filesystem.py +++ b/tests/test_utils_filesystem.py @@ -46,6 +46,7 @@ def test_profiles_data() -> None: "ethos-u55-256", "ethos-u55-128", "ethos-u65-512", + "ethos-u65-256", "tosa", ] @@ -73,6 +74,7 @@ def test_get_supported_profile_names() -> None: "ethos-u55-256", "ethos-u55-128", "ethos-u65-512", + "ethos-u65-256", "tosa", ] |