Error: Sagemaker Lab for Hugging Face Example
Hi,
I am working on Hugging Face example in Sagemaker labs, and I got the below error
"ResourceLimitExceeded: An error occurred (ResourceLimitExceeded) when calling the CreateTrainingJob operation: The account-level service limit 'ml.p3.2xlarge for training job usage' is 0 Instances, with current utilization of 0 Instances and a request delta of 1 Instances. Please contact AWS support to request an increase for this limit."
Code:
Can you please enable 1 instance to help me continue with Sagemaker Lab example of Hugging face model.
Thank you
Hello,
If you are using the SageMaker notebooks inside your AWS account then you can request a limit increase for ml.p3.2xlarge instance and you can find the instructions here. However you can change the instance type and use another one from this list.
If you are using your SageMaker Studio Lab free account(not the AWS account), then you do not need to specify an instance type. Here is an example that uses Hugging Face translation. And other examples from the Hugging Face github repo.
Relevant questions
Why does my kernel keep restarting when I try to download pre-trained Hugging Face BERT models weights to Amazon SageMaker?
asked 15 days agoWhy does my kernal keep dying when I try to import Hugging Face BERT models to Amazon SageMaker?
Accepted AnswerAWS sagemaker abalone example pipeline endpoint json rejected
asked 5 days agoSageMaker Multi Model endpoint creation fails while creating for model built on container sagemaker-scikit-learn:0.23-1-cpu-py3
asked a month agoSageMaker XGBoost Parquet Example Code Fails and Errors out. Bug?
Accepted Answerasked 3 months agoSagemaker endpoint endlessly "Creating" after Huggingface fetch error
Accepted Answerasked 3 months agoAn error occurred (ModelError) when calling the InvokeEndpoint operation
asked a year agoError: Sagemaker Lab for Hugging Face Example
asked 2 months agoold bug in CompareFaces JPG throws error if no face; when will it be fixed?
asked 8 months agohow to log error/messages in while running a sagemaker batch transform job?
asked a month ago