PaddleCustomDevice icon indicating copy to clipboard operation
PaddleCustomDevice copied to clipboard

昇腾910B,容器内运行mind Vsion推理报错

Open bsl1997 opened this issue 1 year ago • 2 comments

  • 环境配置 MINDX SDK 6.0.RC3 CANN 8.0.RC1
  • 报错日志 Begin to initialize Log. The output directory of logs file exist. WARNING: Logging before InitGoogleLogging() is written to STDERR I20241122 10:02:56.407680 281462569663328 FileUtils.cpp:339] The input file is empty I20241122 10:02:56.407710 281462569663328 FileUtils.cpp:495] Check Other group permission: Current permission is 4, but required no greater than 0. Save logs information to specified directory. E20241122 10:02:57.047970 281462569663328 ImageProcessorDptr.hpp:819] Failed to recognize Ascend chip. (Code = -1, Message = "ACL: general failure") E20241122 10:02:57.048184 281462569663328 ImageProcessorDptr.hpp:879] Get predict size failed. (Code = -1, Message = "ACL: general failure") E20241122 10:02:57.048208 281462569663328 ImageProcessorDptr.hpp:530] ImageProcessor: Fail to predict output image data size. (Code = -1, Message = "ACL: general failure") E20241122 10:02:57.048230 281462569663328 PyDvpp.cpp:36] ImageProcessor decode failed. (Code = -1, Message = "ACL: general failure") Traceback (most recent call last): File "/home/HwHiAiUser/app/main.py", line 21, in decoded_image = imageProcessor.decode(image_path, base.nv12) RuntimeError: [-1][ACL: general failure]

bsl1997 avatar Nov 22 '24 10:11 bsl1997

容器挂载了0卡,容器内npusmi可以看到,日志似乎描述未识别的npu

bsl1997 avatar Nov 22 '24 11:11 bsl1997

建议使用我们推荐的镜像哈

适用于 X86 架构

docker pull registry.baidubce.com/device/paddle-npu:cann80T13-ubuntu20-x86_64-gcc84-py39

适用于 Aarch64 架构

docker pull registry.baidubce.com/device/paddle-npu:cann80T13-ubuntu20-aarch64-gcc84-py39

安装我们的稳定版本:https://www.paddlepaddle.org.cn/install/quick?docurl=undefined

onecatcn avatar Nov 27 '24 08:11 onecatcn