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
ESPERTO
posta 5 anni fa217 visualizzazioni
1 Risposta
0
Risposta accettata

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
con risposta 5 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande