aboutsummaryrefslogtreecommitdiff
path: root/src/mlia/target/cortex_a/advisor.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mlia/target/cortex_a/advisor.py')
-rw-r--r--src/mlia/target/cortex_a/advisor.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mlia/target/cortex_a/advisor.py b/src/mlia/target/cortex_a/advisor.py
index 5c077fb..3c127ec 100644
--- a/src/mlia/target/cortex_a/advisor.py
+++ b/src/mlia/target/cortex_a/advisor.py
@@ -44,6 +44,16 @@ class CortexAInferenceAdvisor(DefaultInferenceAdvisor):
if context.category_enabled(AdviceCategory.COMPATIBILITY):
collectors.append(CortexAOperatorCompatibility(model, target_config))
+ if context.category_enabled(AdviceCategory.PERFORMANCE):
+ raise Exception(
+ "Performance estimation is currently not supported for Cortex-A."
+ )
+
+ if context.category_enabled(AdviceCategory.OPTIMIZATION):
+ raise Exception(
+ "Model optimizations are currently not supported for Cortex-A."
+ )
+
return collectors
def get_analyzers(self, context: Context) -> list[DataAnalyzer]: