Closed
[refactor] 退役 DeepSeek-V4 重复配置 registry #1286
hanboyouAdd on 20 days agoClosed at 19 days ago
[refactor] 退役 DeepSeek-V4 重复配置 registry #1286
Closed
The current Pull Request has been closed by hanboyou.
20 days ago Added label: cann-cla/yes
CANN-robot
20 days ago Comments:
20 days ago Comments:
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.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.
PR Approval Progress
⚠️ This PR does not yet meet the following requirements:lgtm (requires ≥ 2 person(s) per module)、approve (requires ≥ 1 person(s) per module)
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-cann/torchtitan-npu | ❌ (0/2)(You can also ask: 张德鹏, lrwei0709, xuyujun, wanghui0, zhanghz1) | ❌ (0/1)(You can also ask: lrwei0709, wanghui0, 张德鹏, zhaowei1936, zzyyjj012) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
mystri, thanks for your pull request. All authors of the commits have signed the CLA. 👍


20 days ago Set hwcaifubi,lrwei0709,zhaowei1936,zhong_lin,zhanghz1,depeng1994,shengnan666,XDaoHong,xuyujun,zhuofanshen,wanghui0,panchao-gitcode,zzyyjj012 as approver
20 days ago Set hwcaifubi,lrwei0709,zhaowei1936,zhong_lin,zhanghz1,depeng1994,shengnan666,XDaoHong,xuyujun,zhuofanshen,wanghui0,panchao-gitcode,zzyyjj012 as approver
20 days ago Set hwcaifubi,lrwei0709,zhaowei1936,zhong_lin,zhanghz1,depeng1994,shengnan666,XDaoHong,xuyujun,zhuofanshen,wanghui0,panchao-gitcode,zzyyjj012 as approver
20 days ago Set hwcaifubi,lrwei0709,zhaowei1936,zhong_lin,zhanghz1,depeng1994,shengnan666,XDaoHong,xuyujun,zhuofanshen,wanghui0,panchao-gitcode,zzyyjj012 as approver
20 days ago Modify description of pull request
hanboyou
20 days ago Comments:
20 days ago Comments:
compile


20 days ago Pre merge succeeded (commit_id: 2194bca40d2061580a988865f2c84234f299aaff)
CANN-robot
20 days ago Comments:
20 days ago Comments:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


20 days ago Added label: ci-pipeline-running
9 event messages are collapsed here。 See more
19 days ago Removed label: ci-pipeline-passed
CANN-robot
19 days ago Comments:
19 days ago Comments:
19 days ago Modify description of pull request
hanboyou
19 days ago Comments:
19 days ago Comments:
compile


19 days ago Pre merge succeeded (commit_id: 87de6c9105a6f4983ff02a63aed480ca3dc70641)
CANN-robot
19 days ago Comments:
19 days ago Comments:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


19 days ago Added label: ci-pipeline-running
5 event messages are collapsed here。 See more
19 days ago Close pull request
描述
删除旧的 DeepSeek-V4 重复训练工厂,使用现有正式 recipe;optimizer 用例显式保留
loss、fused_binary_activation、fp32_to_bf16_split三个本地编译区域,保持原有计算边界。相关文档和使用方同步迁移。类型
Checklist:
如何测试
目标基线:
6e3c9320453c0e36875a1fb7f9af59abb57ed3b8;当前提交:7f150a80442f436d885ce52f94dca36ce8fcf26c。pre-commit --all-files:全部 15 个 hooks 通过;Torch 2.14/TorchTitan 0.4.0 类型环境,仅使用外部依赖查找路径,未增加忽略项。另对变更文件完成真实 OAT 扫描。87de6c9105a6f4983ff02a63aed480ca3dc70641,父节点已核对为上述基线6e3c9320与当前提交7f150a80;workflow head 单独核对。共 18 个 jobs 完成;两个 A3 NPU smoke jobs 因仅匹配master而跳过,不能计入本分支 NPU ST。f24f8a45):recipe/examples、DSV4 config 和 Muon 三组测试共 29 项通过;历史 CPU 日志及旧 CI #2695 不作为当前提交的验证结果。NPU 数值结果仍待补充。精度和性能验证结果
实际 optimizer 使用方的两卡 100 步 NPU 对比正在准备,使用相同 checkpoint、输入和随机状态,并保留三个本地编译区域。尚未声明本分支数值通过;性能未测量。
其他信息
旧
torchtitan_npu.models.deepseek_v4.config_registry导入路径有意退役,维护入口为torchtitan_npu_recipes.models.deepseek_v4。裸工厂默认资产路径、默认 override 与备选 Muon 配置采用正式 recipe;实际维护的 AdamW 用例明确配置对应策略。