sagemaker.serve.ai_inference_recommender.exceptions#
Exceptions for the AI inference recommender module.
Exceptions
|
Raised when the AI inference recommender feature is not enabled for the account. |
|
Raised when the server rejects a workload spec. |
- exception sagemaker.serve.ai_inference_recommender.exceptions.FeatureGatedError(message: str = '', runbook_url: str = 'https://docs.aws.amazon.com/sagemaker/latest/dg/generative-ai-inference-recommendations.html')[source]#
Bases:
SageMakerCoreErrorRaised when the AI inference recommender feature is not enabled for the account.
- fmt = 'The AI inference recommender feature is not enabled for this account. {message} See {runbook_url} for enrollment information.'#
- exception sagemaker.serve.ai_inference_recommender.exceptions.WorkloadValidationError(message='', **kwargs)[source]#
Bases:
ValidationErrorRaised when the server rejects a workload spec.
- fmt = 'Server rejected workload: {message}'#