Passer au contenu

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

1 réponse
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

EXPERT

répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.