SuperAPI AI 工具集

large_scale_deploy

部署与运维

查看项目

更新于 10-15 19:58

技能介绍

用途:面向 ascend-deployer 的大规模集群自动化安装部署,帮助用户在集群中跨多个节点批量部署 Ascend 组件。

主要能力:支持单组件与多组件安装,可部署驱动、固件、工具包、内核包、运行时、PyTorch/TensorFlow/MindSpore 框架,以及 ascend-device-plugin、ascend-operator、volcano 等 Kubernetes 相关组件,还包含监控与故障诊断类组件。

使用方式:需先获取仓库 git clone https://gitcode.com/Ascend/ascend-deployer.git,并满足 Linux 环境、已配置 large_scale_inventory.ini、可 SSH 访问所有目标节点等前置条件。脚本位于 ascend-deployer/large_scale_install.sh。单组件安装:bash large_scale_install.sh --install=<组件名>;多组件安装:bash large_scale_install.sh --install=<组件1>,<组件2>。清单文件需包含目标节点 IP、SSH 信息、节点分组与角色,支持 IP 范围表示法。

适用场景:基础 NPU 环境搭建、深度学习训练环境、Kubernetes 部署、全栈安装、集群监控等。

限制与注意:组件存在依赖关系,建议按 sys_pkg、driver、firmware、toolkit/toolbox、kernels、nnae/nnrt、框架的顺序安装;安装日志通常位于 /var/log/ascend-deployer/;失败时需参考 ascend-deployer 文档中的回滚说明。具体收费、价格与平台支持范围暂未提供。