Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: ImportError: DLL load failed while importing libpaddle: 找不到指定的程序。 #8449

Open
1 task done
Mushano opened this issue May 16, 2024 · 0 comments
Open
1 task done
Assignees
Labels
bug Something isn't working

Comments

@Mushano
Copy link

Mushano commented May 16, 2024

软件环境

- paddlepaddle:无
- paddlepaddle-gpu: 2.6.1.post116
- paddlenlp: 2.6.1
- 显卡:gtx1080
- cudnn:8.4

重复问题

  • I have searched the existing issues

错误描述

File "D:\market_feedback\multilabel\deploy\python\infer.py", line 23, in <module>
    from paddlenlp.prompt import PromptDataCollatorWithPadding, UTCTemplate
  File "D:\app\miniforge\envs\datamining\lib\site-packages\paddlenlp\__init__.py", line 33, in <module>
    import paddle
  File "D:\app\miniforge\envs\datamining\lib\site-packages\paddle\__init__.py", line 28, in <module>
    from .base import core  # noqa: F401
  File "D:\app\miniforge\envs\datamining\lib\site-packages\paddle\base\__init__.py", line 36, in <module>
    from . import core
  File "D:\app\miniforge\envs\datamining\lib\site-packages\paddle\base\core.py", line 380, in <module>
    raise e
  File "D:\app\miniforge\envs\datamining\lib\site-packages\paddle\base\core.py", line 268, in <module>
    from . import libpaddle
ImportError: DLL load failed while importing libpaddle: 找不到指定的程序。


更换paddlepaddle-gpu的版本为2.5.2.post116后可以部署,但是模型微调训练又会出现以下问题,这个问题在2.6.1版本不会出现:
W0516 14:25:12.999184 11028 gpu_resources.cc:96] The GPU architecture in your current machine is Pascal, which is not compatible with Paddle installation with arch: 70 75 80 86 , it is recommended to install the corresponding wheel package according to the installation information on the official Paddle website.
W0516 14:25:12.999184 11028 gpu_resources.cc:119] Please NOTE: device: 0, GPU Compute Capability: 6.1, Driver API Version: 11.6, Runtime API Version: 11.6
W0516 14:25:13.014804 11028 gpu_resources.cc:149] device: 0, cuDNN Version: 8.4.
LAUNCH INFO 2024-05-16 14:25:17,686 Exit code 3221226505
[2024-05-16 14:25:17,686] [    INFO] controller.py:149 - Exit code 3221226505

稳定复现步骤 & 代码

根据上述版本配置进行UTC模型的微调和本地部署,运行下面链接的示例代码

@Mushano Mushano added the bug Something isn't working label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants