Draft
[WIP]Draft: feat(ops): add runtime-bound grouped linear for MoonEP integration #367
Jia_AustinAdd on 24 days ago
[WIP]Draft: feat(ops): add runtime-bound grouped linear for MoonEP integration #367
Draft
Merge blocked
24 days ago Created pull request, commit a56879aa
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/TransformerEngineNPU | ❌ (0/2)(You can also ask: 王智伟, wuweiqiang24, liz_, dao_qian, clc2025) | ❌ (0/1)(You can also ask: 郑加利, 郭鹏, 王智伟, 王铭震, wuweiqiang24) |
💡 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
23 days ago Pre merge succeeded (commit_id: af78f17e41c90e34377719f96ee552bb6a9fbc60)
23 days ago Pushed 1 commits:b1132e5b-fix(ops): retain runtime failure resources through provider
23 days ago Pushed 1 commits:b1132e5b-fix(ops): retain runtime failure resources through provider
23 days ago Pre merge succeeded (commit_id: efd1affe0eee3d8503a56d3f57c7d2263422d53d)
23 days ago Removed label: ascend-cla/yes
23 days ago Added label: stat/needs-squash
23 days ago Added label: ascend-cla/yes
ascend-robot
23 days ago Comments:
23 days ago Comments:
ascend docs pipeline is running...


23 days ago Added label: docs-ci-pipeline-running
ascend-robot
23 days ago Comments:
23 days ago Comments:
✅ 跳过 docs ci 检查,没有需要检查的文档文件


23 days ago Removed label: docs-ci-pipeline-running
23 days ago Added label: docs-ci-pipeline-success
23 days ago Modify description of pull request
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: unchanged original TENPU
MindSpeed #4142 now follows the TENPU-zero-modification design: custom grouped-linear and FP32-probability BasicOperation nodes, runtime specs, failure seams and dedicated tests belong to MindSpeed. It reuses the original TENPU Sequential / OperationFuser / OperationContext at fixed source
1b250300ee8ec1028738823ab2f80c87bde15b82, without injecting TENPU.ops exports or replacing the original fuser.This PR367 and candidate
b1132e5b17879be83e9259980b822f99d704c2c0remain preserved historical node donors; a clean checkout of that modified candidate is not TENPU zero modification. The current dependency does not require merging this PR. No further TENPU product changes or empty commits are added here, and this notice does not close or merge the PR.The external-node design has passed source review; migration host and actual installed/native/communication/training evidence must be reported separately. Prior receipts do not automatically qualify the new source tuple.
在既有 TENPU BasicOperation/Sequential/Autograd 中增加 runtime GroupedLinear 节点,复用原 fuser,避免由 MindSpeed 长期另写完整专家 backward。
RuntimeLinearSpec 借用 home/slot refs、设备 counts/prefix、caller-owned 输出和已有 owner;forward/dgrad 调一次标准 grouped GMM,wgrad 独立产生 FP32 full-G 后显式发布。保留原 X/R1 获取接缝和 FC2 wgrad-store 协议,不在 TENPU 导入 MoonEP 或新增资源 manager。
ScaledSwiGLU 的 runtime profile 保留 FP32 概率缩放及 dP product/ReduceSum 合同,BF16 upstream 数学独立;新增的是数学节点/窄接线,不重建 op-fuser/GroupedTensor 框架,不新增 GEMM/GR kernel。
本轮 source 仍为
556c240c4f4c5c4e8870a273bf180055e09ca1a0,本地 clean,无新增空提交;12项匹配 host tests PASS。基于固定1b250300ee8ec1028738823ab2f80c87bde15b82,目标 main 的后续变化不是本轮已验证基线。真实安装、非零数学及跨仓训练仍需匹配产物验证,保持 Draft。配套:MindSpeed #4142 已更新 ABI2和104项 host测试;MoonEP #18 保留唯一共享资源 owner 与原 URMA 通信。生产功能默认关闭;单卡探针不是完整 S1/S2、DDP 或训练 PASS。