是否可以确定正在使用哪个已安装版本的cuda installed tensoflow? 例如,在pytorch中我可以做到:torch._C._cuda_getDriverVersion() 注意:我不是在寻找像Which TensorFlow and CUDA version combinations are compatible?
我试图在conda下安装特定的PyTorch版本:pip3 install pytorch==1.0.1ERROR: Could not find a version that satisfies the requirement pytorch==1.0.1 (from versions: 0.1.2, 1.0.2)
ERROR: No matching
Detected that PyTorch and torchvision were compiled with different CUDA versions.PyTorch has CUDA Version=11.0 and torchvision has CUDA Version=10.1.Please reinstall the torchvision that matches your PyTorch install. 如何将pytorch的
PyTorch和Torchvision用不同的CUDA版本编译。PyTorch拥有CUDA version=11.6和torchvision CUDA Version 11.3。请重新安装与您的PyTorch安装匹配的torchvision。
我多次尝试从网站重新安装torchvision,以及PyTorch和python。我被困住了,我不知道如何解决这个问题。