aboutsummaryrefslogtreecommitdiff
path: root/src/mlia/cli/main.py
diff options
context:
space:
mode:
authorBenjamin Klimczak <benjamin.klimczak@arm.com>2023-02-10 13:12:57 +0000
committerBenjamin Klimczak <benjamin.klimczak@arm.com>2023-02-10 14:56:43 +0000
commit718277eaece76902c4950f18d428907b39a18ef1 (patch)
tree6fda1b8f8c2c0151f3697a2e9f31c2f5551cc2ff /src/mlia/cli/main.py
parentfa1fad9332e2912f12a44a1b07716ee434174308 (diff)
downloadmlia-718277eaece76902c4950f18d428907b39a18ef1.tar.gz
MLIA-769 Add "pretty names" for targets / backends
- Provide "pretty names" to print information for targets and backends. - Use 'target_config' instead of 'target' if a target profile is used. - Fix minor issue in output regarding the output directory. Change-Id: Ib38231f30b4d609a0d1e8f9c52b2fb547c69cb6a
Diffstat (limited to 'src/mlia/cli/main.py')
-rw-r--r--src/mlia/cli/main.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mlia/cli/main.py b/src/mlia/cli/main.py
index b3a9d4c..cc97494 100644
--- a/src/mlia/cli/main.py
+++ b/src/mlia/cli/main.py
@@ -84,7 +84,7 @@ def get_commands() -> list[CommandInfo]:
),
partial(
add_backend_options,
- backends_to_skip=["tosa-checker", "ArmNNTFLiteDelegate"],
+ backends_to_skip=["tosa-checker", "armnn-tflite-delegate"],
),
add_multi_optimization_options,
add_output_options,
@@ -197,12 +197,9 @@ def run_command(args: argparse.Namespace) -> int:
try:
logger.info("ML Inference Advisor %s", __version__)
- logger.info(
- "\nThis execution of MLIA uses output directory: %s", ctx.output_dir
- )
if copy_profile_file(ctx, func_args):
logger.info(
- "Target profile information copied to %s/target_profile.toml",
+ "\nThe target profile (.toml) is copied to the output directory: %s",
ctx.output_dir,
)
args.func(**func_args)