511 br_430 合并main - #191
Open
chopper0126 wants to merge 9 commits into
Open
Conversation
添加对getattr(obj, "attr_name")调用的解析,防止通过动态属性访问绕过Triton kernel验证。重构违规检测逻辑到单独函数,提高代码可维护性。
fix(kernel-verifier): 检测通过getattr绕过验证的PyTorch计算操作
[Agent]新增hook机制
- 修正模运算替代公式中的除法运算符错误(`/` -> `//`) - 修正指针相加错误,使用已加载的标量值 - 更新 autotune 示例,将二维 grid 映射为一维以符合规范 - 将 GPU 术语(如 `warp divergence`, `shared memory`)替换为 NPU 对应术语(`SIMD 分支分化`, `UB`) - 修复文档中的编号重复、变量名不匹配及冗余代码问题
docs(triton/latency-optimizer): 修复文档中的代码错误与术语不一致问题
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.
变更说明
511 br_430 合并main
变更类型
影响范围
性能数据(涉及算子生成/优化时必填)
Benchmark 评测(与 BASELINE.md 对比)
测试环境
冒烟测试(涉及算子生成/框架改动时必填)
验证清单
退化说明(如有通过率下跌)