From 9d34cb72d45a6d0a2ec1063ebf32536c1efdba75 Mon Sep 17 00:00:00 2001 From: Diego Russo Date: Wed, 19 Oct 2022 23:22:35 +0100 Subject: MLIA-671 Update generic inference runner to 22.08 Due to the new version of Corstone-310, the generic inference runner has been updated to 22.08: * The inference runner 22.08 doesn't have timing adapters because incompatible with new version of Corstone-310 * Remove some memory mode logic which is not needed anymore * Corstone-310 allows to run Ethos-U65 simulation hence adding the binary for enabling this case * Delete the inference runner 22.05 * Fix codebase and tests to cope with changes above Change-Id: I3dc894d7cb49b09102a19b0d7f588694a0f3b99f --- src/mlia/backend/manager.py | 35 ++++++--------------- src/mlia/devices/ethosu/performance.py | 1 - .../systems/corstone-310-vht/backend-config.json | 34 ++++++++++++++++++++ .../systems/corstone-310/backend-config.json | 34 ++++++++++++++++++++ .../backend-config.json | 17 ---------- .../backend-config.json.license | 3 -- .../ethos-u-inference_runner.axf | Bin 426496 -> 0 bytes .../ethos-u-inference_runner.axf.license | 31 ------------------ .../backend-config.json | 14 --------- .../backend-config.json.license | 3 -- .../ethos-u-inference_runner.axf | Bin 426544 -> 0 bytes .../ethos-u-inference_runner.axf.license | 31 ------------------ .../backend-config.json | 14 --------- .../backend-config.json.license | 3 -- .../ethos-u-inference_runner.axf | Bin 2524028 -> 0 bytes .../ethos-u-inference_runner.axf.license | 31 ------------------ .../backend-config.json | 14 +++++++++ .../backend-config.json.license | 3 ++ .../ethos-u-inference_runner.axf | Bin 0 -> 1590848 bytes .../ethos-u-inference_runner.axf.license | 31 ++++++++++++++++++ .../backend-config.json | 14 +++++++++ .../backend-config.json.license | 3 ++ .../ethos-u-inference_runner.axf | Bin 0 -> 3688044 bytes .../ethos-u-inference_runner.axf.license | 31 ++++++++++++++++++ .../backend-config.json | 14 --------- .../backend-config.json.license | 3 -- .../ethos-u-inference_runner.axf | Bin 426488 -> 0 bytes .../ethos-u-inference_runner.axf.license | 31 ------------------ .../backend-config.json | 14 --------- .../backend-config.json.license | 3 -- .../ethos-u-inference_runner.axf | Bin 426536 -> 0 bytes .../ethos-u-inference_runner.axf.license | 31 ------------------ .../backend-config.json | 14 +++++++++ .../backend-config.json.license | 3 ++ .../ethos-u-inference_runner.axf | Bin 0 -> 1623728 bytes .../ethos-u-inference_runner.axf.license | 31 ++++++++++++++++++ .../backend-config.json | 14 +++++++++ .../backend-config.json.license | 3 ++ .../ethos-u-inference_runner.axf | Bin 0 -> 3782308 bytes .../ethos-u-inference_runner.axf.license | 31 ++++++++++++++++++ src/mlia/tools/metadata/corstone.py | 2 ++ 41 files changed, 271 insertions(+), 270 deletions(-) delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Shared_Sram-TA/backend-config.json delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Shared_Sram-TA/backend-config.json.license delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Shared_Sram-TA/ethos-u-inference_runner.axf delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Shared_Sram-TA/ethos-u-inference_runner.axf.license delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Sram_Only-TA/backend-config.json delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Sram_Only-TA/backend-config.json.license delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Sram_Only-TA/ethos-u-inference_runner.axf delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Sram_Only-TA/ethos-u-inference_runner.axf.license delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U65-Dedicated_Sram-TA/backend-config.json delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U65-Dedicated_Sram-TA/backend-config.json.license delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U65-Dedicated_Sram-TA/ethos-u-inference_runner.axf delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U65-Dedicated_Sram-TA/ethos-u-inference_runner.axf.license create mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U55-Default-noTA/backend-config.json create mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U55-Default-noTA/backend-config.json.license create mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U55-Default-noTA/ethos-u-inference_runner.axf create mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U55-Default-noTA/ethos-u-inference_runner.axf.license create mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U65-Default-noTA/backend-config.json create mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U65-Default-noTA/backend-config.json.license create mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U65-Default-noTA/ethos-u-inference_runner.axf create mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U65-Default-noTA/ethos-u-inference_runner.axf.license delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Shared_Sram-TA/backend-config.json delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Shared_Sram-TA/backend-config.json.license delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Shared_Sram-TA/ethos-u-inference_runner.axf delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Shared_Sram-TA/ethos-u-inference_runner.axf.license delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Sram_Only-TA/backend-config.json delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Sram_Only-TA/backend-config.json.license delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Sram_Only-TA/ethos-u-inference_runner.axf delete mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Sram_Only-TA/ethos-u-inference_runner.axf.license create mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U55-Default-noTA/backend-config.json create mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U55-Default-noTA/backend-config.json.license create mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U55-Default-noTA/ethos-u-inference_runner.axf create mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U55-Default-noTA/ethos-u-inference_runner.axf.license create mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U65-Default-noTA/backend-config.json create mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U65-Default-noTA/backend-config.json.license create mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U65-Default-noTA/ethos-u-inference_runner.axf create mode 100644 src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U65-Default-noTA/ethos-u-inference_runner.axf.license (limited to 'src') diff --git a/src/mlia/backend/manager.py b/src/mlia/backend/manager.py index c8fe0f7..6a61ab0 100644 --- a/src/mlia/backend/manager.py +++ b/src/mlia/backend/manager.py @@ -30,23 +30,16 @@ _SUPPORTED_SYSTEMS = { }, "Corstone-310": { "ethos-u55": "Corstone-310: Cortex-M85+Ethos-U55", + "ethos-u65": "Corstone-310: Cortex-M85+Ethos-U65", }, } -# Mapping system_name -> memory_mode -> application +# Mapping system_name -> application _SYSTEM_TO_APP_MAP = { - "Corstone-300: Cortex-M55+Ethos-U55": { - "Sram": "Generic Inference Runner: Ethos-U55 SRAM", - "Shared_Sram": "Generic Inference Runner: Ethos-U55/65 Shared SRAM", - }, - "Corstone-300: Cortex-M55+Ethos-U65": { - "Shared_Sram": "Generic Inference Runner: Ethos-U55/65 Shared SRAM", - "Dedicated_Sram": "Generic Inference Runner: Ethos-U65 Dedicated SRAM", - }, - "Corstone-310: Cortex-M85+Ethos-U55": { - "Sram": "Generic Inference Runner: Ethos-U55 SRAM", - "Shared_Sram": "Generic Inference Runner: Ethos-U55/65 Shared SRAM", - }, + "Corstone-300: Cortex-M55+Ethos-U55": "Generic Inference Runner: Ethos-U55", + "Corstone-300: Cortex-M55+Ethos-U65": "Generic Inference Runner: Ethos-U65", + "Corstone-310: Cortex-M85+Ethos-U55": "Generic Inference Runner: Ethos-U55", + "Corstone-310: Cortex-M85+Ethos-U65": "Generic Inference Runner: Ethos-U65", } @@ -79,11 +72,7 @@ def get_all_system_names(backend: str) -> list[str]: def get_all_application_names(backend: str) -> list[str]: """Get all applications supported by the backend.""" - app_set = { - app - for sys in get_all_system_names(backend) - for app in _SYSTEM_TO_APP_MAP[sys].values() - } + app_set = {_SYSTEM_TO_APP_MAP[sys] for sys in get_all_system_names(backend)} return list(app_set) @@ -93,7 +82,6 @@ class DeviceInfo: device_type: Literal["ethos-u55", "ethos-u65"] mac: int - memory_mode: Literal["Sram", "Shared_Sram", "Dedicated_Sram"] @dataclass @@ -327,15 +315,10 @@ class GenericInferenceRunnerEthosU(GenericInferenceRunner): f"for backend {backend}" ) from ex - if system_name not in _SYSTEM_TO_APP_MAP: - raise RuntimeError(f"System {system_name} is not installed") - try: - app_name = _SYSTEM_TO_APP_MAP[system_name][device_info.memory_mode] + app_name = _SYSTEM_TO_APP_MAP[system_name] except KeyError as err: - raise RuntimeError( - f"Unsupported memory mode {device_info.memory_mode}" - ) from err + raise RuntimeError(f"System {system_name} is not installed") from err return system_name, app_name diff --git a/src/mlia/devices/ethosu/performance.py b/src/mlia/devices/ethosu/performance.py index e89a65a..acc82e0 100644 --- a/src/mlia/devices/ethosu/performance.py +++ b/src/mlia/devices/ethosu/performance.py @@ -182,7 +182,6 @@ class CorstonePerformanceEstimator( device_info = backend_manager.DeviceInfo( device_type=self.device.target, # type: ignore mac=self.device.mac, - memory_mode=self.device.compiler_options.memory_mode, # type: ignore ) corstone_perf_metrics = backend_manager.estimate_performance( diff --git a/src/mlia/resources/backend_configs/systems/corstone-310-vht/backend-config.json b/src/mlia/resources/backend_configs/systems/corstone-310-vht/backend-config.json index bbcadfd..dcb105a 100644 --- a/src/mlia/resources/backend_configs/systems/corstone-310-vht/backend-config.json +++ b/src/mlia/resources/backend_configs/systems/corstone-310-vht/backend-config.json @@ -34,5 +34,39 @@ } ] } + }, + { + "name": "Corstone-310: Cortex-M85+Ethos-U65", + "description": "Cortex-M85 and Ethos-U65 functional model implementations based on Corstone-310 design for MPS3 board.", + "annotations": { + "ip_class": "Ethos-U65", + "sim_type": "FM", + "variant": "Cortex-M85+Ethos-U65" + }, + "commands": { + "run": [ + "/opt/VHT/VHT_Corstone_SSE-310_Ethos-U65 -a {software.variables:eval_app} {user_params:input_file}@0x90000000 -C {user_params:mac} -C mps3_board.telnetterminal0.start_telnet=0 -C mps3_board.uart0.out_file='-' -C mps3_board.uart0.shutdown_on_eot=1 -C mps3_board.visualisation.disable-visualisation=1 --stat" + ] + }, + "user_params": { + "run": [ + { + "name": "--data", + "description": "Full file name for a custom model. Model must be in TensorFlow Lite format compiled with Vela.", + "values": [], + "alias": "input_file" + }, + { + "name": "ethosu.num_macs=", + "description": "Arm Ethos-U65 configuration - the number represents MACs per cycle.", + "values": [ + "256", + "512" + ], + "default_value": "512", + "alias": "mac" + } + ] + } } ] diff --git a/src/mlia/resources/backend_configs/systems/corstone-310/backend-config.json b/src/mlia/resources/backend_configs/systems/corstone-310/backend-config.json index e0b1d1d..6f4f89b 100644 --- a/src/mlia/resources/backend_configs/systems/corstone-310/backend-config.json +++ b/src/mlia/resources/backend_configs/systems/corstone-310/backend-config.json @@ -34,5 +34,39 @@ } ] } + }, + { + "name": "Corstone-310: Cortex-M85+Ethos-U65", + "description": "Cortex-M85 and Ethos-U65 functional model implementations based on Corstone-310 design for MPS3 board.", + "annotations": { + "ip_class": "Ethos-U65", + "sim_type": "FM", + "variant": "Cortex-M85+Ethos-U65" + }, + "commands": { + "run": [ + "FVP_Corstone_SSE-310_Ethos-U65 -a {software.variables:eval_app} {user_params:input_file}@0x90000000 -C {user_params:mac} -C mps3_board.telnetterminal0.start_telnet=0 -C mps3_board.uart0.out_file='-' -C mps3_board.uart0.shutdown_on_eot=1 -C mps3_board.visualisation.disable-visualisation=1 --stat" + ] + }, + "user_params": { + "run": [ + { + "name": "--data", + "description": "Full file name for a custom model. Model must be in TensorFlow Lite format compiled with Vela.", + "values": [], + "alias": "input_file" + }, + { + "name": "ethosu.num_macs=", + "description": "Arm Ethos-U65 configuration - the number represents MACs per cycle.", + "values": [ + "256", + "512" + ], + "default_value": "512", + "alias": "mac" + } + ] + } } ] diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Shared_Sram-TA/backend-config.json b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Shared_Sram-TA/backend-config.json deleted file mode 100644 index 4856d27..0000000 --- a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Shared_Sram-TA/backend-config.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "name": "Generic Inference Runner: Ethos-U55/65 Shared SRAM", - "description": "This application allows running inferences using custom NN TensorFlow Lite models on Ethos-U. No data pre-/post-processing is executed.", - "supported_systems": [ - { - "name": "Corstone-300: Cortex-M55+Ethos-U55" - }, - { - "name": "Corstone-300: Cortex-M55+Ethos-U65" - } - ], - "variables": { - "eval_app": "{software.config_dir}/ethos-u-inference_runner.axf" - } - } -] diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Shared_Sram-TA/backend-config.json.license b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Shared_Sram-TA/backend-config.json.license deleted file mode 100644 index 9b83bfc..0000000 --- a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Shared_Sram-TA/backend-config.json.license +++ /dev/null @@ -1,3 +0,0 @@ -SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates. - -SPDX-License-Identifier: Apache-2.0 diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Shared_Sram-TA/ethos-u-inference_runner.axf b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Shared_Sram-TA/ethos-u-inference_runner.axf deleted file mode 100644 index 4c50e1f..0000000 Binary files a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Shared_Sram-TA/ethos-u-inference_runner.axf and /dev/null differ diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Shared_Sram-TA/ethos-u-inference_runner.axf.license b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Shared_Sram-TA/ethos-u-inference_runner.axf.license deleted file mode 100644 index 8896f92..0000000 --- a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Shared_Sram-TA/ethos-u-inference_runner.axf.license +++ /dev/null @@ -1,31 +0,0 @@ -SPDX-FileCopyrightText: Copyright 2009-2022, Arm Limited and/or its affiliates. -SPDX-FileCopyrightText: Copyright (c) 2006, 2008 Junio C Hamano -SPDX-FileCopyrightText: Copyright 2011, The Dojo Foundation -SPDX-FileCopyrightText: Copyright (c) 1999-2009 KEIL, 2009-2016 ARM Germany GmbH. All rights reserved. -SPDX-FileCopyrightText: Copyright (c) 2006, 2007 CodeSourcery Inc -SPDX-FileCopyrightText: Copyright (c) 2010 "Cowboy" Ben Alman -SPDX-FileCopyrightText: Copyright 1997-2016 Freescale Semiconductor, Inc. -SPDX-FileCopyrightText: Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) -SPDX-FileCopyrightText: Copyright 2011, John Resig -SPDX-FileCopyrightText: Copyright 2016-2021 NXP -SPDX-FileCopyrightText: Copyright (c) 2012 mbed.org -SPDX-FileCopyrightText: Copyright (c) 2012-2017 Keil Software. All rights reserved. -SPDX-FileCopyrightText: Copyright (C) 2009 by Dimitri van Heesch. -SPDX-FileCopyrightText: Copyright (c) 2017-2021 IAR Systems -SPDX-FileCopyrightText: Copyright (C) 2003-2008 Greg Valure -SPDX-FileCopyrightText: Copyright 2015 gRPC authors. -SPDX-FileCopyrightText: Copyright 2018 Dan Field. All rights reserved. -SPDX-FileCopyrightText: Copyright 2014 Stefan.Eilemann@epfl.ch -SPDX-FileCopyrightText: Copyright (c) 2016, the Dart project authors -SPDX-FileCopyrightText: Copyright 2015 The Chromium Authors -SPDX-FileCopyrightText: Copyright (C) 2019 Free Software Foundation, Inc. -SPDX-FileCopyrightText: Copyright (c) 2021, Vasyl Gello. -SPDX-FileCopyrightText: Copyright 2020 Jan Tojnar -SPDX-FileCopyrightText: Copyright 2017-2022 The TensorFlow Authors. All Rights Reserved. -SPDX-FileCopyrightText: Copyright 2014-2022 Google Inc. All rights reserved. -SPDX-FileCopyrightText: Copyright 2015-2018 The Gemmlowp Authors. All rights reserved. -SPDX-FileCopyrightText: Copyright (c) 2003-2019, Mark Borgerding. All rights reserved. -SPDX-FileCopyrightText: Copyright 2019-2022 The Pigweed Authors -SPDX-FileCopyrightText: Copyright 2019-2021 Google LLC. All Rights Reserved. - -SPDX-License-Identifier: Apache-2.0 AND BSD-3-Clause and CC-PDDC diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Sram_Only-TA/backend-config.json b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Sram_Only-TA/backend-config.json deleted file mode 100644 index 3b512ff..0000000 --- a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Sram_Only-TA/backend-config.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "name": "Generic Inference Runner: Ethos-U55 SRAM", - "description": "This application allows running inferences using custom NN TensorFlow Lite models on Ethos-U. No data pre-/post-processing is executed.", - "supported_systems": [ - { - "name": "Corstone-300: Cortex-M55+Ethos-U55" - } - ], - "variables": { - "eval_app": "{software.config_dir}/ethos-u-inference_runner.axf" - } - } -] diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Sram_Only-TA/backend-config.json.license b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Sram_Only-TA/backend-config.json.license deleted file mode 100644 index 9b83bfc..0000000 --- a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Sram_Only-TA/backend-config.json.license +++ /dev/null @@ -1,3 +0,0 @@ -SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates. - -SPDX-License-Identifier: Apache-2.0 diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Sram_Only-TA/ethos-u-inference_runner.axf b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Sram_Only-TA/ethos-u-inference_runner.axf deleted file mode 100644 index 850e2eb..0000000 Binary files a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Sram_Only-TA/ethos-u-inference_runner.axf and /dev/null differ diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Sram_Only-TA/ethos-u-inference_runner.axf.license b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Sram_Only-TA/ethos-u-inference_runner.axf.license deleted file mode 100644 index 8896f92..0000000 --- a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U55-Sram_Only-TA/ethos-u-inference_runner.axf.license +++ /dev/null @@ -1,31 +0,0 @@ -SPDX-FileCopyrightText: Copyright 2009-2022, Arm Limited and/or its affiliates. -SPDX-FileCopyrightText: Copyright (c) 2006, 2008 Junio C Hamano -SPDX-FileCopyrightText: Copyright 2011, The Dojo Foundation -SPDX-FileCopyrightText: Copyright (c) 1999-2009 KEIL, 2009-2016 ARM Germany GmbH. All rights reserved. -SPDX-FileCopyrightText: Copyright (c) 2006, 2007 CodeSourcery Inc -SPDX-FileCopyrightText: Copyright (c) 2010 "Cowboy" Ben Alman -SPDX-FileCopyrightText: Copyright 1997-2016 Freescale Semiconductor, Inc. -SPDX-FileCopyrightText: Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) -SPDX-FileCopyrightText: Copyright 2011, John Resig -SPDX-FileCopyrightText: Copyright 2016-2021 NXP -SPDX-FileCopyrightText: Copyright (c) 2012 mbed.org -SPDX-FileCopyrightText: Copyright (c) 2012-2017 Keil Software. All rights reserved. -SPDX-FileCopyrightText: Copyright (C) 2009 by Dimitri van Heesch. -SPDX-FileCopyrightText: Copyright (c) 2017-2021 IAR Systems -SPDX-FileCopyrightText: Copyright (C) 2003-2008 Greg Valure -SPDX-FileCopyrightText: Copyright 2015 gRPC authors. -SPDX-FileCopyrightText: Copyright 2018 Dan Field. All rights reserved. -SPDX-FileCopyrightText: Copyright 2014 Stefan.Eilemann@epfl.ch -SPDX-FileCopyrightText: Copyright (c) 2016, the Dart project authors -SPDX-FileCopyrightText: Copyright 2015 The Chromium Authors -SPDX-FileCopyrightText: Copyright (C) 2019 Free Software Foundation, Inc. -SPDX-FileCopyrightText: Copyright (c) 2021, Vasyl Gello. -SPDX-FileCopyrightText: Copyright 2020 Jan Tojnar -SPDX-FileCopyrightText: Copyright 2017-2022 The TensorFlow Authors. All Rights Reserved. -SPDX-FileCopyrightText: Copyright 2014-2022 Google Inc. All rights reserved. -SPDX-FileCopyrightText: Copyright 2015-2018 The Gemmlowp Authors. All rights reserved. -SPDX-FileCopyrightText: Copyright (c) 2003-2019, Mark Borgerding. All rights reserved. -SPDX-FileCopyrightText: Copyright 2019-2022 The Pigweed Authors -SPDX-FileCopyrightText: Copyright 2019-2021 Google LLC. All Rights Reserved. - -SPDX-License-Identifier: Apache-2.0 AND BSD-3-Clause and CC-PDDC diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U65-Dedicated_Sram-TA/backend-config.json b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U65-Dedicated_Sram-TA/backend-config.json deleted file mode 100644 index fc0569f..0000000 --- a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U65-Dedicated_Sram-TA/backend-config.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "name": "Generic Inference Runner: Ethos-U65 Dedicated SRAM", - "description": "This application allows running inferences using custom NN TensorFlow Lite models on Ethos-U. No data pre-/post-processing is executed.", - "supported_systems": [ - { - "name": "Corstone-300: Cortex-M55+Ethos-U65" - } - ], - "variables": { - "eval_app": "{software.config_dir}/ethos-u-inference_runner.axf" - } - } -] diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U65-Dedicated_Sram-TA/backend-config.json.license b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U65-Dedicated_Sram-TA/backend-config.json.license deleted file mode 100644 index 9b83bfc..0000000 --- a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U65-Dedicated_Sram-TA/backend-config.json.license +++ /dev/null @@ -1,3 +0,0 @@ -SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates. - -SPDX-License-Identifier: Apache-2.0 diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U65-Dedicated_Sram-TA/ethos-u-inference_runner.axf b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U65-Dedicated_Sram-TA/ethos-u-inference_runner.axf deleted file mode 100644 index f881bb8..0000000 Binary files a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U65-Dedicated_Sram-TA/ethos-u-inference_runner.axf and /dev/null differ diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U65-Dedicated_Sram-TA/ethos-u-inference_runner.axf.license b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U65-Dedicated_Sram-TA/ethos-u-inference_runner.axf.license deleted file mode 100644 index 8896f92..0000000 --- a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.05.01-ethos-U65-Dedicated_Sram-TA/ethos-u-inference_runner.axf.license +++ /dev/null @@ -1,31 +0,0 @@ -SPDX-FileCopyrightText: Copyright 2009-2022, Arm Limited and/or its affiliates. -SPDX-FileCopyrightText: Copyright (c) 2006, 2008 Junio C Hamano -SPDX-FileCopyrightText: Copyright 2011, The Dojo Foundation -SPDX-FileCopyrightText: Copyright (c) 1999-2009 KEIL, 2009-2016 ARM Germany GmbH. All rights reserved. -SPDX-FileCopyrightText: Copyright (c) 2006, 2007 CodeSourcery Inc -SPDX-FileCopyrightText: Copyright (c) 2010 "Cowboy" Ben Alman -SPDX-FileCopyrightText: Copyright 1997-2016 Freescale Semiconductor, Inc. -SPDX-FileCopyrightText: Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) -SPDX-FileCopyrightText: Copyright 2011, John Resig -SPDX-FileCopyrightText: Copyright 2016-2021 NXP -SPDX-FileCopyrightText: Copyright (c) 2012 mbed.org -SPDX-FileCopyrightText: Copyright (c) 2012-2017 Keil Software. All rights reserved. -SPDX-FileCopyrightText: Copyright (C) 2009 by Dimitri van Heesch. -SPDX-FileCopyrightText: Copyright (c) 2017-2021 IAR Systems -SPDX-FileCopyrightText: Copyright (C) 2003-2008 Greg Valure -SPDX-FileCopyrightText: Copyright 2015 gRPC authors. -SPDX-FileCopyrightText: Copyright 2018 Dan Field. All rights reserved. -SPDX-FileCopyrightText: Copyright 2014 Stefan.Eilemann@epfl.ch -SPDX-FileCopyrightText: Copyright (c) 2016, the Dart project authors -SPDX-FileCopyrightText: Copyright 2015 The Chromium Authors -SPDX-FileCopyrightText: Copyright (C) 2019 Free Software Foundation, Inc. -SPDX-FileCopyrightText: Copyright (c) 2021, Vasyl Gello. -SPDX-FileCopyrightText: Copyright 2020 Jan Tojnar -SPDX-FileCopyrightText: Copyright 2017-2022 The TensorFlow Authors. All Rights Reserved. -SPDX-FileCopyrightText: Copyright 2014-2022 Google Inc. All rights reserved. -SPDX-FileCopyrightText: Copyright 2015-2018 The Gemmlowp Authors. All rights reserved. -SPDX-FileCopyrightText: Copyright (c) 2003-2019, Mark Borgerding. All rights reserved. -SPDX-FileCopyrightText: Copyright 2019-2022 The Pigweed Authors -SPDX-FileCopyrightText: Copyright 2019-2021 Google LLC. All Rights Reserved. - -SPDX-License-Identifier: Apache-2.0 AND BSD-3-Clause and CC-PDDC diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U55-Default-noTA/backend-config.json b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U55-Default-noTA/backend-config.json new file mode 100644 index 0000000..4d8c928 --- /dev/null +++ b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U55-Default-noTA/backend-config.json @@ -0,0 +1,14 @@ +[ + { + "name": "Generic Inference Runner: Ethos-U55", + "description": "This application allows running inferences using custom NN TensorFlow Lite models on Ethos-U. No data pre-/post-processing is executed.", + "supported_systems": [ + { + "name": "Corstone-300: Cortex-M55+Ethos-U55" + } + ], + "variables": { + "eval_app": "{software.config_dir}/ethos-u-inference_runner.axf" + } + } +] diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U55-Default-noTA/backend-config.json.license b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U55-Default-noTA/backend-config.json.license new file mode 100644 index 0000000..9b83bfc --- /dev/null +++ b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U55-Default-noTA/backend-config.json.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates. + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U55-Default-noTA/ethos-u-inference_runner.axf b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U55-Default-noTA/ethos-u-inference_runner.axf new file mode 100644 index 0000000..c5b4e3e Binary files /dev/null and b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U55-Default-noTA/ethos-u-inference_runner.axf differ diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U55-Default-noTA/ethos-u-inference_runner.axf.license b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U55-Default-noTA/ethos-u-inference_runner.axf.license new file mode 100644 index 0000000..8896f92 --- /dev/null +++ b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U55-Default-noTA/ethos-u-inference_runner.axf.license @@ -0,0 +1,31 @@ +SPDX-FileCopyrightText: Copyright 2009-2022, Arm Limited and/or its affiliates. +SPDX-FileCopyrightText: Copyright (c) 2006, 2008 Junio C Hamano +SPDX-FileCopyrightText: Copyright 2011, The Dojo Foundation +SPDX-FileCopyrightText: Copyright (c) 1999-2009 KEIL, 2009-2016 ARM Germany GmbH. All rights reserved. +SPDX-FileCopyrightText: Copyright (c) 2006, 2007 CodeSourcery Inc +SPDX-FileCopyrightText: Copyright (c) 2010 "Cowboy" Ben Alman +SPDX-FileCopyrightText: Copyright 1997-2016 Freescale Semiconductor, Inc. +SPDX-FileCopyrightText: Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) +SPDX-FileCopyrightText: Copyright 2011, John Resig +SPDX-FileCopyrightText: Copyright 2016-2021 NXP +SPDX-FileCopyrightText: Copyright (c) 2012 mbed.org +SPDX-FileCopyrightText: Copyright (c) 2012-2017 Keil Software. All rights reserved. +SPDX-FileCopyrightText: Copyright (C) 2009 by Dimitri van Heesch. +SPDX-FileCopyrightText: Copyright (c) 2017-2021 IAR Systems +SPDX-FileCopyrightText: Copyright (C) 2003-2008 Greg Valure +SPDX-FileCopyrightText: Copyright 2015 gRPC authors. +SPDX-FileCopyrightText: Copyright 2018 Dan Field. All rights reserved. +SPDX-FileCopyrightText: Copyright 2014 Stefan.Eilemann@epfl.ch +SPDX-FileCopyrightText: Copyright (c) 2016, the Dart project authors +SPDX-FileCopyrightText: Copyright 2015 The Chromium Authors +SPDX-FileCopyrightText: Copyright (C) 2019 Free Software Foundation, Inc. +SPDX-FileCopyrightText: Copyright (c) 2021, Vasyl Gello. +SPDX-FileCopyrightText: Copyright 2020 Jan Tojnar +SPDX-FileCopyrightText: Copyright 2017-2022 The TensorFlow Authors. All Rights Reserved. +SPDX-FileCopyrightText: Copyright 2014-2022 Google Inc. All rights reserved. +SPDX-FileCopyrightText: Copyright 2015-2018 The Gemmlowp Authors. All rights reserved. +SPDX-FileCopyrightText: Copyright (c) 2003-2019, Mark Borgerding. All rights reserved. +SPDX-FileCopyrightText: Copyright 2019-2022 The Pigweed Authors +SPDX-FileCopyrightText: Copyright 2019-2021 Google LLC. All Rights Reserved. + +SPDX-License-Identifier: Apache-2.0 AND BSD-3-Clause and CC-PDDC diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U65-Default-noTA/backend-config.json b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U65-Default-noTA/backend-config.json new file mode 100644 index 0000000..22ba2d9 --- /dev/null +++ b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U65-Default-noTA/backend-config.json @@ -0,0 +1,14 @@ +[ + { + "name": "Generic Inference Runner: Ethos-U65", + "description": "This application allows running inferences using custom NN TensorFlow Lite models on Ethos-U. No data pre-/post-processing is executed.", + "supported_systems": [ + { + "name": "Corstone-300: Cortex-M55+Ethos-U65" + } + ], + "variables": { + "eval_app": "{software.config_dir}/ethos-u-inference_runner.axf" + } + } +] diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U65-Default-noTA/backend-config.json.license b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U65-Default-noTA/backend-config.json.license new file mode 100644 index 0000000..9b83bfc --- /dev/null +++ b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U65-Default-noTA/backend-config.json.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates. + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U65-Default-noTA/ethos-u-inference_runner.axf b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U65-Default-noTA/ethos-u-inference_runner.axf new file mode 100644 index 0000000..5ffc70c Binary files /dev/null and b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U65-Default-noTA/ethos-u-inference_runner.axf differ diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U65-Default-noTA/ethos-u-inference_runner.axf.license b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U65-Default-noTA/ethos-u-inference_runner.axf.license new file mode 100644 index 0000000..8896f92 --- /dev/null +++ b/src/mlia/resources/backends/applications/inference_runner-sse-300-22.08.02-ethos-U65-Default-noTA/ethos-u-inference_runner.axf.license @@ -0,0 +1,31 @@ +SPDX-FileCopyrightText: Copyright 2009-2022, Arm Limited and/or its affiliates. +SPDX-FileCopyrightText: Copyright (c) 2006, 2008 Junio C Hamano +SPDX-FileCopyrightText: Copyright 2011, The Dojo Foundation +SPDX-FileCopyrightText: Copyright (c) 1999-2009 KEIL, 2009-2016 ARM Germany GmbH. All rights reserved. +SPDX-FileCopyrightText: Copyright (c) 2006, 2007 CodeSourcery Inc +SPDX-FileCopyrightText: Copyright (c) 2010 "Cowboy" Ben Alman +SPDX-FileCopyrightText: Copyright 1997-2016 Freescale Semiconductor, Inc. +SPDX-FileCopyrightText: Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) +SPDX-FileCopyrightText: Copyright 2011, John Resig +SPDX-FileCopyrightText: Copyright 2016-2021 NXP +SPDX-FileCopyrightText: Copyright (c) 2012 mbed.org +SPDX-FileCopyrightText: Copyright (c) 2012-2017 Keil Software. All rights reserved. +SPDX-FileCopyrightText: Copyright (C) 2009 by Dimitri van Heesch. +SPDX-FileCopyrightText: Copyright (c) 2017-2021 IAR Systems +SPDX-FileCopyrightText: Copyright (C) 2003-2008 Greg Valure +SPDX-FileCopyrightText: Copyright 2015 gRPC authors. +SPDX-FileCopyrightText: Copyright 2018 Dan Field. All rights reserved. +SPDX-FileCopyrightText: Copyright 2014 Stefan.Eilemann@epfl.ch +SPDX-FileCopyrightText: Copyright (c) 2016, the Dart project authors +SPDX-FileCopyrightText: Copyright 2015 The Chromium Authors +SPDX-FileCopyrightText: Copyright (C) 2019 Free Software Foundation, Inc. +SPDX-FileCopyrightText: Copyright (c) 2021, Vasyl Gello. +SPDX-FileCopyrightText: Copyright 2020 Jan Tojnar +SPDX-FileCopyrightText: Copyright 2017-2022 The TensorFlow Authors. All Rights Reserved. +SPDX-FileCopyrightText: Copyright 2014-2022 Google Inc. All rights reserved. +SPDX-FileCopyrightText: Copyright 2015-2018 The Gemmlowp Authors. All rights reserved. +SPDX-FileCopyrightText: Copyright (c) 2003-2019, Mark Borgerding. All rights reserved. +SPDX-FileCopyrightText: Copyright 2019-2022 The Pigweed Authors +SPDX-FileCopyrightText: Copyright 2019-2021 Google LLC. All Rights Reserved. + +SPDX-License-Identifier: Apache-2.0 AND BSD-3-Clause and CC-PDDC diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Shared_Sram-TA/backend-config.json b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Shared_Sram-TA/backend-config.json deleted file mode 100644 index 0bdbd27..0000000 --- a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Shared_Sram-TA/backend-config.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "name": "Generic Inference Runner: Ethos-U55/65 Shared SRAM", - "description": "This application allows running inferences using custom NN TensorFlow Lite models on Ethos-U. No data pre-/post-processing is executed.", - "supported_systems": [ - { - "name": "Corstone-310: Cortex-M85+Ethos-U55" - } - ], - "variables": { - "eval_app": "{software.config_dir}/ethos-u-inference_runner.axf" - } - } -] diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Shared_Sram-TA/backend-config.json.license b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Shared_Sram-TA/backend-config.json.license deleted file mode 100644 index 9b83bfc..0000000 --- a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Shared_Sram-TA/backend-config.json.license +++ /dev/null @@ -1,3 +0,0 @@ -SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates. - -SPDX-License-Identifier: Apache-2.0 diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Shared_Sram-TA/ethos-u-inference_runner.axf b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Shared_Sram-TA/ethos-u-inference_runner.axf deleted file mode 100644 index 846ee33..0000000 Binary files a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Shared_Sram-TA/ethos-u-inference_runner.axf and /dev/null differ diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Shared_Sram-TA/ethos-u-inference_runner.axf.license b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Shared_Sram-TA/ethos-u-inference_runner.axf.license deleted file mode 100644 index 8896f92..0000000 --- a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Shared_Sram-TA/ethos-u-inference_runner.axf.license +++ /dev/null @@ -1,31 +0,0 @@ -SPDX-FileCopyrightText: Copyright 2009-2022, Arm Limited and/or its affiliates. -SPDX-FileCopyrightText: Copyright (c) 2006, 2008 Junio C Hamano -SPDX-FileCopyrightText: Copyright 2011, The Dojo Foundation -SPDX-FileCopyrightText: Copyright (c) 1999-2009 KEIL, 2009-2016 ARM Germany GmbH. All rights reserved. -SPDX-FileCopyrightText: Copyright (c) 2006, 2007 CodeSourcery Inc -SPDX-FileCopyrightText: Copyright (c) 2010 "Cowboy" Ben Alman -SPDX-FileCopyrightText: Copyright 1997-2016 Freescale Semiconductor, Inc. -SPDX-FileCopyrightText: Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) -SPDX-FileCopyrightText: Copyright 2011, John Resig -SPDX-FileCopyrightText: Copyright 2016-2021 NXP -SPDX-FileCopyrightText: Copyright (c) 2012 mbed.org -SPDX-FileCopyrightText: Copyright (c) 2012-2017 Keil Software. All rights reserved. -SPDX-FileCopyrightText: Copyright (C) 2009 by Dimitri van Heesch. -SPDX-FileCopyrightText: Copyright (c) 2017-2021 IAR Systems -SPDX-FileCopyrightText: Copyright (C) 2003-2008 Greg Valure -SPDX-FileCopyrightText: Copyright 2015 gRPC authors. -SPDX-FileCopyrightText: Copyright 2018 Dan Field. All rights reserved. -SPDX-FileCopyrightText: Copyright 2014 Stefan.Eilemann@epfl.ch -SPDX-FileCopyrightText: Copyright (c) 2016, the Dart project authors -SPDX-FileCopyrightText: Copyright 2015 The Chromium Authors -SPDX-FileCopyrightText: Copyright (C) 2019 Free Software Foundation, Inc. -SPDX-FileCopyrightText: Copyright (c) 2021, Vasyl Gello. -SPDX-FileCopyrightText: Copyright 2020 Jan Tojnar -SPDX-FileCopyrightText: Copyright 2017-2022 The TensorFlow Authors. All Rights Reserved. -SPDX-FileCopyrightText: Copyright 2014-2022 Google Inc. All rights reserved. -SPDX-FileCopyrightText: Copyright 2015-2018 The Gemmlowp Authors. All rights reserved. -SPDX-FileCopyrightText: Copyright (c) 2003-2019, Mark Borgerding. All rights reserved. -SPDX-FileCopyrightText: Copyright 2019-2022 The Pigweed Authors -SPDX-FileCopyrightText: Copyright 2019-2021 Google LLC. All Rights Reserved. - -SPDX-License-Identifier: Apache-2.0 AND BSD-3-Clause and CC-PDDC diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Sram_Only-TA/backend-config.json b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Sram_Only-TA/backend-config.json deleted file mode 100644 index a56e49d..0000000 --- a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Sram_Only-TA/backend-config.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "name": "Generic Inference Runner: Ethos-U55 SRAM", - "description": "This application allows running inferences using custom NN TensorFlow Lite models on Ethos-U. No data pre-/post-processing is executed.", - "supported_systems": [ - { - "name": "Corstone-310: Cortex-M85+Ethos-U55" - } - ], - "variables": { - "eval_app": "{software.config_dir}/ethos-u-inference_runner.axf" - } - } -] diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Sram_Only-TA/backend-config.json.license b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Sram_Only-TA/backend-config.json.license deleted file mode 100644 index 9b83bfc..0000000 --- a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Sram_Only-TA/backend-config.json.license +++ /dev/null @@ -1,3 +0,0 @@ -SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates. - -SPDX-License-Identifier: Apache-2.0 diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Sram_Only-TA/ethos-u-inference_runner.axf b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Sram_Only-TA/ethos-u-inference_runner.axf deleted file mode 100644 index e3eab97..0000000 Binary files a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Sram_Only-TA/ethos-u-inference_runner.axf and /dev/null differ diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Sram_Only-TA/ethos-u-inference_runner.axf.license b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Sram_Only-TA/ethos-u-inference_runner.axf.license deleted file mode 100644 index 8896f92..0000000 --- a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.05.01-ethos-U55-Sram_Only-TA/ethos-u-inference_runner.axf.license +++ /dev/null @@ -1,31 +0,0 @@ -SPDX-FileCopyrightText: Copyright 2009-2022, Arm Limited and/or its affiliates. -SPDX-FileCopyrightText: Copyright (c) 2006, 2008 Junio C Hamano -SPDX-FileCopyrightText: Copyright 2011, The Dojo Foundation -SPDX-FileCopyrightText: Copyright (c) 1999-2009 KEIL, 2009-2016 ARM Germany GmbH. All rights reserved. -SPDX-FileCopyrightText: Copyright (c) 2006, 2007 CodeSourcery Inc -SPDX-FileCopyrightText: Copyright (c) 2010 "Cowboy" Ben Alman -SPDX-FileCopyrightText: Copyright 1997-2016 Freescale Semiconductor, Inc. -SPDX-FileCopyrightText: Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) -SPDX-FileCopyrightText: Copyright 2011, John Resig -SPDX-FileCopyrightText: Copyright 2016-2021 NXP -SPDX-FileCopyrightText: Copyright (c) 2012 mbed.org -SPDX-FileCopyrightText: Copyright (c) 2012-2017 Keil Software. All rights reserved. -SPDX-FileCopyrightText: Copyright (C) 2009 by Dimitri van Heesch. -SPDX-FileCopyrightText: Copyright (c) 2017-2021 IAR Systems -SPDX-FileCopyrightText: Copyright (C) 2003-2008 Greg Valure -SPDX-FileCopyrightText: Copyright 2015 gRPC authors. -SPDX-FileCopyrightText: Copyright 2018 Dan Field. All rights reserved. -SPDX-FileCopyrightText: Copyright 2014 Stefan.Eilemann@epfl.ch -SPDX-FileCopyrightText: Copyright (c) 2016, the Dart project authors -SPDX-FileCopyrightText: Copyright 2015 The Chromium Authors -SPDX-FileCopyrightText: Copyright (C) 2019 Free Software Foundation, Inc. -SPDX-FileCopyrightText: Copyright (c) 2021, Vasyl Gello. -SPDX-FileCopyrightText: Copyright 2020 Jan Tojnar -SPDX-FileCopyrightText: Copyright 2017-2022 The TensorFlow Authors. All Rights Reserved. -SPDX-FileCopyrightText: Copyright 2014-2022 Google Inc. All rights reserved. -SPDX-FileCopyrightText: Copyright 2015-2018 The Gemmlowp Authors. All rights reserved. -SPDX-FileCopyrightText: Copyright (c) 2003-2019, Mark Borgerding. All rights reserved. -SPDX-FileCopyrightText: Copyright 2019-2022 The Pigweed Authors -SPDX-FileCopyrightText: Copyright 2019-2021 Google LLC. All Rights Reserved. - -SPDX-License-Identifier: Apache-2.0 AND BSD-3-Clause and CC-PDDC diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U55-Default-noTA/backend-config.json b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U55-Default-noTA/backend-config.json new file mode 100644 index 0000000..f7ee996 --- /dev/null +++ b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U55-Default-noTA/backend-config.json @@ -0,0 +1,14 @@ +[ + { + "name": "Generic Inference Runner: Ethos-U55", + "description": "This application allows running inferences using custom NN TensorFlow Lite models on Ethos-U. No data pre-/post-processing is executed.", + "supported_systems": [ + { + "name": "Corstone-310: Cortex-M85+Ethos-U55" + } + ], + "variables": { + "eval_app": "{software.config_dir}/ethos-u-inference_runner.axf" + } + } +] diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U55-Default-noTA/backend-config.json.license b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U55-Default-noTA/backend-config.json.license new file mode 100644 index 0000000..9b83bfc --- /dev/null +++ b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U55-Default-noTA/backend-config.json.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates. + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U55-Default-noTA/ethos-u-inference_runner.axf b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U55-Default-noTA/ethos-u-inference_runner.axf new file mode 100644 index 0000000..2e2a574 Binary files /dev/null and b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U55-Default-noTA/ethos-u-inference_runner.axf differ diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U55-Default-noTA/ethos-u-inference_runner.axf.license b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U55-Default-noTA/ethos-u-inference_runner.axf.license new file mode 100644 index 0000000..8896f92 --- /dev/null +++ b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U55-Default-noTA/ethos-u-inference_runner.axf.license @@ -0,0 +1,31 @@ +SPDX-FileCopyrightText: Copyright 2009-2022, Arm Limited and/or its affiliates. +SPDX-FileCopyrightText: Copyright (c) 2006, 2008 Junio C Hamano +SPDX-FileCopyrightText: Copyright 2011, The Dojo Foundation +SPDX-FileCopyrightText: Copyright (c) 1999-2009 KEIL, 2009-2016 ARM Germany GmbH. All rights reserved. +SPDX-FileCopyrightText: Copyright (c) 2006, 2007 CodeSourcery Inc +SPDX-FileCopyrightText: Copyright (c) 2010 "Cowboy" Ben Alman +SPDX-FileCopyrightText: Copyright 1997-2016 Freescale Semiconductor, Inc. +SPDX-FileCopyrightText: Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) +SPDX-FileCopyrightText: Copyright 2011, John Resig +SPDX-FileCopyrightText: Copyright 2016-2021 NXP +SPDX-FileCopyrightText: Copyright (c) 2012 mbed.org +SPDX-FileCopyrightText: Copyright (c) 2012-2017 Keil Software. All rights reserved. +SPDX-FileCopyrightText: Copyright (C) 2009 by Dimitri van Heesch. +SPDX-FileCopyrightText: Copyright (c) 2017-2021 IAR Systems +SPDX-FileCopyrightText: Copyright (C) 2003-2008 Greg Valure +SPDX-FileCopyrightText: Copyright 2015 gRPC authors. +SPDX-FileCopyrightText: Copyright 2018 Dan Field. All rights reserved. +SPDX-FileCopyrightText: Copyright 2014 Stefan.Eilemann@epfl.ch +SPDX-FileCopyrightText: Copyright (c) 2016, the Dart project authors +SPDX-FileCopyrightText: Copyright 2015 The Chromium Authors +SPDX-FileCopyrightText: Copyright (C) 2019 Free Software Foundation, Inc. +SPDX-FileCopyrightText: Copyright (c) 2021, Vasyl Gello. +SPDX-FileCopyrightText: Copyright 2020 Jan Tojnar +SPDX-FileCopyrightText: Copyright 2017-2022 The TensorFlow Authors. All Rights Reserved. +SPDX-FileCopyrightText: Copyright 2014-2022 Google Inc. All rights reserved. +SPDX-FileCopyrightText: Copyright 2015-2018 The Gemmlowp Authors. All rights reserved. +SPDX-FileCopyrightText: Copyright (c) 2003-2019, Mark Borgerding. All rights reserved. +SPDX-FileCopyrightText: Copyright 2019-2022 The Pigweed Authors +SPDX-FileCopyrightText: Copyright 2019-2021 Google LLC. All Rights Reserved. + +SPDX-License-Identifier: Apache-2.0 AND BSD-3-Clause and CC-PDDC diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U65-Default-noTA/backend-config.json b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U65-Default-noTA/backend-config.json new file mode 100644 index 0000000..21d8239 --- /dev/null +++ b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U65-Default-noTA/backend-config.json @@ -0,0 +1,14 @@ +[ + { + "name": "Generic Inference Runner: Ethos-U65", + "description": "This application allows running inferences using custom NN TensorFlow Lite models on Ethos-U. No data pre-/post-processing is executed.", + "supported_systems": [ + { + "name": "Corstone-310: Cortex-M85+Ethos-U65" + } + ], + "variables": { + "eval_app": "{software.config_dir}/ethos-u-inference_runner.axf" + } + } +] diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U65-Default-noTA/backend-config.json.license b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U65-Default-noTA/backend-config.json.license new file mode 100644 index 0000000..9b83bfc --- /dev/null +++ b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U65-Default-noTA/backend-config.json.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates. + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U65-Default-noTA/ethos-u-inference_runner.axf b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U65-Default-noTA/ethos-u-inference_runner.axf new file mode 100644 index 0000000..20dff50 Binary files /dev/null and b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U65-Default-noTA/ethos-u-inference_runner.axf differ diff --git a/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U65-Default-noTA/ethos-u-inference_runner.axf.license b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U65-Default-noTA/ethos-u-inference_runner.axf.license new file mode 100644 index 0000000..8896f92 --- /dev/null +++ b/src/mlia/resources/backends/applications/inference_runner-sse-310-22.08.02-ethos-U65-Default-noTA/ethos-u-inference_runner.axf.license @@ -0,0 +1,31 @@ +SPDX-FileCopyrightText: Copyright 2009-2022, Arm Limited and/or its affiliates. +SPDX-FileCopyrightText: Copyright (c) 2006, 2008 Junio C Hamano +SPDX-FileCopyrightText: Copyright 2011, The Dojo Foundation +SPDX-FileCopyrightText: Copyright (c) 1999-2009 KEIL, 2009-2016 ARM Germany GmbH. All rights reserved. +SPDX-FileCopyrightText: Copyright (c) 2006, 2007 CodeSourcery Inc +SPDX-FileCopyrightText: Copyright (c) 2010 "Cowboy" Ben Alman +SPDX-FileCopyrightText: Copyright 1997-2016 Freescale Semiconductor, Inc. +SPDX-FileCopyrightText: Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) +SPDX-FileCopyrightText: Copyright 2011, John Resig +SPDX-FileCopyrightText: Copyright 2016-2021 NXP +SPDX-FileCopyrightText: Copyright (c) 2012 mbed.org +SPDX-FileCopyrightText: Copyright (c) 2012-2017 Keil Software. All rights reserved. +SPDX-FileCopyrightText: Copyright (C) 2009 by Dimitri van Heesch. +SPDX-FileCopyrightText: Copyright (c) 2017-2021 IAR Systems +SPDX-FileCopyrightText: Copyright (C) 2003-2008 Greg Valure +SPDX-FileCopyrightText: Copyright 2015 gRPC authors. +SPDX-FileCopyrightText: Copyright 2018 Dan Field. All rights reserved. +SPDX-FileCopyrightText: Copyright 2014 Stefan.Eilemann@epfl.ch +SPDX-FileCopyrightText: Copyright (c) 2016, the Dart project authors +SPDX-FileCopyrightText: Copyright 2015 The Chromium Authors +SPDX-FileCopyrightText: Copyright (C) 2019 Free Software Foundation, Inc. +SPDX-FileCopyrightText: Copyright (c) 2021, Vasyl Gello. +SPDX-FileCopyrightText: Copyright 2020 Jan Tojnar +SPDX-FileCopyrightText: Copyright 2017-2022 The TensorFlow Authors. All Rights Reserved. +SPDX-FileCopyrightText: Copyright 2014-2022 Google Inc. All rights reserved. +SPDX-FileCopyrightText: Copyright 2015-2018 The Gemmlowp Authors. All rights reserved. +SPDX-FileCopyrightText: Copyright (c) 2003-2019, Mark Borgerding. All rights reserved. +SPDX-FileCopyrightText: Copyright 2019-2022 The Pigweed Authors +SPDX-FileCopyrightText: Copyright 2019-2021 Google LLC. All Rights Reserved. + +SPDX-License-Identifier: Apache-2.0 AND BSD-3-Clause and CC-PDDC diff --git a/src/mlia/tools/metadata/corstone.py b/src/mlia/tools/metadata/corstone.py index 0894207..cea1ec9 100644 --- a/src/mlia/tools/metadata/corstone.py +++ b/src/mlia/tools/metadata/corstone.py @@ -382,6 +382,7 @@ def get_corstone_310_installation() -> Installation: PackagePathChecker( expected_files=[ "models/Linux64_GCC-9.3/FVP_Corstone_SSE-310", + "models/Linux64_GCC-9.3/FVP_Corstone_SSE-310_Ethos-U65", ], backend_subfolder="models/Linux64_GCC-9.3", ), @@ -389,6 +390,7 @@ def get_corstone_310_installation() -> Installation: static_backend_path=Path("/opt/VHT"), expected_files=[ "VHT_Corstone_SSE-310", + "VHT_Corstone_SSE-310_Ethos-U65", ], copy_source=False, system_config=( -- cgit v1.2.1