[Install] gpu版本安装成功,运行报错
gpu:4080(公版)
cuda版本:12.0
具体如下:
Thu Feb 9 22:03:30 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.85.05 Driver Version: 525.85.05 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:83:00.0 Off | N/A |
| 30% 26C P0 32W / 320W | 0MiB / 16376MiB | 1% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=============================================================================| | No running processes found | +-----------------------------------------------------------------------------+
nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2022 NVIDIA Corporation Built on Mon_Oct_24_19:12:58_PDT_2022 Cuda compilation tools, release 12.0, V12.0.76 Build cuda_12.0.r12.0/compiler.31968024_0
#define CUDNN_MAJOR 8 #define CUDNN_MINOR 8 #define CUDNN_PATCHLEVEL 0
#define CUDNN_VERSION (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)
/* cannot use constexpr here since this is a C-only file */
paddlepaddle 2.4.1 paddlespeech 1.0.1
运行后报如下错误:
Error: Can not import paddle core while this file exists: /usr/local/lib/python3.10/dist-packages/paddle/fluid/libpaddle.so
Traceback (most recent call last):
File "/home/yeapllg/video/test.py", line 72, in
提示libcudart.so.10.2这包没有
经过检查发现,cuda12.0版本的libcudart.so包版本为libcudart.so.12,
root@ubuntu:/home/yeapllg/video# ls /usr/local/cuda/lib64/libcudart* /usr/local/cuda/lib64/libcudart.so /usr/local/cuda/lib64/libcudart.so.12 /usr/local/cuda/lib64/libcudart.so.12.0.107 /usr/local/cuda/lib64/libcudart_static.a
paddle 安装问题请移步 paddle issue 区
我前面在Ubuntu22.04试过,python3.10版本似乎有问题。你换3.9或3.8版本应该就没问题了 PS:CUDA 12.0版本似乎太新了吧,paddlepaddle底层支持了吗?似乎暂时还是最高11.7啊 参考页面
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
运行:paddlespeech vector --task spk --input zh.wav 报错:ImportError: libcudart.so.10.2: cannot open shared object file: No such file or directory
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is closed. Please re-open if needed.