From e5a0bc3ecd4d9c46ead3b8217584eaa916a3afa4 Mon Sep 17 00:00:00 2001 From: Benjamin Klimczak Date: Thu, 24 Aug 2023 16:38:47 +0100 Subject: MLIA-961 Update tox dependencies - Update version dependencies in the tox.ini - Fix linter issues Change-Id: I04c3a841ee2646a865dab037701d66c28792f2a4 Signed-off-by: Benjamin Klimczak --- src/mlia/target/cortex_a/advisor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mlia/target/cortex_a/advisor.py') diff --git a/src/mlia/target/cortex_a/advisor.py b/src/mlia/target/cortex_a/advisor.py index 3c127ec..db07b96 100644 --- a/src/mlia/target/cortex_a/advisor.py +++ b/src/mlia/target/cortex_a/advisor.py @@ -45,12 +45,12 @@ class CortexAInferenceAdvisor(DefaultInferenceAdvisor): collectors.append(CortexAOperatorCompatibility(model, target_config)) if context.category_enabled(AdviceCategory.PERFORMANCE): - raise Exception( + raise RuntimeError( "Performance estimation is currently not supported for Cortex-A." ) if context.category_enabled(AdviceCategory.OPTIMIZATION): - raise Exception( + raise RuntimeError( "Model optimizations are currently not supported for Cortex-A." ) -- cgit v1.2.1