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

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

Open
bsl1997 opened this issue Nov 22, 2024 · 2 comments
Open

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

bsl1997 opened this issue Nov 22, 2024 · 2 comments
Assignees

Comments

@bsl1997
Copy link

bsl1997 commented Nov 22, 2024

  • 环境配置
    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
Copy link
Author

bsl1997 commented Nov 22, 2024

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

@onecatcn
Copy link

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

适用于 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants