| Files | Last commit | Last update |
|---|---|---|
chore: remove operators implementation Co-authored-by: wangliwei12<wangliwei12@huawei.com> # message auto-generated for no-merge-commit merge: !25 merge chore/remove-initial-vllm-operators into master chore: remove operators implementation Created-by: wangliwei12 Commit-by: wangliwei12 Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: [x] 否 [ ] 是 __1. AI Agent 平台: __2. AI 模型: __3. Prompt上下文 : ### PR功能描述 / 为什么需要这个合入**: <!-- 本 PR 做了什么,为什么需要 / What does this PR do and why --> ### 该PR关联的issue *(格式为fixes #<issue号>, 或者resolves #<issue号>)*: fixes # ### 希望检视人员了解: ## 改动类型 / Change Type - [ ] Bug 修复 / Bug Fix - [ ] 新功能 / New Feature - [ ] 性能优化 / Performance - [ ] 代码重构 / Refactoring - [ ] 文档更新 / Documentation - [ ] 测试相关 / Test - [ ] 其它 / Other ## 测试信息 / Testing <!-- 简要测试说明或关键结果 / Brief test description or key results --> - [ ] 单元测试通过 / UT passed - [ ] 集成测试通过 / ST passed - [ ] 人工验证通过 / Manual verified ## 检查清单 / Checklist - [ ] 代码符合规范 / Code follows style guide - [ ] 测试添加并通过 / Tests added and passed - [ ] 文档已更新 / Docs updated if needed - [ ] 无硬编码敏感信息 / No secrets hardcoded - [ ] 提交信息符合规范 / Commit message follows convention See merge request: cann/ops-tilelang!25 | 1 month ago | |
fix: reject non-finite engram gate eps and clamp values Co-authored-by: grandocean<173787247@qq.com> # message auto-generated for no-merge-commit merge: !30 merge fix/engram-gate-finite-check into master fix: reject non-finite engram gate eps and clamp values Created-by: grandocean Commit-by: grandocean Merged-by: cann-robot Description: ### AI 参与 - [x] 是:DeepSeek Harness(deepseek-flash) - Prompt 上下文:在无 NPU 环境中审查 CANN 仓库中的可复现问题,排除已有报告后提交独立修复。 ### 问题与修复 engram_gate.py::_check_real 只与零比较,NaN 与 ±Inf 因此通过校验,并经 float(...) 进入 get_engram_gate_fwd_kernel 的编译期特化参数(eps 在 vsqrt 前加到方差上,clamp_value 是 vsqrt 内的下界)。 补上 math.isfinite 判断,写法与仓内 5 个同类 helper(engram_sinkhorn.py 与 mhc/ 下四处) 一致 —— 是向同类对齐,不是引入新规则。 ### 验证 新增 tests/test_engram_gate.py。该测试只调用参数校验,不启动 kernel,因此不需要 NPU: 去掉修复跑测试 → 6 failed, 3 passed ← 测试确实抓得住这个 bug 带上修复跑测试 → 9 passed 本机环境:RTX 5080,无昇腾 NPU;PYTHONPATH 指向本仓 src/ 与主仓 tilelang。 覆盖范围:NaN / ±Inf 在 positive 为 True / False 时均拒绝;正常值仍接受; 原有的 > 0 与 >= 0 边界检查未被破坏;非实数仍抛 TypeError。 ### 说明 该仓的校验位于 require_ascend() 之后,所以在无 NPU 的机器上无法通过公共入口触发; 上述验证是直接调用该 helper 完成的,细节见 #5。 Closes #5 See merge request: cann/ops-tilelang!30 | 14 days ago | |
fix: remove hardcoded target=pto from mhc_sinkhorn_forward_kernel decorator Co-authored-by: gong-zhihao<gongzhihao1@hisilicon.com> # message auto-generated for no-merge-commit merge: !45 merge master into master fix: remove hardcoded target=pto from mhc_sinkhorn_forward_kernel decorator Created-by: gong-zhihao Commit-by: gong-zhihao Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: [x] 否 [ ] 是 __1. AI Agent 平台: __2. AI 模型: __3. Prompt上下文 : ### PR功能描述 / 为什么需要这个合入**: <!-- 本 PR 做了什么,为什么需要 / What does this PR do and why --> sinkhorn 中删除显示指定target为pto,有需要才指定为pto ### 该PR关联的issue fixes #1 ### 希望检视人员了解: ## 改动类型 / Change Type - [ ] Bug 修复 / Bug Fix - [ ] 新功能 / New Feature - [ ] 性能优化 / Performance - [ ] 代码重构 / Refactoring - [ ] 文档更新 / Documentation - [ ] 测试相关 / Test - [ ] 其它 / Other ## 测试信息 / Testing <!-- 简要测试说明或关键结果 / Brief test description or key results --> - [ ] 单元测试通过 / UT passed - [ ] 集成测试通过 / ST passed - [ ] 人工验证通过 / Manual verified ## 检查清单 / Checklist - [ ] 代码符合规范 / Code follows style guide - [ ] 测试添加并通过 / Tests added and passed - [ ] 文档已更新 / Docs updated if needed - [ ] 无硬编码敏感信息 / No secrets hardcoded - [ ] 提交信息符合规范 / Commit message follows convention See merge request: cann/ops-tilelang!45 | 17 days ago | |
[CI]version update Co-authored-by: oahisil<lisihao7@huawei.com> # message auto-generated for no-merge-commit merge: !13 merge zw_commit_0921 into master [CI]version update Created-by: gcw_61DquTPj Commit-by: oahisil Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: [x] 否 [ ] 是 __1. AI Agent 平台: __2. AI 模型: __3. Prompt上下文 : ### PR功能描述 / 为什么需要这个合入**: <!-- 本 PR 做了什么,为什么需要 / What does this PR do and why --> ### 该PR关联的issue *(格式为fixes #<issue号>, 或者resolves #<issue号>)*: fixes # ### 希望检视人员了解: ## 改动类型 / Change Type - [ ] Bug 修复 / Bug Fix - [ ] 新功能 / New Feature - [ ] 性能优化 / Performance - [ ] 代码重构 / Refactoring - [ ] 文档更新 / Documentation - [ ] 测试相关 / Test - [ ] 其它 / Other ## 测试信息 / Testing <!-- 简要测试说明或关键结果 / Brief test description or key results --> - [ ] 单元测试通过 / UT passed - [ ] 集成测试通过 / ST passed - [ ] 人工验证通过 / Manual verified ## 检查清单 / Checklist - [ ] 代码符合规范 / Code follows style guide - [ ] 测试添加并通过 / Tests added and passed - [ ] 文档已更新 / Docs updated if needed - [ ] 无硬编码敏感信息 / No secrets hardcoded - [ ] 提交信息符合规范 / Commit message follows convention See merge request: cann/ops-tilelang!13 | 1 month ago | |
fix(sampling): add ops Co-authored-by: wangliwei12<wangliwei12@huawei.com> # message auto-generated for no-merge-commit merge: !20 merge feat/vllm-operators into master fix(sampling): add ops Created-by: wangliwei12 Commit-by: wangliwei12 Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: [x] 否 [ ] 是 __1. AI Agent 平台: __2. AI 模型: __3. Prompt上下文 : ### PR功能描述 / 为什么需要这个合入**: <!-- 本 PR 做了什么,为什么需要 / What does this PR do and why --> ### 该PR关联的issue *(格式为fixes #<issue号>, 或者resolves #<issue号>)*: fixes # ### 希望检视人员了解: ## 改动类型 / Change Type - [ ] Bug 修复 / Bug Fix - [ ] 新功能 / New Feature - [ ] 性能优化 / Performance - [ ] 代码重构 / Refactoring - [ ] 文档更新 / Documentation - [ ] 测试相关 / Test - [ ] 其它 / Other ## 测试信息 / Testing <!-- 简要测试说明或关键结果 / Brief test description or key results --> - [ ] 单元测试通过 / UT passed - [ ] 集成测试通过 / ST passed - [ ] 人工验证通过 / Manual verified ## 检查清单 / Checklist - [ ] 代码符合规范 / Code follows style guide - [ ] 测试添加并通过 / Tests added and passed - [ ] 文档已更新 / Docs updated if needed - [ ] 无硬编码敏感信息 / No secrets hardcoded - [ ] 提交信息符合规范 / Commit message follows convention See merge request: cann/ops-tilelang!20 | 1 month ago | |
fix(sampling): add ops Co-authored-by: wangliwei12<wangliwei12@huawei.com> # message auto-generated for no-merge-commit merge: !20 merge feat/vllm-operators into master fix(sampling): add ops Created-by: wangliwei12 Commit-by: wangliwei12 Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: [x] 否 [ ] 是 __1. AI Agent 平台: __2. AI 模型: __3. Prompt上下文 : ### PR功能描述 / 为什么需要这个合入**: <!-- 本 PR 做了什么,为什么需要 / What does this PR do and why --> ### 该PR关联的issue *(格式为fixes #<issue号>, 或者resolves #<issue号>)*: fixes # ### 希望检视人员了解: ## 改动类型 / Change Type - [ ] Bug 修复 / Bug Fix - [ ] 新功能 / New Feature - [ ] 性能优化 / Performance - [ ] 代码重构 / Refactoring - [ ] 文档更新 / Documentation - [ ] 测试相关 / Test - [ ] 其它 / Other ## 测试信息 / Testing <!-- 简要测试说明或关键结果 / Brief test description or key results --> - [ ] 单元测试通过 / UT passed - [ ] 集成测试通过 / ST passed - [ ] 人工验证通过 / Manual verified ## 检查清单 / Checklist - [ ] 代码符合规范 / Code follows style guide - [ ] 测试添加并通过 / Tests added and passed - [ ] 文档已更新 / Docs updated if needed - [ ] 无硬编码敏感信息 / No secrets hardcoded - [ ] 提交信息符合规范 / Commit message follows convention See merge request: cann/ops-tilelang!20 | 1 month ago | |
feat(quant): support packed row-major sf stores Co-authored-by: wangliwei12<wangliwei12@huawei.com> # message auto-generated for no-merge-commit merge: !18 merge feat/quant-operators-update into master feat(quant): support packed row-major sf stores Created-by: wangliwei12 Commit-by: wangliwei12 Merged-by: cann-robot Description: 当前PR是否有AI参与: [x] 否 [ ] 是 __1. AI Agent 平台: __2. AI 模型: __3. Prompt上下文 : PR功能描述 / 为什么需要这个合入**: 该PR关联的issue (格式为fixes #<issue号>, 或者resolves #<issue号>): fixes # 希望检视人员了解: 改动类型 / Change Type Bug 修复 / Bug Fix [ ✅] 新功能 / New Feature 性能优化 / Performance 代码重构 / Refactoring 文档更新 / Documentation 测试相关 / Test 其它 / Other 测试信息 / Testing [ ✅] 单元测试通过 / UT passed [ ✅] 集成测试通过 / ST passed [ ]✅ 人工验证通过 / Manual verified 检查清单 / Checklist [ ✅] 代码符合规范 / Code follows style guide [ ✅] 测试添加并通过 / Tests added and passed [ ✅] 文档已更新 / Docs updated if needed [ ✅] 无硬编码敏感信息 / No secrets hardcoded [ ✅] 提交信息符合规范 / Commit message follows convention See merge request: cann/ops-tilelang!18 | 1 month ago | |
chore: remove operators implementation Co-authored-by: wangliwei12<wangliwei12@huawei.com> # message auto-generated for no-merge-commit merge: !25 merge chore/remove-initial-vllm-operators into master chore: remove operators implementation Created-by: wangliwei12 Commit-by: wangliwei12 Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: [x] 否 [ ] 是 __1. AI Agent 平台: __2. AI 模型: __3. Prompt上下文 : ### PR功能描述 / 为什么需要这个合入**: <!-- 本 PR 做了什么,为什么需要 / What does this PR do and why --> ### 该PR关联的issue *(格式为fixes #<issue号>, 或者resolves #<issue号>)*: fixes # ### 希望检视人员了解: ## 改动类型 / Change Type - [ ] Bug 修复 / Bug Fix - [ ] 新功能 / New Feature - [ ] 性能优化 / Performance - [ ] 代码重构 / Refactoring - [ ] 文档更新 / Documentation - [ ] 测试相关 / Test - [ ] 其它 / Other ## 测试信息 / Testing <!-- 简要测试说明或关键结果 / Brief test description or key results --> - [ ] 单元测试通过 / UT passed - [ ] 集成测试通过 / ST passed - [ ] 人工验证通过 / Manual verified ## 检查清单 / Checklist - [ ] 代码符合规范 / Code follows style guide - [ ] 测试添加并通过 / Tests added and passed - [ ] 文档已更新 / Docs updated if needed - [ ] 无硬编码敏感信息 / No secrets hardcoded - [ ] 提交信息符合规范 / Commit message follows convention See merge request: cann/ops-tilelang!25 | 1 month ago | |
fix(sampling): add ops Co-authored-by: wangliwei12<wangliwei12@huawei.com> # message auto-generated for no-merge-commit merge: !20 merge feat/vllm-operators into master fix(sampling): add ops Created-by: wangliwei12 Commit-by: wangliwei12 Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: [x] 否 [ ] 是 __1. AI Agent 平台: __2. AI 模型: __3. Prompt上下文 : ### PR功能描述 / 为什么需要这个合入**: <!-- 本 PR 做了什么,为什么需要 / What does this PR do and why --> ### 该PR关联的issue *(格式为fixes #<issue号>, 或者resolves #<issue号>)*: fixes # ### 希望检视人员了解: ## 改动类型 / Change Type - [ ] Bug 修复 / Bug Fix - [ ] 新功能 / New Feature - [ ] 性能优化 / Performance - [ ] 代码重构 / Refactoring - [ ] 文档更新 / Documentation - [ ] 测试相关 / Test - [ ] 其它 / Other ## 测试信息 / Testing <!-- 简要测试说明或关键结果 / Brief test description or key results --> - [ ] 单元测试通过 / UT passed - [ ] 集成测试通过 / ST passed - [ ] 人工验证通过 / Manual verified ## 检查清单 / Checklist - [ ] 代码符合规范 / Code follows style guide - [ ] 测试添加并通过 / Tests added and passed - [ ] 文档已更新 / Docs updated if needed - [ ] 无硬编码敏感信息 / No secrets hardcoded - [ ] 提交信息符合规范 / Commit message follows convention See merge request: cann/ops-tilelang!20 | 1 month ago | |
chore: remove operators implementation Co-authored-by: wangliwei12<wangliwei12@huawei.com> # message auto-generated for no-merge-commit merge: !25 merge chore/remove-initial-vllm-operators into master chore: remove operators implementation Created-by: wangliwei12 Commit-by: wangliwei12 Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: [x] 否 [ ] 是 __1. AI Agent 平台: __2. AI 模型: __3. Prompt上下文 : ### PR功能描述 / 为什么需要这个合入**: <!-- 本 PR 做了什么,为什么需要 / What does this PR do and why --> ### 该PR关联的issue *(格式为fixes #<issue号>, 或者resolves #<issue号>)*: fixes # ### 希望检视人员了解: ## 改动类型 / Change Type - [ ] Bug 修复 / Bug Fix - [ ] 新功能 / New Feature - [ ] 性能优化 / Performance - [ ] 代码重构 / Refactoring - [ ] 文档更新 / Documentation - [ ] 测试相关 / Test - [ ] 其它 / Other ## 测试信息 / Testing <!-- 简要测试说明或关键结果 / Brief test description or key results --> - [ ] 单元测试通过 / UT passed - [ ] 集成测试通过 / ST passed - [ ] 人工验证通过 / Manual verified ## 检查清单 / Checklist - [ ] 代码符合规范 / Code follows style guide - [ ] 测试添加并通过 / Tests added and passed - [ ] 文档已更新 / Docs updated if needed - [ ] 无硬编码敏感信息 / No secrets hardcoded - [ ] 提交信息符合规范 / Commit message follows convention See merge request: cann/ops-tilelang!25 | 1 month ago | |
fix: reject non-finite quantization clamp values Co-authored-by: Ethan_Zou<tianjun.zou@foxmail.com> # message auto-generated for no-merge-commit merge: !28 merge docs/tilelang-finite-quant-clamp-20261002 into master fix: reject non-finite quantization clamp values Created-by: Ethan_Zou Commit-by: Ethan_Zou Merged-by: cann-robot Description: ## 版权维护与当前验证 个人版权已按仓库规定的组织署名修正,参考 LICENSE;保留原年份和许可证正文。代码AST与版权行以外的字节不变。当前源提交 c46874ad413484e3b03556ee13bee21a4c7e9070 保留单提交,本地原有 17 个 Host 回归用例通过;当前源 SHA c46874ad413484e3b03556ee13bee21a4c7e9070 的[流水线](https://gitcode.com/cann/ops-tilelang/actions/runs/93de23f225b14ca4b5be2b1111983956)已完成,15个任务 COMPLETED。未执行NPU测试。以下保留原功能问题及复现说明。 ### AI 参与 - [x] 是:OpenAI Codex(GPT-6 系列) Prompt上下文:在无NPU环境审查CANN仓库中的可复现问题,排除已有报告,提交独立修复。 ### 问题与修复 set_amax_clamp_for_quant只检查value <= 0。NaN与正无穷大均通过此判断,并被get_amax_clamp_for_quant原样返回。该值用于量化参考计算的torch.clamp下界以及quant/common.py的调度配置;非法值在Host配置入口处没有被拒绝,污染后续计算的全局最小幅值配置。 同时要求数值有限且为正;拒绝非法输入时保留已有配置。添加两个量化格式的非法值、合法正数和不支持格式的Host参数化回归。 ### 关联 Issue Fixes #3 ### 改动类型 - [x] Bug 修复 - [x] 测试相关 ### 验证 使用实际config.py和新增17项pytest,隔离包初始化,torch仅提供不调用设备的空导入stub;无NPU操作。原版的NaN与+Inf四项会因未抛异常失败,修复后17项通过;负无穷、零、负数仍拒绝,合法正数与格式校验正常。此验证不代表量化设备精度或完整算子套件通过。 仓库适用 pre-commit hooks 与 diff --check 通过。 仓库适用 pre-commit hooks 与 diff --check 通过。 没有NPU、msprof或TileLang运行环境,未声明完整算子测试或硬件精度验证通过。 基于 874d6410590472febdfe1b4ca262cb17a74974d5,PR仅一个提交;提交后评论 /compile。 See merge request: cann/ops-tilelang!28 | 1 month ago | |
feat(quant): migrate quant operators Co-authored-by: wangliwei12<wangliwei12@huawei.com> # message auto-generated for no-merge-commit merge: !16 merge feat/quant-operators into master feat(quant): migrate quant operators Created-by: wangliwei12 Commit-by: wangliwei12 Merged-by: cann-robot Description: 当前PR是否有AI参与: [x] 否 [ ] 是 __1. AI Agent 平台: __2. AI 模型: __3. Prompt上下文 : PR功能描述 / 为什么需要这个合入**: 该PR关联的issue (格式为fixes #<issue号>, 或者resolves #<issue号>): fixes # 希望检视人员了解: 改动类型 / Change Type Bug 修复 / Bug Fix [ ✅] 新功能 / New Feature 性能优化 / Performance 代码重构 / Refactoring 文档更新 / Documentation 测试相关 / Test 其它 / Other 测试信息 / Testing [ ✅] 单元测试通过 / UT passed [ ✅] 集成测试通过 / ST passed [ ]✅ 人工验证通过 / Manual verified 检查清单 / Checklist [ ✅] 代码符合规范 / Code follows style guide [ ✅] 测试添加并通过 / Tests added and passed [ ✅] 文档已更新 / Docs updated if needed [ ✅] 无硬编码敏感信息 / No secrets hardcoded [ ✅] 提交信息符合规范 / Commit message follows convention See merge request: cann/ops-tilelang!16 | 1 month ago |
| Files | Last commit | Last update |
|---|---|---|
| 1 month ago | ||
| 14 days ago | ||
| 17 days ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 1 month ago |