mxnet-lambda函数创建失败

0

【以下的问题经过翻译处理】 我正在尝试从EC2实例(sagemaker)运行此操作,但是遇到了以下错误:

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

是哪里出现了问题呢?

profile picture
EXPERT
asked 10 months ago29 views
1 Answer
0

【以下的回答经过翻译处理】 您压缩的函数代码太大了。在此处查看限制:https://docs.aws.amazon.com/lambda/latest/dg/limits.html

必须小于50 MB。

请尝试首先将您的zip文件上传到S3。然后在CreateFunction请求中引用S3的存档。当您未解压缩的代码小于250 MB时,这可能起作用。

profile picture
EXPERT
answered 10 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

Relevant content