You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ads/aqua/evaluation/evaluation.py
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -626,14 +626,15 @@ def validate_model_name(
626
626
logger.error(error_message)
627
627
628
628
ifmodel_group_count<1:
629
-
error_message=(
629
+
logger.error(
630
630
f"Invalid model group count: {model_group_count} for evaluation source ID "
631
631
f"'{create_aqua_evaluation_details.evaluation_source_id}'. A valid multi-model deployment "
632
632
f"requires at least one model."
633
633
)
634
-
logger.error(error_message)
635
634
raiseAquaRuntimeError(
636
-
f"Cannot extract details about the multi-model deployment to evaluate. A valid multi-model deployment requires at least one model, however the provided evaluation source ID '{create_aqua_evaluation_details.evaluation_source_id}' doesn't contain details about the deployed models."
635
+
f"Unable to retrieve details for the multi-model deployment evaluation. A valid multi-model deployment "
636
+
f"must include at least one model. However, the provided evaluation source ID "
637
+
f"'{create_aqua_evaluation_details.evaluation_source_id}' does not contain any information about deployed models."
637
638
)
638
639
639
640
# Build the list of valid model names from custom metadata.
0 commit comments