Repository navigation
chore: ops/ 全库审计整改——13 算子补包化入口 + 多平台文档 + 交付自查清单 - #16
Merged
Merged
Conversation
审计发现并修复: ①13 个社区算子缺 __init__.py(多算子同进程冲突 风险, #14 范式补齐); ②embedding(三平台)/sdpa_math(双平台) 缺 PLATFORM.md/MERGE.md; ③test_packaging 扩全算子导入扫描(16 目录); ④模板+ops README 加交付自查清单(后续作者合并前照单自查)。 # wt <wangt635@ustc.edu.cn>
This was referenced Oct 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
对 ops/ 全库 16 算子做一致性审计(约定来源:templates/operator + #14/#15 范式),修复全部缺口,并把提示沉淀进模板与库 README,方便后续算子作者维护时注意。
审计发现 → 修复
__init__.py缺失验证
ops/test_packaging.pyP=0:16 目录全导入 + sdpa/embedding 双注册同进程 + 双算子消费数值正确 + 旧用法兼容__init__.py仅惰性导出)给后续算子作者的三句话
__init__.py(照抄任一现有算子,改导出名),合并前跑python3 ops/test_packaging.py🤖 Generated with Claude Code