Sagemaker local deployment: "RuntimeError: Giving up, endpoint: didn't launch correctly"

0

Hi, I am trying to launch an endpoint locally, to do couple inferences from my dev notebook (without having to wait for instanciation time of actual endpoint or batch training). I am running the following code:

# get trained model from s3
trained_S2S = SM.model.Model(
    image=seq2seq,
    model_data=('s3://XXXXXXXXXXXXX/'
        + 'output/seq2seq-2018-07-30-16-55-12-521/output/model.tar.gz'),
    role=role) 

S2S = trained_S2S.deploy(1, instance_type='local')    

I get the following error (several hundreds of lines repeated):

WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa5c61eaac8>: Failed to establish a new connection: [Errno 111] Connection refused',)': /ping 

RuntimeError: Giving up, endpoint: seq2seq-2018-08-01-14-18-06-555 didn't launch correctly

AWS
专家
已提问 6 年前699 查看次数
1 回答
0
已接受的回答

Currently, SageMaker local is supported only for SageMaker framework containers (MXNet, TensorFlow, PyTorch, Chainer and Spark) and not for the Builtin algorithms

已回答 6 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则