mxnet-lambda function creation fails

0

Hi, I'm trying to run this from an EC2 instance (sagemaker), but it fails with:

An error occurred (RequestEntityTooLargeException) when calling the CreateFunction operation: Request must be smaller than 69905067 bytes for the CreateFunction operation

What is wrong?

AWS
EXPERT
demandé il y a 5 ans217 vues
1 réponse
0
Réponse acceptée

You zipped function code is too large. See the limits here: https://docs.aws.amazon.com/lambda/latest/dg/limits.html

It has to be smaller than 50 MB

Try to upload your zip to s3 first. Then reference the archive in S3 in the CreateFunction request. This could work when your unzipped code is smaller than 250 MB.

AWS
répondu il y a 5 ans

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