The account-level service limit

0

I get the fallowing The account-level service limit error, even though I have already increased the quota value to 2. thanks for helping!

CODE:

Create a SageMaker session with the specified region

Sagemaker_Session = sagemaker.Session()

Define the JumpStart model

pretrained_model = JumpStartModel(model_id =jumpstart_model_name, role=my_role,sagemaker_session=Sagemaker_Session)

Deploy the model to an endpoint

predictor = pretrained_model.deploy( instance_type=InstanceType, initial_instance_count=1, serializer=sagemaker.serializers.JSONSerializer(), deserializer=sagemaker.deserializers.JSONDeserializer() )

ERROR: An error occurred (ResourceLimitExceeded) when calling the CreateEndpoint operation: The account-level service limit 'ml.g5.2xlarge for endpoint usage' is 0 Instances, with current utilization of 0 Instances and a request delta of 1 Instances. Please use AWS Service Quotas to request an increase for this quota. If AWS Service Quotas is not available, contact AWS support to request an increase for this quota.

reza
demandé il y a 6 mois240 vues
1 réponse
0

Hi,

The precise guidance to solve your issue is here: https://repost.aws/knowledge-center/sagemaker-resource-limit-exceeded-error

Please, follow all its steps to be able to use this kind of instance.

Best,

Didier

profile pictureAWS
EXPERT
répondu il y a 6 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions