I have this error in google colab:
我在Google CoLab中有这样一个错误:
RuntimeError:
The detected CUDA version (12.2) mismatches the version that was used to compile
PyTorch (11.8). Please make sure to use the same CUDA versions.
These are my cuda and torch versions:
以下是我的Cuda和Torch版本:
cuda version:
CUDA版本:
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Tue_Aug_15_22:02:13_PDT_2023
Cuda compilation tools, release 12.2, V12.2.140
Build cuda_12.2.r12.2/compiler.33191640_0
This is the pytorch version:
2.0.1+cu118
I tried to install cuda 11.8 but it didn't work.
这是pytorch版本:2.0.1+cu118我试图安装Cuda 11.8,但没有成功。
更多回答
优秀答案推荐
我是一名优秀的程序员,十分优秀!