Direkt zum Inhalt

sagemaker integration

0

CannotStartContainerError: Please ensure the model container for variant default-variant-name starts correctly when invoked with 'docker run <image> serve'.

i get this error when i deploy my model on sagemaker ( that i build or train locally ) , please help

gefragt vor 2 Jahren751 Aufrufe

1 Antwort
0

Hi,

Did you follow the guidance of https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-training-algo-dockerfile.html so that SM can run your container after your trained it.

In particular, specifying the container entry point with ENTRYPOINT ["executable", "param1", "param2", ...] properly is very key. See all details in the doc.

Best,

Didier

EXPERTE

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.