Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use tensorflow 2.0 with AWS Lambda?

I am new to AWS Lambda and running a tensorflow model in AWS Lambda. Now tensorflow 1.0.0 is the one that fits into the 50Mb limit but since tensorflow 2.0 is much bigger in size it does not fit. Does anyone knows of a way to use tensorflow 2.0 with AWS lambda?

like image 476
Debangshu Paul Avatar asked Oct 16 '22 07:10

Debangshu Paul


1 Answers

AWS Lambda comes with an ephemeral storage unit in /tmp. However, please note that the ephemeral storage unit still has a storage of 512MB. You can load your dependencies to this storage, and write code accordingly.

like image 185
Arka Mukherjee Avatar answered Oct 19 '22 00:10

Arka Mukherjee