diff options
author | Dmitrii Agibov <dmitrii.agibov@arm.com> | 2023-01-27 09:12:50 +0000 |
---|---|---|
committer | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2023-02-08 15:25:11 +0000 |
commit | 3e3dcb9bd5abb88adcd85b4f89e8a81e7f6fa293 (patch) | |
tree | 020eee6abef093113de5b49c135c915c37173843 /src/mlia/resources/backend_configs | |
parent | 836efd40317a397761ec8b66e3f4398faac43ad0 (diff) | |
download | mlia-3e3dcb9bd5abb88adcd85b4f89e8a81e7f6fa293.tar.gz |
MLIA-595 Remove old backend configuration mechanism
- Remove old backend configuration code
- Install backends into directory ~/.mlia
- Rename targets/backends in registry to make it consistent
across codebase.
Change-Id: I9c8b012fe863280f1c692940c0dcad3ef638aaae
Diffstat (limited to 'src/mlia/resources/backend_configs')
9 files changed, 0 insertions, 309 deletions
diff --git a/src/mlia/resources/backend_configs/systems/SYSTEMS.txt b/src/mlia/resources/backend_configs/systems/SYSTEMS.txt deleted file mode 100644 index 3861769..0000000 --- a/src/mlia/resources/backend_configs/systems/SYSTEMS.txt +++ /dev/null @@ -1,9 +0,0 @@ -SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates. -SPDX-License-Identifier: Apache-2.0 - -This directory contains the configuration files of the system backends. - -Supported systems: - - * FVP Corstone-300 Ecosystem - * FVP Corstone-310 Ecosystem diff --git a/src/mlia/resources/backend_configs/systems/corstone-300-vht/backend-config.json b/src/mlia/resources/backend_configs/systems/corstone-300-vht/backend-config.json deleted file mode 100644 index 7bc12c7..0000000 --- a/src/mlia/resources/backend_configs/systems/corstone-300-vht/backend-config.json +++ /dev/null @@ -1,72 +0,0 @@ -[ - { - "name": "Corstone-300: Cortex-M55+Ethos-U55", - "description": "Cortex-M55 and Ethos-U55 functional model implementations based on Corstone-300 design for MPS3 board.", - "annotations": { - "ip_class": "Ethos-U55", - "sim_type": "FM", - "variant": "Cortex-M55+Ethos-U55" - }, - "commands": { - "run": [ - "/opt/VHT/VHT_Corstone_SSE-300_Ethos-U55 -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-U55 configuration - the number represents MACs per cycle.", - "values": [ - "32", - "64", - "128", - "256" - ], - "default_value": "256", - "alias": "mac" - } - ] - } - }, - { - "name": "Corstone-300: Cortex-M55+Ethos-U65", - "description": "Cortex-M55 and Ethos-U65 functional model implementations based on Corstone-300 design for MPS3 board.", - "annotations": { - "ip_class": "Ethos-U65", - "sim_type": "FM", - "variant": "Cortex-M55+Ethos-U65" - }, - "commands": { - "run": [ - "/opt/VHT/VHT_Corstone_SSE-300_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-300-vht/backend-config.json.license b/src/mlia/resources/backend_configs/systems/corstone-300-vht/backend-config.json.license deleted file mode 100644 index 9b83bfc..0000000 --- a/src/mlia/resources/backend_configs/systems/corstone-300-vht/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/backend_configs/systems/corstone-300/backend-config.json b/src/mlia/resources/backend_configs/systems/corstone-300/backend-config.json deleted file mode 100644 index c27c6f5..0000000 --- a/src/mlia/resources/backend_configs/systems/corstone-300/backend-config.json +++ /dev/null @@ -1,72 +0,0 @@ -[ - { - "name": "Corstone-300: Cortex-M55+Ethos-U55", - "description": "Cortex-M55 and Ethos-U55 functional model implementations based on Corstone-300 design for MPS3 board.", - "annotations": { - "ip_class": "Ethos-U55", - "sim_type": "FM", - "variant": "Cortex-M55+Ethos-U55" - }, - "commands": { - "run": [ - "FVP_Corstone_SSE-300_Ethos-U55 -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-U55 configuration - the number represents MACs per cycle.", - "values": [ - "32", - "64", - "128", - "256" - ], - "default_value": "256", - "alias": "mac" - } - ] - } - }, - { - "name": "Corstone-300: Cortex-M55+Ethos-U65", - "description": "Cortex-M55 and Ethos-U65 functional model implementations based on Corstone-300 design for MPS3 board.", - "annotations": { - "ip_class": "Ethos-U65", - "sim_type": "FM", - "variant": "Cortex-M55+Ethos-U65" - }, - "commands": { - "run": [ - "FVP_Corstone_SSE-300_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-300/backend-config.json.license b/src/mlia/resources/backend_configs/systems/corstone-300/backend-config.json.license deleted file mode 100644 index 9b83bfc..0000000 --- a/src/mlia/resources/backend_configs/systems/corstone-300/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/backend_configs/systems/corstone-310-vht/backend-config.json b/src/mlia/resources/backend_configs/systems/corstone-310-vht/backend-config.json deleted file mode 100644 index dcb105a..0000000 --- a/src/mlia/resources/backend_configs/systems/corstone-310-vht/backend-config.json +++ /dev/null @@ -1,72 +0,0 @@ -[ - { - "name": "Corstone-310: Cortex-M85+Ethos-U55", - "description": "Cortex-M85 and Ethos-U55 functional model implementations based on Corstone-310 design for MPS3 board.", - "annotations": { - "ip_class": "Ethos-U55", - "sim_type": "FM", - "variant": "Cortex-M85+Ethos-U55" - }, - "commands": { - "run": [ - "/opt/VHT/VHT_Corstone_SSE-310 -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-U55 configuration - the number represents MACs per cycle.", - "values": [ - "32", - "64", - "128", - "256" - ], - "default_value": "256", - "alias": "mac" - } - ] - } - }, - { - "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-vht/backend-config.json.license b/src/mlia/resources/backend_configs/systems/corstone-310-vht/backend-config.json.license deleted file mode 100644 index 9b83bfc..0000000 --- a/src/mlia/resources/backend_configs/systems/corstone-310-vht/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/backend_configs/systems/corstone-310/backend-config.json b/src/mlia/resources/backend_configs/systems/corstone-310/backend-config.json deleted file mode 100644 index 6f4f89b..0000000 --- a/src/mlia/resources/backend_configs/systems/corstone-310/backend-config.json +++ /dev/null @@ -1,72 +0,0 @@ -[ - { - "name": "Corstone-310: Cortex-M85+Ethos-U55", - "description": "Cortex-M85 and Ethos-U55 functional model implementations based on Corstone-310 design for MPS3 board.", - "annotations": { - "ip_class": "Ethos-U55", - "sim_type": "FM", - "variant": "Cortex-M85+Ethos-U55" - }, - "commands": { - "run": [ - "FVP_Corstone_SSE-310 -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-U55 configuration - the number represents MACs per cycle.", - "values": [ - "32", - "64", - "128", - "256" - ], - "default_value": "256", - "alias": "mac" - } - ] - } - }, - { - "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/backend_configs/systems/corstone-310/backend-config.json.license b/src/mlia/resources/backend_configs/systems/corstone-310/backend-config.json.license deleted file mode 100644 index 9b83bfc..0000000 --- a/src/mlia/resources/backend_configs/systems/corstone-310/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 |