已合并
refactor: modify default qwen3.5 mocre config #2879
refactor: modify default qwen3.5 mocre config #2879
已合并
gaojie创建于 7月24日
gaojie
gaojie成员
7月24日

What this PR does / why we need it?

修改qwen3.5 mocre 默认并行配置为TP2EP8

Does this PR introduce any user-facing change?

Please describe whether the PR will result in any user-facing usage changes. If there is related documentation, please specify its path.

How was this patch tested?

Please explain how to verify the correctness and effectiveness of this feature, as well as its usage constraints and limitations.

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 gaojie 的贡献)
gaojiegaojie成员
7月24日 创建了 pull request,commit 67e8fd75
atomgit-bot
atomgit-bot
7月24日 评论:

变更摘要

该 PR 主要调整了 Qwen3.5 MoE 模型的默认并行与训练配置,将专家模型并行度从 4 提升至 8(形成 TP2EP8 配置),同时启用了全量激活重计算、增加了数据加载工作线程数,并移除了未使用的工具(tools)配置段。

主要改动

  • 专家模型并行度调整:将 gpt_argsmodel.text_decoder 两处的 expert_model_parallel_size4 改为 8,使默认并行策略变为 TP2EP8。
  • 激活重计算启用:将 recompute_num_layers0 改为 40,启用全部 40 层的激活重计算,以在 full 粒度和 block 方法下减少显存占用。
  • 数据加载器并行度提升:将 num_workers0 改为 8,增加数据加载的并行处理能力。
  • 移除工具配置段:删除了整个 tools 配置块,包括 profile(静态性能分析)和 memory_profile(内存快照)相关参数。
likedislike
不准确?
atomgit-bot
atomgit-bot
7月24日 评论:

代码审查

✅ 未发现问题

likedislike
不准确?
ascend-robotascend-robot成员
7月24日 添加了label:ascend-cla/yes
ascend-robot
ascend-robot成员
7月24日 评论:

CLA Signature Pass

gaojie_, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
ascend-robot
ascend-robot成员
7月24日 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here
You can get sig-info at here


PR Approval Progress

Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
repo-Ascend/MindSpeed-MM 王海涛, wanglikai1019, ye_qm (3/2) 王海涛 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

gaojie_, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
gaojie
gaojie成员
7月24日 评论:

compile

likedislike
ascend-robotascend-robot成员
7月24日 添加了label:ci-pipeline-running
ascend-robot
ascend-robot成员
7月24日 评论:

ascend docs pipeline is running...

likedislike
ascend-robotascend-robot成员
7月24日 添加了label:docs-ci-pipeline-running
ascend-robot
ascend-robot成员
7月24日 评论:

ascend docs pipeline is running...

likedislike
ascend-robot
ascend-robot成员
7月24日 评论:

✅ 跳过 docs ci 检查,没有需要检查的文档文件

likedislike
ascend-robot
ascend-robot成员
7月24日 评论:

✅ 跳过 docs ci 检查,没有需要检查的文档文件

likedislike
ascend-robotascend-robot成员
7月24日 删除了label:docs-ci-pipeline-running
ascend-robotascend-robot成员
7月24日 添加了label:docs-ci-pipeline-success
ascend-robotascend-robot成员
7月24日 删除了label:ci-pipeline-running
ascend-robotascend-robot成员
7月24日 添加了label:ci-pipeline-failed
ascend-robot
ascend-robot成员
7月24日 评论:
流水线 PR-pipeline_MindSpeed-MM#4294 [ commitID:cd81caa6 ] 运行失败
>>>代码风格自动修复执行失败,具体请查看日志,不影响流水线执行及PR合入
阶段 任务名 状态 详情
编译构建 Build 🕚 >>>
恶意代码检查 Antipoison >>>
编码安全与规范检查 Only_doc_commit >>>
codeCheck_pre-commit >>>
pre-commit >>>
开源片段检查 SCA >>>
开发者测试 UT 🕚 >>>
ST 🕚 >>>
流水线 PR-pipeline_MindSpeed-MM >>>
此流水线已支持下列评论快捷指令,仅PR创建者和白名单成员[wujinyuan1, htwang, hhhzhuyizhi, cxiaolong, bigdog1206, ghoshaw, yaoyaoxu]评论有效
  • compile : 运行流水线
  • retry : 重试流水线所有失败子任务
  • retry <任务名> : 仅重试指定失败子任务
  • stop : 停止流水线
likedislike
gaojiegaojie成员
7月24日 预合并成功(commit_id: 3fb4cc465025eef93f2c54f9b96c3c9477d4c96e)
gaojiegaojie成员
7月24日 推送  1 个提交:fff8c1f6-refactor: modify default qwen3.5 mocre config
gaojiegaojie成员
7月24日 预合并成功(commit_id: a9f19d01228017f6d274c9a5f207981a480b03f8)
ascend-robotascend-robot成员
7月24日 删除了label:ci-pipeline-failed
ascend-robotascend-robot成员
7月24日 添加了label:stat/needs-squash
gaojie
gaojie成员
7月24日 评论:

compile

likedislike
ascend-robotascend-robot成员
7月24日 添加了label:ci-pipeline-running
ascend-robot
ascend-robot成员
7月24日 评论:

ascend docs pipeline is running...

likedislike
ascend-robotascend-robot成员
7月24日 删除了label:docs-ci-pipeline-success
ascend-robotascend-robot成员
7月24日 添加了label:docs-ci-pipeline-running
ascend-robot
ascend-robot成员
7月24日 评论:

ascend docs pipeline is running...

likedislike
ascend-robot
ascend-robot成员
7月24日 评论:

✅ 跳过 docs ci 检查,没有需要检查的文档文件

likedislike
ascend-robotascend-robot成员
7月24日 删除了label:docs-ci-pipeline-running
ascend-robotascend-robot成员
7月24日 添加了label:docs-ci-pipeline-success
ascend-robot
ascend-robot成员
7月24日 评论:

✅ 跳过 docs ci 检查,没有需要检查的文档文件

likedislike
ascend-robotascend-robot成员
7月24日 删除了label:ci-pipeline-running
ascend-robotascend-robot成员
7月24日 添加了label:ci-pipeline-passed
ascend-robot
ascend-robot成员
7月24日 评论:
流水线 PR-pipeline_MindSpeed-MM#4296 [ commitID:fff8c1f6 ] 已完成
>>>代码风格自动修复执行成功(无修复内容)
阶段 任务名 状态 详情
编译构建 Build >>>
恶意代码检查 Antipoison >>>
编码安全与规范检查 Only_doc_commit >>>
codeCheck_pre-commit >>>
pre-commit >>>
开源片段检查 SCA >>>
开发者测试 UT >>>
ST >>>
流水线 PR-pipeline_MindSpeed-MM >>>
此流水线已支持下列评论快捷指令,仅PR创建者和白名单成员[wujinyuan1, htwang, hhhzhuyizhi, cxiaolong, bigdog1206, ghoshaw, yaoyaoxu]评论有效
  • compile : 运行流水线
  • retry : 重试流水线所有失败子任务
  • retry <任务名> : 仅重试指定失败子任务
  • stop : 停止流水线
likedislike
LKONE
LKONE成员
7月24日 评论:

/lgtm

likedislike
yeqm成员
7月24日 评论:

/lgtm

likedislike
ascend-robotascend-robot成员
7月24日 添加了label:lgtm
Hhtwang成员
7月24日 关联了issue:[Roadmap] MindSpeed MM Roadmap 2026 Q2
htwang成员
7月24日 评论:

/approve

likedislike
ascend-robotascend-robot成员
7月24日 添加了label:approved
ascend-robotascend-robot成员
7月24日 合入了pull request