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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인