External Cannbot Model Model Infer Parallel Impl

基于 PyTorch 框架的昇腾 NPU 模型推理并行切分实施技能。根据已确认的 parallel_config,实施模型代码的并行化改造,包括并行线性层替换、MoE 并行模式适配、通信组创建、Embedding/LMHead 并行、YAML 配置生成和权重转换。触发场景:model-infer-parallel-analysis 完成后需要实施改造、现有模型需要支持新的并行配置。

ascend-ai-coding 57de894 3 files · 26.8 KB Updated

File contents

ascend-ai-coding/awesome-ascend-skills/tree/main/external/cannbot/model/model-infer-parallel-impl commit 57de89453e

Frequently asked questions

npx skillmds@latest add ascend-ai-coding/external-cannbot-model-model-infer-parallel-impl