Skip to content

511 br_430 合并main - #191

Open
chopper0126 wants to merge 9 commits into
Just-it:mainfrom
chopper0126:br_ascend_optimization
Open

511 br_430 合并main#191
chopper0126 wants to merge 9 commits into
Just-it:mainfrom
chopper0126:br_ascend_optimization

Conversation

@chopper0126

Copy link
Copy Markdown
Collaborator

变更说明

511 br_430 合并main

变更类型

  • 新增算子 / Skill
  • 性能优化
  • Bug 修复
  • Benchmark(新增 case / 修改评测逻辑)
  • Agent / 框架改动
  • 文档 / 基础设施

影响范围

  • Triton 侧
  • AscendC 侧
  • 共享(router / benchmark-scheduler)

性能数据(涉及算子生成/优化时必填)

Benchmark 评测(与 BASELINE.md 对比)

指标 BASELINE 本次评测
编译通过数
精度通过数
平均 Speedup

测试环境

  • 设备型号:
  • CANN 版本:
  • PyTorch 版本:

冒烟测试(涉及算子生成/框架改动时必填)

  • Triton 通路:✅ / ❌(失败原因:)
  • AscendC 通路:✅ / ❌(失败原因:)

验证清单

  • 双通路冒烟测试通过
  • 通过率不退化(编译、精度均 >= BASELINE)
  • 平均 Speedup 不退化(>= BASELINE × 0.95)
  • 性能优化类:已跑全量评测、逐任务无退化、至少 1 个提升 >= 5%

退化说明(如有通过率下跌)

Just-it and others added 9 commits April 27, 2026 12:46
添加对getattr(obj, "attr_name")调用的解析,防止通过动态属性访问绕过Triton kernel验证。重构违规检测逻辑到单独函数,提高代码可维护性。
fix(kernel-verifier): 检测通过getattr绕过验证的PyTorch计算操作
- 修正模运算替代公式中的除法运算符错误(`/` -> `//`)
- 修正指针相加错误,使用已加载的标量值
- 更新 autotune 示例,将二维 grid 映射为一维以符合规范
- 将 GPU 术语(如 `warp divergence`, `shared memory`)替换为 NPU 对应术语(`SIMD 分支分化`, `UB`)
- 修复文档中的编号重复、变量名不匹配及冗余代码问题
docs(triton/latency-optimizer): 修复文档中的代码错误与术语不一致问题
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants