一、环境准备1.前置条件首先准备好训练机器和数据,笔者采用了32节点910BNPU,300万网页训练数据。2.环境配置环境安装,首先安装多模态训练框架msswift,安装torchnpu及deepspeed。安装msswift(当前推荐从源码安装,待发版后可直接pip安装)gitclonehttps:github.commodelscopeswift.gitcdswiftpipinstalle'.[llm]'安装torchnpupipinstalltorchnpudecorator安装deepspeedpipinstalldeepspeed完整python依赖版本见文末附录3.环境验...