2.3K Star 8K Fork 4.2K

GVPMindSpore / mindspore

 / 详情

在华为云AI加速型服务器(Ascend 310)上安装MindSpore1.5.0-re1失败

DONE
Question
创建于  
2021-10-20 11:38
name about labels
Bug Report Use this template for reporting a bug kind/bug

Environment

  • Hardware Environment(Ascend/GPU/CPU):

Uncomment only one /device <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/device ascend

/device gpu
/device cpu

  • Software Environment:
    -- MindSpore version (source or binary):1.5.0-rc1
    -- Python version (e.g., Python 3.7.5):Python 3.7.5
    -- OS platform and distribution (e.g., Linux Ubuntu 16.04):Linux Ubuntu 18.04
    -- GCC/Compiler version (if compiled from source): GCC 7.3.0

Related testcase

Steps to reproduce the issue

  1. 先创建 AI加速型服务器 X86+Ascend310(单卡)
  2. 安装anaconda,并创建Python3.7.5版本
  3. 安装必要准备的软件,如cmake,gmp.
  4. 运行云服务启上自带的驱动和固件

输入图片说明
但是mindspore官网上显示需要下载安装CANN 5.0.T306,但是跳转网页无法下载。

输入图片说明

输入图片说明

  1. 按照手册 安装驱动
    pip install /usr/local/Ascend/ascend-toolkit/latest/atc/lib64/topi-{version}-py3-none-any.whl
    pip install /usr/local/Ascend/ascend-toolkit/latest/atc/lib64/te-{version}-py3-none-any.whl
  2. conda安装 ascend 310的版本
    conda install mindspore-ascend=1.5.0rc1 -c mindspore -c conda-forge
  3. python命令行执行import mindspore
    import mindspore有报以下错误:
    [WARNING] ME(7690:140517705676608,MainProcess):2021-10-20-11:20:34.926.515 [mindspore/run_check/_check_version.py:275] MindSpore version 1.5.0rc1 and Ascend 910 AI software package version 1.75 does not match, the version of software package expect one of ['1.79'], please reference to the match info on: https://www.mindspore.cn/install
    Traceback (most recent call last):
    File "", line 1, in
    File "/root/miniconda3/envs/mindspore/lib/python3.7/site-packages/mindspore/init.py", line 17, in
    from .run_check import run_check
    File "/root/miniconda3/envs/mindspore/lib/python3.7/site-packages/mindspore/run_check/init.py", line 17, in
    from ._check_version import check_version_and_env_config
    File "/root/miniconda3/envs/mindspore/lib/python3.7/site-packages/mindspore/run_check/_check_version.py", line 432, in
    check_version_and_env_config()
    File "/root/miniconda3/envs/mindspore/lib/python3.7/site-packages/mindspore/run_check/_check_version.py", line 416, in check_version_and_env_config
    env_checker.check_env(e)
    File "/root/miniconda3/envs/mindspore/lib/python3.7/site-packages/mindspore/run_check/_check_version.py", line 263, in check_env
    raise e
    File "/root/miniconda3/envs/mindspore/lib/python3.7/site-packages/mindspore/run_check/_check_version.py", line 413, in check_version_and_env_config
    from .. import _c_expression # pylint: disable=unused-import
    ImportError: libacl_tdt_channel.so: cannot open shared object file: No such file or directory

Describe the current behavior

Describe the expected behavior

Related log / screenshot

Special notes for this issue

评论 (6)

lwy 创建了Bug-Report
lwy 关联仓库设置为MindSpore/mindspore
展开全部操作日志

Please assign maintainer to check this issue.
请为这个issue分配处理人, @fangwenyi @chengxiaoli

Please add labels (comp or sig),also you can visit "https://gitee.com/mindspore/community/blob/master/sigs/dx/docs/labels.md" to find more.
为了让问题更快得到响应,请您为该issue打上 组件(comp)或兴趣组(sig) 标签,打上标签的问题可以直接推送给责任人进行处理。更多的标签可以查看
https://gitee.com/mindspore/community/blob/master/sigs/dx/docs/labels.md
以组件问题为例,如果你发现问题是data组件造成的,你可以这样评论:
//comp/data
当然你也可以向data SIG组求助,可以这样写:
//comp/data
//sig/data
如果是一个简单的问题,你可以留给刚进入社区的小伙伴来回答,这时候你可以这样写:
//good-first-issue
恭喜你,你已经学会了使用命令来打标签,接下来就在下面的评论里打上标签吧!

i-robot 添加了
 
kind/bug
标签

欢迎安装使用MindSpore。问题已经收到,请耐心等待下答复~

chengxiaoli 任务状态TODO 修改为ACCEPTED
chengxiaoli 添加了
 
mindspore-assistant
标签
chengxiaoli 优先级设置为主要
chengxiaoli 负责人设置为chengxiaoli
lwy 修改了描述
lwy 修改了描述
fangwenyi 负责人chengxiaoli 修改为liubuyu
fangwenyi 添加协作者chengxiaoli
liubuyu 添加协作者liubuyu
liubuyu 负责人liubuyu 修改为chengxiaoli
liubuyu 取消协作者chengxiaoli
liubuyu 取消协作者liubuyu

CANN的下载需要相关权限,可以找一下你们组内谁有相关的权限。
so找不到问题,find搜索一下当前so,找到之后将相关路径加载到LD_LIBRARY_PATH再试一下。
其他的环境变量可以参官网的安装指南
输入图片说明

fangwenyi 任务状态ACCEPTED 修改为WIP
fangwenyi 任务状态WIP 修改为DONE
fangwenyi 任务状态DONE 修改为VALIDATION
fangwenyi 任务类型Bug-Report 修改为Empty-Template
fangwenyi 移除了
 
kind/bug
标签

@lwy 请按照liubuyu的方式安装,谢谢

请按照liubuyu的方式安装,此ISSUE先关闭,如有需要请重新提单,或者自行修改ISSUE状态,谢谢

fangwenyi 任务状态VALIDATION 修改为DONE

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(5)
7541106 cheng xiaoli 1706167756 6574993 liubuyu 1584443152 9839470 wymj123 1641469083
Python
1
https://gitee.com/mindspore/mindspore.git
git@gitee.com:mindspore/mindspore.git
mindspore
mindspore
mindspore

搜索帮助