已合并
refactor: remove legacy custom ops feature #1389
hedongdong创建于 9月10日
refactor: remove legacy custom ops feature #1389
已合并
Pull Request已成功合入, 合并人@MindSpore-Bot
(感谢 hedongdong 的贡献)9月10日 创建了 pull request,commit 70e59625
9月10日 关联了issue:[RFC]: 删除platform
atomgit-bot
9月10日 评论:
9月10日 评论:
🤖 正在生成合并请求摘要,请稍候…


不准确?
atomgit-bot
9月10日 评论:
9月10日 评论:
🤖 AI 代码检视正在进行中,请稍候…


不准确?
9月10日 添加了label:mindspore-cla/yes
此处折叠了109条消息 查看更多
hyper_parallel/core/context_parallel/dsa_context_parallel.py
已过期
@@ -14,11 +14,9 @@
1414# ============================================================================
1515"""Context parallel style for DeepSeek Sparse Attention (DSA).
1616
17-These PyNative module-level styles are companions to the DSA distributed
不要叫Pynative ,叫eager


9月11日 通过审查
9月11日 通过审查
9月11日 合入了pull request,合并节点 SHA:d03f7630046914042ff4c349453fd46b40ead14f
Paired: GitHub #32 ↔ GitCode !1389
What type of PR is this?
/kind refactor
What does this PR do / why do we need it:
清理 HyperParallel 中已废弃的 legacy Custom Ops 特性:
hyper_parallel/custom_ops实验接口、MindSpore Custom Ops 实现及其编译入口。custom_ops接口、缓存以及 Torch 未实现占位接口。npu_mhc_pre_clamp_sinkhorn的实验接口、DFunction、分布式规则、C++ 前反向实现和测试;与其共用文件的npu_mhc_pre_sinkhorn支持一并下架。DFunction改为直接继承torch.autograd.Function,删除 MindSpore DFunction ST,不再通过 Platform 选择自动微分基类。DistributedOp继承关系。KDA/GDN 当前仍被生产代码引用,旧目录暂时保留;待负责迁移到
core/context_parallel的变更合入后再删除。Platform 其他能力由 ISSUE #377 的后续子任务继续清理。Which issue(s) this PR fixes:
Related to #377
Fixes mindspore/org-issues#43352
Test Plan and Test result:What scenarios were tested, and what were the verification results(Function, performance, reliability, etc.):
DistributedOp类型校验及包内合法加载。mhc_pre_clamp_sinkhorn残留。git diff --check通过。Self-checklist:(请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入)