PaddlePaddle uie 报错 求助!!!(疑难杂症)
报错描述
我想使用PaddlePaddle的uie
进行命名实体识别,但是在PaddlePaddle的安装过程中总是出现奇怪的错误,如下所示。使用GPU
版本会报错,使用CPU
版本不会报错但也不会出结果。cuda
版本、cudatoolkit
、cudnn
也都是对的上的。
GPU版本的PaddlePaddle安装
使用的pip install paddlepaddle-gpu==2.6.1.post120
命令进行安装。
安装完成后的paddle.utils.run_check()
也显示正常。
>>> import paddle
>>> paddle.utils.run_check()
Running verify PaddlePaddle program ...
I0621 14:41:17.851310 3808 program_interpreter.cc:212] New Executor is Running.
W0621 14:41:17.851310 3808 gpu_resources.cc:119] Please NOTE: device: 0, GPU Compute Capability: 8.6, Driver API Version: 12.4, Runtime API Version: 12.0
W0621 14:41:18.321316 3808 gpu_resources.cc:164] device: 0, cuDNN Version: 8.6.
I0621 14:41:18.624698 3808 interpreter_util.cc:624] Standalone Executor is Used.
PaddlePaddle works well on 1 GPU.
PaddlePaddle is installed successfully! Let's start deep learning with PaddlePaddle now.
>>>
(paddle_uie_g) PS D:\Rick> nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Fri_Jan__6_19:04:39_Pacific_Standard_Time_2023
Cuda compilation tools, release 12.0, V12.0.140
Build cuda_12.0.r12.0/compiler.32267302_0
(paddle_uie_g) PS D:\Rick> nvidia-smi
Fri Jun 21 14:43:31 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 551.61 Driver Version: 551.61 CUDA Version: 12.4 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M<