How to deploy large python packages with AWS Lambda?

前端 未结 3 1663
伪装坚强ぢ
伪装坚强ぢ 2021-01-07 05:39

I need some advice.

I trained an image classifier using Tensorflow and wanted to deploy it to AWS Lambda using serverless. The directory includes the model, some py

3条回答
  •  醉梦人生
    2021-01-07 06:35

    You can maybe use the ephemeral disk capacity, (/tmp) that have a limit of 512Mb, but in your case, memory will still be an issue.

    The best choice can be to use an AWS batch, if serverless does not manage it, you can even keep a lambda to trigger your batch

提交回复
热议问题