【发布时间】:2020-07-26 17:53:19
【问题描述】:
我刚刚启动(并支付了费用)Deep Learning AMI (Ubuntu 18.04) Version 27.0 (ami-0dbb717f493016a1a) 实例类型g2.2xlarge。我激活了
for PyTorch with Python3 (CUDA 10.1 and Intel MKL) ____________source activate pytorch_p36
当我运行我的 pytorch 网络时,我看到一个警告
/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/torch/cuda/__init__.py:134: UserWarning:
Found GPU0 GRID K520 which is of cuda capability 3.0.
PyTorch no longer supports this GPU because it is too old.
The minimum cuda capability that we support is 3.5.
这是真的吗?
这是我将神经网络放在 gpu 上的代码
if torch.cuda.is_available():
device = torch.device("cuda:0") # you can continue going on here, like cuda:1 cuda:2....etc.
print("Running on the GPU")
else:
device = torch.device("cpu")
print("Running on the CPU")
net = Net(image_height, image_width)
net.to(device)
【问题讨论】:
标签: amazon-web-services amazon-ec2 pytorch gpu