Docling deployment CPU only in AWS Lambda (python 3.12) #1134
-
Has anyone tried deploying Docling as an AWS Lambda via docker? Would appreciate the help with this. I'm having issues with easyOCR, see error below. I can provide more details if needed, just having a hard time with setting model paths for docling and easyOCR.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
I got this to work with tessaract and easyOCR via docker. Taking a look at docling-serve helped out a lot here if anyone is wondering. |
Beta Was this translation helpful? Give feedback.
-
this will solve your problem, you must be using ecr image for lambda os.environ["HF_HOME"] = "/tmp/huggingface" |
Beta Was this translation helpful? Give feedback.
I got this to work with tessaract and easyOCR via docker. Taking a look at docling-serve helped out a lot here if anyone is wondering.