香橙派20T24G版本,运行示例程序报错

硬件:香橙派20T24G版本

CANN版本:8.0.0.beta1

package_name=Ascend-cann-toolkit
version=8.0.0
innerversion=V100R001C20SPC001B251
compatible_version=[V100R001C15],[V100R001C17],[V100R001C18],[V100R001C19],[V100R001C20]

mindspore版本:2.5.0

Name: mindspore
Version: 2.5.0

目标案例:orange-pi-mindspore/Online at master · mindspore-lab/orange-pi-mindspore · GitHub

案例环境要求:

| DeepSeek-R1-Distill-Qwen-1.5B | 8.0.RC3.alpha002/8.0.0.beta1/8.1.RC1.beta1 | 2.4.10/2.5.0/2.6.0 | 20T24G |

执行脚本:

python deepseek-r1-distill-qwen-1.5b.py

有一个警告:

tAscendDefaultCustomPath] Checking whether the so exists or if permission to access it is available: /usr/local/Ascend/ascend-toolkit/latest/opp/vendors/customize_vision/op_api/lib/libcust_opapi.so
100%|███████████████████████████████████████████████████████████████████████████████████████████| 181/181 [00:00<00:00, 390kB/s]
Running on local URL:  http://127.0.0.1:7860
/home/HwHiAiUser/.local/lib/python3.9/site-packages/gradio/analytics.py:106: UserWarning: IMPORTANT: You are using gradio version 4.44.0, however version 4.44.1 is available, please upgrade.
--------
  warnings.warn(

To create a public link, set `share=True` in `launch()`.

打开http://127.0.0.1:7860,在输入框输入“你是谁”,命令行内报错

RuntimeError: aclnnCumsumGetWorkspaceSize call failed, please check!

----------------------------------------------------
- Ascend Error Message:
----------------------------------------------------
EZ1001: [PID: 4973] 2026-01-06-15:21:24.517.341 support for Ascend310B is not implemented[THREAD:5157]

(Please search "CANN Common Error Analysis" at https://www.mindspore.cn for error code description)

有无大佬遇到过相同问题,不吝赐教,谢谢。

查找了/usr/local/Ascend/ascend-toolkit/latest/opp/vendors/customize_vision/ 下是没有 op_api的,所以那个so也没有,但这只是warning,不清楚有没有影响。

用户您好,已收到上述的问题,会尽快分析和答复~

已解决。mindnlp版本问题。

没有梯子,github直接下载安装mindnlp-0.4.0-py3-none-any.whl,结果部分库没有安装上去。

还是得使用如下方式安装:

#有梯子的可用
pip install git+https://github.com/mindspore-lab/mindnlp.git@0.4
#没有梯子的使用gitee
pip install git+https://gitee.com/mindspore-lab/mindnlp.git@0.4

此话题已在最后回复的 60 分钟后被自动关闭。不再允许新回复。