layout-parser icon indicating copy to clipboard operation
layout-parser copied to clipboard

Has anyone been able to get this to run under AWS Lambda

Open BrianSHenderson opened this issue 3 years ago • 3 comments

Alternatively is it available as a Lambda Layer?

BrianSHenderson avatar Apr 12 '21 10:04 BrianSHenderson

Making Layout Parser a service is on our roadmap, and feel free to contribute to our repo if you've made any progress! Thanks!

lolipopshock avatar Apr 16 '21 05:04 lolipopshock

I've tried and failed to get LP on run on AWS Lambda. Firstly the size of the dependencies make it near impossible to deploy a zip file to Lambda(cause all zip files should be under >265MB).

I also tried the container approach but it was really hard to install the dependencies on an Amazon Linux container. This is cause of missing gc++, versioning issues, etc. I managed to finally get everything installed but for some reason I couldn't run inference inside the container at all.

Given that I'm fairly new to lambdas, there might be some stupid mistakes on my side but if this was an existing layer then it'll be super easy to work with.

Shoshin23 avatar Nov 12 '21 13:11 Shoshin23

@lolipopshock I was able to run this under AWS Lambda. I am not sure about the license whether I can make it publically available.

ElToro13 avatar Apr 29 '22 11:04 ElToro13