Deploying Docling using SageMaker #2003
matanitah-healthee
started this conversation in
General
Replies: 1 comment 1 reply
-
Which model are you trying to deploy? Docling is actually running multiple models in steps, not just a single one. Exception is the SmolDocling model. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I am trying to deploy a production instance of Docling in sagemaker using Terraform.
I use the below python code to deploy my instance:
I am able to successfully download the model tar.gz into s3 and deploy it successfully, but when I try to run inference I get the following error:
An error occurred (ModelError) when calling the InvokeEndpoint operation: Received client error (400) from primary with message "{
"code": 400,
"type": "InternalServerException",
"message": "\u0027str\u0027 object has no attribute \u0027pad_token_id\u0027"
}
".
Has anyone else had the same problem and come up with a solution? Does anyone have any suggestions on how to proceed?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions