系统:win11
显卡rtx3060 驱动显示: NVIDIA-SMI 528.02 Driver Version: 528.02 CUDA Version: 12.0
python 3.10.9
cuda:cuda_11.7.1_516.94_windows
cudnn:cudnn-windows-x86_64-8.6.0.163_cuda11-archive
安装完python和cuda后,将cudnn解压
1、把bin目录下的.dll全部复制到 C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin
2、把\cuda\include\cudnn.h复制到 C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\include
3、把\cuda\lib\x64\cudnn.lib复制到C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\lib\x64
然后安装paddle(GPU cuda11.7),安装完成后验证就出现 OSError: Invalid enum backend type 63错误,请问下应该怎么解决。谢谢!
下面是安装信息:
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import paddle
>>> paddle.utils.run_check()
Running verify PaddlePaddle program ...
W0120 00:02:58.819399 21836 gpu_resources.cc:61] Please NOTE: device: 0, GPU Compute Capability: 8.6, Driver API Version: 12.0, Runtime API Version: 11.7
W0120 00:02:58.828402 21836 gpu_resources.cc:91] device: 0, cuDNN Version: 8.6.
Traceback (most recent call last):
File "", line 1, in
File "H:\AI\paddle\venv\lib\site-packages\paddle\utils\install_check.py", line 270, in run_check
_run_dygraph_single(use_cuda, use_xpu, use_npu)
File "H:\AI\paddle\venv\lib\site-packages\paddle\utils\install_check.py", line 136, in _run_dygraph_single
linear_out = linear(input_tensor)
File "H:\AI\paddle\venv\lib\site-packages\paddle\fluid\dygraph\layers.py", line 948, in __call__
return self.forward(*inputs, **kwargs)
File "H:\AI\paddle\venv\lib\site-packages\paddle\nn\layer\common.py", line 175, in forward
out = F.linear(
File "H:\AI\paddle\venv\lib\site-packages\paddle\nn\functional\common.py", line 1882, in linear
return _C_ops.linear(x, weight, bias)
OSError: Invalid enum backend type `63`.
大佬牛啊
是不是版本不匹配啊
考虑降低一下paddle版本?
不知道是什么问题 降了显卡驱动也不行 paddle换了2.4的也不行
大佬牛啊
我也遇到这个问题,你解决没
我也有一样的问题
没解决 只能等新版本了 或者改用2.3.2的