From ecdd89912ecd2a4ec715e96fe8eb0b8e59d8c273 Mon Sep 17 00:00:00 2001 From: Ruomei Yan Date: Thu, 1 Sep 2022 11:51:38 +0100 Subject: 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 --- README.md | 6 ++++++ src/mlia/resources/profiles.json | 6 ++++++ tests/test_utils_filesystem.py | 2 ++ 3 files changed, 14 insertions(+) diff --git a/README.md b/README.md index f5d224e..28473d8 100644 --- a/README.md +++ b/README.md @@ -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", ] -- cgit v1.2.1