Closed
[Usage]: 依赖库安装 #1561
guoyipengAdd on  Feb 28Closed at  Apr 9
guoyipeng
guoyipeng
Feb 28 Create

在提交新问题之前,请确保您已经在社区中搜索过相关问题,并使用了社区中提供的资源/工具后,仍未找到满意的解决方式。

环境信息

例如:
- 操作系统
- 昇腾硬件信息
- CANN软件版本
- 安装的对应软件版本

使用场景及问题

新创建的conda环境,完成torch_npu和op-plugin安装之后,运行npu_sparse_flash_attention文档中的两个用例
单算子模式调用出现yaml等依赖库缺失报错
图模式调用出现torchair等依赖库缺失报错,需额外手动构建torchair。昇腾社区描述“安装torch_npu插件,即可使用TorchAir”,实际上并没有
image.png

建议把requirements.txt里面加上所有的依赖库,在环境安装的时候一键安装

欢迎加入社区,感谢您对社区的贡献 🎉!

likedislike
guoyipengguoyipeng
Feb 28 Modify description of issue
ascend-robotascend-robotCollaborators
Feb 28 Added label: usage
huangyunlong
huangyunlongCollaborators
Mar 4 Comments:

感谢您的反馈,yaml依赖在编译安装时有提到,后续会优化这个依赖的说明;
图模式调用出现torchair等依赖库缺失报错,需额外手动构建torchair,这个能提供下报错详情吗?目前对外发布的torch_npu包已经涵盖了torchair包

likedislike
huangyunlonghuangyunlongCollaborators
Apr 9 changed custom state from TODO to DONE
huangyunlonghuangyunlongCollaborators
Apr 9 Close issue
huangyunlonghuangyunlongCollaborators
Jun 10 Associated pull request
ascend-robotascend-robotCollaborators
Jun 10 Added label: resolved
ascend-robotascend-robotCollaborators
Jun 11 Associated pull request
ascend-robotascend-robotCollaborators
Jun 11 Associated pull request
ascend-robotascend-robotCollaborators
Jun 11 Associated pull request
ascend-robotascend-robotCollaborators
Jun 11 Associated pull request
ascend-robotascend-robotCollaborators
Jun 11 Associated pull request