Error Using Local GPU Mode in SageMaker Notebook

0

Hello,

Currently receiving an error when fitting an estimator: I'm using an ml.p3.2xlarge. Instance type = "local_gpu"

from sagemaker.pytorch import PyTorch

env = {
    'SAGEMAKER_REQUIREMENTS': 'requirements.txt', # path relative to `source_dir` below.
}

estimator = PyTorch(
    entry_point="train.py",
    role=role,
    py_version="py3",
    framework_version= "1.7.1", #"1.8.0",
    instance_count=1,
    instance_type= instance_type
    hyperparameters={
        "n_classes": 3
    },
)

This is the error. I've been troubleshooting and even referenced Github official examples.

 Command '['docker', 'pull', '763104351884.dkr.ecr.us-east-1.amazonaws.com/pytorch-training:1.7.1-gpu-py3']' returned non-zero exit status 1.

Any help would be appreciated.

Samuel
已提問 8 個月前檢視次數 318 次
1 個回答
0

Hello.

A bug with the same problem as yours was reported here.
It's probably not resolved yet.
https://github.com/aws/amazon-sagemaker-examples/issues/3110

profile picture
專家
已回答 8 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南