mindspeed-llm-training

Installation
SKILL.md

MindSpeed-LLM 分布式训练启动

本 Skill 指导用户在华为昇腾 NPU 上启动 MindSpeed-LLM 分布式训练任务。

入口脚本

入口脚本 用途
pretrain_gpt.py 预训练(从头训练或继续预训练)
posttrain_gpt.py 指令微调(SFT、LoRA、QLoRA、Full)
posttrain_gpt.py 偏好对齐(DPO、GRPO)
train_fsdp2.py FSDP2 后端训练

重要:所有微调任务必须使用 posttrain_gpt.py不要使用 pretrain_gpt.py。只有 posttrain_gpt.py 才能正确路由 --is-instruction-dataset 到 packed 指令数据加载器。

快速开始

LoRA 微调(Qwen2.5-7B)

Installs
17
GitHub Stars
93
First Seen
Mar 17, 2026
mindspeed-llm-training — ascend-ai-coding/awesome-ascend-skills