Draft
[WIP]Draft: feat(npu): provide shared slots and counted URMA runtime integration #18
Jia_AustinAdd on 24 days ago
[WIP]Draft: feat(npu): provide shared slots and counted URMA runtime integration #18
Draft
Merge blocked
24 days ago Added label: ascend-cla/yes
ascend-robot
24 days ago Comments:
24 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.
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-Ascend/MoonEP | ❌ (0/2)(You can also ask: wangjiangben, 郑加利, u012145166111, lishaoxun, zhangyunqi) | ❌ (0/1)(You can also ask: wangjiangben, 郑加利, nino888, 郭鹏, lishaoxun) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
Jia_Austin, thanks for your pull request. All authors of the commits have signed the CLA. 👍


24 days ago Modify description of pull request
18 event messages are collapsed here。 See more
23 days ago Modify description of pull request
Current integration dependency notice: TENPU #367 is deprecated/superseded, retained only as historical source and receipts. No further TENPU product commits or TENPU PR submissions are part of the active plan. The selected unchanged TENPU source is
f3ce68ba3244720ead26a25d5b388c38293b730c; MindSpeed-local nodes live in MindSpeed #4142. The provider is unmodified MoonEP #1972b8e69a43cd13b3ddbea095620af35c77c6e4d1. This historical PR is not an additional runtime/merge dependency. Earlier notices below retain their historical1b scope. Native/device/training acceptance is incomplete.Current integration dependency: original PR19
The current MindSpeed #4142 integration uses unmodified MoonEP #19, fixed at
72b8e69a43cd13b3ddbea095620af35c77c6e4d1, againstdev_server_dedupbased8b9db58ca13e2e8545575034f8f57b956fee342. Prepared weight PUSH and prepared discrete FP32 gradient-target GR come from that provider. This PR18 candidate is retained as historical implementation and evidence; it is not loaded together with PR19. No new provider code or empty commit is added here, and this notice does not close or merge the PR.Native, communication and training acceptance for the new integration remain unverified. Earlier results retain their original source/binary scope.
在固定 official dev_npu 上提供共享 remote weight/grad slots 和 pointer-source URMA PUSH 接缝,使 canonical home 权重仍由原模型持有,避免完整 home/slot 镜像。
除移植 PR9 PUSH 外,本 PR 还补齐原 Buffer/ShmemRuntime 的预登记、one-shot 初始化审计、operation 容量与原流完成检查、Call/backing 保活及失败 poison。
reduce_projection_grads(local_dense=True, transport="urma")复用原 dev URMA GR 算法/native,将远端贡献归并到普通连续 FP32 local bank;不新增 reduce_grads_to_refs 或 GR 核心。canonical 最终累加、raw alias 版本和 DDP ready 归框架;provider 不注册 remote slots 为训练参数,不创建第二 planner/reducer。所有 peer 可达 backing 的释放保留原 final-use/finalize 合同。
本轮 source 仍为
0ada0e9c211f5969c1a61ec51de810453f3b1842,本地 clean,未制造空提交。65项匹配 host tests PASS;相对固定 dev6fcf256786b8e98ce0f4e9950169a2fcc84c3204全部增改含测试为2000行。native/设备/完整训练验收未闭合,保持 Draft。配套 MindSpeed #4142 已更新 ABI2 与104项 host验证;TENPU #367 提供既有 fuser 中的 grouped basic op。MS 的新同步计算 profile 不修改本 provider owner/原通信算法;其单卡数学探针不代表本 PR 的通信验证通过。