You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd /usr/local/Ascend/opp/aicpu/script
./uninstall.sh
cd /usr/local/Ascend/ascend-toolkit/latest/toolkit/script
./uninstall.sh
cd /usr/local/Ascend/driver/script
./uninstall.sh
作者:@zhangsibo1129
本文介绍如何从0到1完成ONNXRuntime项目的编译。
华为云 ECS 服务器配置如下
1.安装驱动
若驱动版本太老,卸载旧驱动
安装最新驱动,NPU 型号 Atlas 300I 推理卡(型号:3010)
2.安装开发套件
安装 Anaconda
安装依赖
安装开发套件,在官网选择合适版本
3.项目编译
安装 cmake-3.26 或更高版本
升级 gcc 和 g++ 版本
添加环境变量
source /usr/local/Ascend/ascend-toolkit/set_env.sh
编译
若想在后台运行编译过程
若需要部署应用,可以将编译后的动态链接库和头文件进行安装
The text was updated successfully, but these errors were encountered: