-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
华为Atlas300I(3010,昇腾310)安装Paddle-Lite运行例程出错 #10505
Comments
|
换回预置的lib和头文件之后,也是cpu可以跑通,npu报错: During handling of the above exception, another exception occurred: File "/usr/lib/python3.8/multiprocessing/connection.py", line 368, in _send During handling of the above exception, another exception occurred: File "/usr/lib/python3.8/multiprocessing/connection.py", line 200, in send_bytes During handling of the above exception, another exception occurred: File "/usr/lib/python3.8/multiprocessing/connection.py", line 368, in _send During handling of the above exception, another exception occurred: File "/usr/lib/python3.8/multiprocessing/pool.py", line 136, in worker During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap During handling of the above exception, another exception occurred: File "/usr/lib/python3.8/multiprocessing/connection.py", line 200, in send_bytes During handling of the above exception, another exception occurred: File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run |
目前已经验证过的驱动版本是 1.0.9.alpha,CANN版本是 5.0.2.alpha005,可以检查下本地版本是否一致 |
新版本的驱动和CANN版本目前没有验证过,可能需要一定的适配代码修改,可以自行尝试下~ |
版本、环境信息:
1)Paddle Lite 版本:git clone的最新开发代码
2)Host 环境:Ubuntu 20.04
3)运行设备环境:华为鲲鹏服务器+Atlas 300I(3010,昇腾310)
4)CANN 7.0
编译/安装方式信息:
参考https://www.paddlepaddle.org.cn/lite/develop/demo_guides/huawei_ascend_npu.html 进行安装
错误信息:
参考官网编译了paddle-lite和进行了include、lib替换,cpu运行没有问题,npu运行报错:
./run.sh mobilenet_v1_fp32_224 imagenet_224.txt test linux arm64,cpu运行没有问题,正常打出结果;
./run.sh mobilenet_v1_fp32_224 imagenet_224.txt test linux arm64 huawei_ascend_npu,npu运行报错:
[F 4/24 17:22:10.685 ...nadapter/nnadapter/src/runtime/device.cc:529 Find] Failed to load the nnadapter device HAL library for 'huawei_ascend_npu' from libhuawei_ascend_npu.so, ../../libs/PaddleLite/linux/arm64/lib/huawei_ascend_npu/libhuawei_ascend_npu.so: undefined symbol: PyExc_ValueError
[F 4/24 17:22:10.685 ...nadapter/nnadapter/src/runtime/device.cc:529 Find] Failed to load the nnadapter device HAL library for 'huawei_ascend_npu' from libhuawei_ascend_npu.so, ../../libs/PaddleLite/linux/arm64/lib/huawei_ascend_npu/libhuawei_ascend_npu.so: undefined symbol: PyExc_ValueError
The text was updated successfully, but these errors were encountered: