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
asked 6 months ago220 views
1 Answer
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
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions