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
전문가
질문됨 5년 전217회 조회
1개 답변
0
수락된 답변

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
답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠