aws-samples / serverless-machine-learning-on-aws

Deploy Machine Learning Models as Serverless APIs
Apache License 2.0
18 stars 22 forks source link

Layers consume more than the available size of 262144000 bytes #10

Open SidB16 opened 3 years ago

SidB16 commented 3 years ago

During CloudFormation stack creation, logical ID:Inference fails.

Resource handler returned message: "Layers consume more than the available size of 262144000 bytes (Service: Lambda, Status Code: 400, Request ID: c3bcfa5c-91df-414e-aa76-c25c312277fb, Extended Request ID: null)" (RequestToken: 14df4eb5-13a1-a1dd-9810-72b4ae130520, HandlerErrorCode: InvalidRequest)

Steps to reproduce:

I've successfully built this stack before (some time ago). Can't figure out what has changed, and how to fix this issue.

kamkaz1 commented 6 months ago

facing the same issue in python version 3.9 since i cant use version 3.10 as collections.Mapping is not supported for this version