conda install pytorch torchvision cudatoolkit=10.2 -c pytorch
conda install pytorch torchvision cpuonly -c pytorch
穷没独显
torch.cuda.is_available() OSError: [WinError 126]
原文:https://www.cnblogs.com/startnow/p/13227891.html