| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
docs(baseline): 对齐 baseline_collection_design 与 collect_baseline.py 实现 Co-authored-by: gxj1123<gao.xuejian1@huawei.com> # message auto-generated for no-merge-commit merge: !200 merge docs/align-baseline-collection-design into master docs(baseline): 对齐 baseline_collection_design 与 collect_baseline.py 实现 Created-by: gxj1123 Commit-by: gxj1123 Merged-by: cann-robot Description: ## 背景 docs/design/baseline_collection_design.md 把早期设计当成已实现事实,与 scripts/collect_baseline.py 现行实现有三处相反/不存在,会误导 baseline 维护者对“性能数据口径”和“采集后是否生效”的判断。本 PR 以实现为准订正(文档 + 脚本内嵌字符串)。 ## 改动 **1) Profiler 口径(相反)** - 实现:collect_baseline.py:676-678,768-784 强制 enable_acl_launch_mode=True + enable_msprof_export=True + perf_metric_strategy_override="msprof_summary"(即 ACL launch + msprof export + MsProfSummaryStrategy,base/perf_strategy.py:750)。 - 订正:文档“口径一致 / 关键差异 / perf_engine 替代”表述、数据流图、import 示例、迁移表、文件树注释中的 torch_npu.profiler + KernelDetailsStrategy → MsProfSummaryStrategy。(run_evaluation 行保留,因其确为 KernelDetails 口径。) **2) 默认输出位置(相反)** - 实现:collect_baseline.py:725-726,826-834 默认写 scripts/baseline/output/<hardware>.json,注释“不污染 tasks/metadata/”。 - 订正:文档由“默认即产出 BaselineStore 可直接加载的 metadata/<hardware>.json”改为“默认写隔离目录、需人工审核后合并到 <bench>/metadata/”。 **3) --patch-yaml(不存在且已作废)** - 实现:collect_baseline.py:708-746 无此参数、无回填逻辑;且与 baseline 外置门禁 tests/ut/test_cases_yaml_csv_consistency.py 冲突。 - 订正:标注为“未实现/已作废”,保留早期设想供历史参考。 **顶部新增“实现现状(权威)”说明**,并同步修正 collect_baseline.py 的 docstring 与输出 metadata 的 source 字段。 ## 验证 - python -m py_compile scripts/collect_baseline.py 通过(仅改 docstring 与字符串字面量,无逻辑改动)。 - MsProfSummaryStrategy 存在于 base/perf_strategy.py:750,import 示例现为有效。 - 残留的 KernelDetailsStrategy 仅出现在描述 run_evaluation(评测路径,确为该口径)与本 PR 的“并非…”对比句中。 Fixes #65 See merge request: cann/cann-bench!200 | 12 天前 | |
feat(auto-pipeline): integrate PyPTO orchestrator workflow Co-authored-by: xuzhenghao8<xuzhenghao8@huawei.com> Co-authored-by: 邹文祥<zouwenxiang1@huawei.com> # message auto-generated for no-merge-commit merge: !88 merge benchmark into master feat(auto-pipeline): integrate PyPTO orchestrator workflow Created-by: wen_xiang_zou_admin Commit-by: 邹文祥;xuzhenghao8 Merged-by: cann-robot Description: ## 变更说明 - 接入真实 PyPTO/OpenCode orchestrator agent,支持通过 agent.type=pypto 调用 pypto-op-orchestrator。 - 引入 benchmark adapter,将 Stanford/KernelBench 输入材料与 DSL agent 解耦,产物对齐继续由独立 convert 阶段处理。 - 集成 OpenCode sqlite session 导出,保留 root 与 subagent 完整日志树。 - 更新 PyPTO generator prompt:只描述任务输入材料,不再要求生成 Stanford submission 产物。 - 提交本次 ReLU 端到端运行结果:stanford_relu_pypto_agent_glm51_pref0_timeout3600_20260528_195141。 ## 验证 - python -m pytest tests/unit/test_benchmark_pipeline.py -q:25 passed - python -m compileall -q src/auto_pipeline - 远端 196 上运行 ReLU/PyPTO 完整 auto_pipeline:RUN_RC=0 - kernel_eval:1/1 passed,pass rate 100%,score 50.00,使用 npu:2 - OpenCode session export:exported,含 7 个 session/subagent node ## 关联 Issue 关联 issue: https://gitcode.com/cann/cann-bench/issues/7 See merge request: cann/cann-bench!88 | 1 个月前 | |
修复example文档问题&多卡并行数据采集问题 Co-authored-by: suyueming<suyueming@huawei.com> # message auto-generated for no-merge-commit merge: !195 merge master into master 修复example文档问题&多卡并行数据采集问题 Created-by: su-yueming Commit-by: suyueming Merged-by: cann-robot Description: ## 变更描述 / Description <!-- 本 PR 做了什么,为什么需要 / What does this PR do and why --> ## 改动类型 / Change Type - [x] Bug 修复 / Bug Fix - [ ] 新功能 / New Feature - [ ] 性能优化 / Performance - [ ] 代码重构 / Refactoring - [ ] 文档更新 / Documentation - [ ] 测试相关 / Test - [ ] 其它 / Other ## 关联 Issue / Related Issues [#55](https://gitcode.com/cann/cann-bench/issues/55) [#56](https://gitcode.com/cann/cann-bench/issues/56) [#46](https://gitcode.com/cann/cann-bench/issues/46) <!-- Closes #000 可自动关闭 / Closes #000 to auto-close --> - Closes # - References # ## 测试信息 / Testing <!-- 简要测试说明或关键结果 / Brief test description or key results --> - [ ] 单元测试通过 / UT passed - [ ] 集成测试通过 / ST passed - [ ] 人工验证通过 / Manual verified ## 检查清单 / Checklist - [ ] 代码符合规范 / Code follows style guide - [x] 测试添加并通过 / Tests added and passed - [ ] 文档已更新 / Docs updated if needed - [ ] 无硬编码敏感信息 / No secrets hardcoded - [ ] 提交信息符合规范 / Commit message follows convention See merge request: cann/cann-bench!195 | 11 天前 | |
修复example文档问题&多卡并行数据采集问题 Co-authored-by: suyueming<suyueming@huawei.com> # message auto-generated for no-merge-commit merge: !195 merge master into master 修复example文档问题&多卡并行数据采集问题 Created-by: su-yueming Commit-by: suyueming Merged-by: cann-robot Description: ## 变更描述 / Description <!-- 本 PR 做了什么,为什么需要 / What does this PR do and why --> ## 改动类型 / Change Type - [x] Bug 修复 / Bug Fix - [ ] 新功能 / New Feature - [ ] 性能优化 / Performance - [ ] 代码重构 / Refactoring - [ ] 文档更新 / Documentation - [ ] 测试相关 / Test - [ ] 其它 / Other ## 关联 Issue / Related Issues [#55](https://gitcode.com/cann/cann-bench/issues/55) [#56](https://gitcode.com/cann/cann-bench/issues/56) [#46](https://gitcode.com/cann/cann-bench/issues/46) <!-- Closes #000 可自动关闭 / Closes #000 to auto-close --> - Closes # - References # ## 测试信息 / Testing <!-- 简要测试说明或关键结果 / Brief test description or key results --> - [ ] 单元测试通过 / UT passed - [ ] 集成测试通过 / ST passed - [ ] 人工验证通过 / Manual verified ## 检查清单 / Checklist - [ ] 代码符合规范 / Code follows style guide - [x] 测试添加并通过 / Tests added and passed - [ ] 文档已更新 / Docs updated if needed - [ ] 无硬编码敏感信息 / No secrets hardcoded - [ ] 提交信息符合规范 / Commit message follows convention See merge request: cann/cann-bench!195 | 11 天前 | |
refactor: 迁移 StanfordBench 到 bench_lab/stanford_bench,移除 thirdparty 目录 Co-authored-by: Developer user<suyueming@huawei.com> # message auto-generated for no-merge-commit merge: !124 merge master into master refactor: 迁移 StanfordBench 到 bench_lab/stanford_bench,移除 thirdparty 目录 Created-by: su-yueming Commit-by: Developer user Merged-by: cann-robot Description: ## 变更描述 / Description 1. baseline 数据迁移 - 将 tasks/ 和 bench_lab/ 下所有 cases.yaml 中的 baseline_perf_us/t_hw_us 字段剥离,数据集中存储到各评测集 metadata/910b2.json - 删除 data/stanford_baseline.json,StanfordBench baseline 改由 bench_lab/stanford_bench/metadata/910b2.json 加载 - 新增 scripts/migrate_baseline_to_data.py 迁移工具脚本 2. src 代码变更 - __init__.py: 版本号改为动态读取(_version.py → VERSION 文件) - perf_strategy.py: KernelDetailsStrategy 以 kernel_details.csv 为唯一权威源, 不再 fallback 到 trace_view;TraceViewStrategy 标注待收编 - cann_loader.py: 集成 BaselineStore,baseline 优先从 JSON 查询 - stanford_loader.py: baseline 改由 BaselineStore 加载,移除 _load_baseline - report 模块: 微调 HTML/MD 报告和 setup_info 输出 3. 新增文件 - tasks/metadata/910b2.json + VERSION - bench_lab/*/metadata/910b2.json (cv_agent_bench, kernel_bench, pypto_cann_bench, stanford_bench) - pyproject.toml, VERSION (根目录), _version.py, test_version_consistency.py - docs/design/micro_benchmark_selection.md, module_panorama.md - docs/guide/version_policy.md 4. tests 更新 - test_benchmark_pipeline: 适配 baseline 迁移 - test_cases_yaml_csv_consistency: 新增 metadata JSON 与 cases.yaml 一致性校验 - test_version_consistency: 版本号一致性测试 1. 新增 PLATFORM_ALIAS 和 resolve_hardware() - 在 baseline_resolver.py 中添加产品型号→逻辑名映射表 - 支持精确匹配(Ascend910_9362 → 910b2)和前缀匹配(Ascend310P* → 310p) - 最长前缀优先,避免短 key 误匹配 - BaselineStore/BaselineResolver/__init__ 统一调用 resolve_hardware - has_baseline_for/resolve_baseline_us 内部自动解析硬件名 - 导出 resolve_hardware 和 PLATFORM_ALIAS 至 utils/__init__.py 2. 将 examples/eval_task → examples/tasks - 按 tasks/ 结构重构:add → level2/add, sqrt → level1/sqrt - 新增 metadata/910b2.json(fixture baseline,值均为 0.0 placeholder) - 新增 metadata/VERSION - 新增 cases.csv(与生产 tasks 格式一致) - 重写 README.md(目录结构、路径引用) - 更新 docs/guide/quick_start.md 和根 README.md 的路径引用 - 删除旧 examples/eval_task/ 目录 - 移动 scripts/download_benchmarks.sh → bench_lab/stanford_bench/download.sh, 下载目标从 thirdparty/KernelBench 改为 bench_lab/stanford_bench/KernelBench 将 direct_launch_example 从仅支持 910B 扩展为支持多种 SOC, 与 aclnn_launch_example 的多 SOC 能力对齐。 <!-- 本 PR 做了什么,为什么需要 / What does this PR do and why --> [#31](https://gitcode.com/cann/cann-bench/issues/31) ## 改动类型 / Change Type - [ ] Bug 修复 / Bug Fix - [ ] 新功能 / New Feature - [ ] 性能优化 / Performance - [x] 代码重构 / Refactoring - [ ] 文档更新 / Documentation - [ ] 测试相关 / Test - [ ] 其它 / Other ## 关联 Issue / Related Issues <!-- Closes #000 可自动关闭 / Closes #000 to auto-close --> - Closes # - References # ## 测试信息 / 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/cann-bench!124 | 1 个月前 | |
refactor: 迁移 StanfordBench 到 bench_lab/stanford_bench,移除 thirdparty 目录 Co-authored-by: Developer user<suyueming@huawei.com> # message auto-generated for no-merge-commit merge: !124 merge master into master refactor: 迁移 StanfordBench 到 bench_lab/stanford_bench,移除 thirdparty 目录 Created-by: su-yueming Commit-by: Developer user Merged-by: cann-robot Description: ## 变更描述 / Description 1. baseline 数据迁移 - 将 tasks/ 和 bench_lab/ 下所有 cases.yaml 中的 baseline_perf_us/t_hw_us 字段剥离,数据集中存储到各评测集 metadata/910b2.json - 删除 data/stanford_baseline.json,StanfordBench baseline 改由 bench_lab/stanford_bench/metadata/910b2.json 加载 - 新增 scripts/migrate_baseline_to_data.py 迁移工具脚本 2. src 代码变更 - __init__.py: 版本号改为动态读取(_version.py → VERSION 文件) - perf_strategy.py: KernelDetailsStrategy 以 kernel_details.csv 为唯一权威源, 不再 fallback 到 trace_view;TraceViewStrategy 标注待收编 - cann_loader.py: 集成 BaselineStore,baseline 优先从 JSON 查询 - stanford_loader.py: baseline 改由 BaselineStore 加载,移除 _load_baseline - report 模块: 微调 HTML/MD 报告和 setup_info 输出 3. 新增文件 - tasks/metadata/910b2.json + VERSION - bench_lab/*/metadata/910b2.json (cv_agent_bench, kernel_bench, pypto_cann_bench, stanford_bench) - pyproject.toml, VERSION (根目录), _version.py, test_version_consistency.py - docs/design/micro_benchmark_selection.md, module_panorama.md - docs/guide/version_policy.md 4. tests 更新 - test_benchmark_pipeline: 适配 baseline 迁移 - test_cases_yaml_csv_consistency: 新增 metadata JSON 与 cases.yaml 一致性校验 - test_version_consistency: 版本号一致性测试 1. 新增 PLATFORM_ALIAS 和 resolve_hardware() - 在 baseline_resolver.py 中添加产品型号→逻辑名映射表 - 支持精确匹配(Ascend910_9362 → 910b2)和前缀匹配(Ascend310P* → 310p) - 最长前缀优先,避免短 key 误匹配 - BaselineStore/BaselineResolver/__init__ 统一调用 resolve_hardware - has_baseline_for/resolve_baseline_us 内部自动解析硬件名 - 导出 resolve_hardware 和 PLATFORM_ALIAS 至 utils/__init__.py 2. 将 examples/eval_task → examples/tasks - 按 tasks/ 结构重构:add → level2/add, sqrt → level1/sqrt - 新增 metadata/910b2.json(fixture baseline,值均为 0.0 placeholder) - 新增 metadata/VERSION - 新增 cases.csv(与生产 tasks 格式一致) - 重写 README.md(目录结构、路径引用) - 更新 docs/guide/quick_start.md 和根 README.md 的路径引用 - 删除旧 examples/eval_task/ 目录 - 移动 scripts/download_benchmarks.sh → bench_lab/stanford_bench/download.sh, 下载目标从 thirdparty/KernelBench 改为 bench_lab/stanford_bench/KernelBench 将 direct_launch_example 从仅支持 910B 扩展为支持多种 SOC, 与 aclnn_launch_example 的多 SOC 能力对齐。 <!-- 本 PR 做了什么,为什么需要 / What does this PR do and why --> [#31](https://gitcode.com/cann/cann-bench/issues/31) ## 改动类型 / Change Type - [ ] Bug 修复 / Bug Fix - [ ] 新功能 / New Feature - [ ] 性能优化 / Performance - [x] 代码重构 / Refactoring - [ ] 文档更新 / Documentation - [ ] 测试相关 / Test - [ ] 其它 / Other ## 关联 Issue / Related Issues <!-- Closes #000 可自动关闭 / Closes #000 to auto-close --> - Closes # - References # ## 测试信息 / 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/cann-bench!124 | 1 个月前 | |
refactor: rename kernel_bench/ → tasks/; level1-4 yaml parsing fixes; baseline_perf_us fills; kernel_eval evolution; docs/scripts sync Co-authored-by: gxj1123<gao.xuejian1@huawei.com> # message auto-generated for no-merge-commit merge: !62 merge refactor/kernel-bench-to-tasks into master refactor: rename kernel_bench/ → tasks/; level1-4 yaml parsing fixes; baseline_perf_us fills; kernel_eval evolution; docs/scripts sync Created-by: gxj1123 Commit-by: gxj1123 Merged-by: cann-robot Description: **308 files, +2679 / -1562.** The big move is renaming ** kernel_bench/ → tasks/** to reflect that the tree holds evaluation tasks (operator tasks for now, with room for model tasks alongside later). git tracks the move as R100 renames for 204 unchanged files; the remaining 64 files inside the renamed tree pick up content updates as listed below. ### Highlights - **level1 YAML parsing** — bare .inf / .nan tokens, none / null strings, and scientific notation now parse correctly across exp / foreach_addcdiv_scalar / foreach_norm / gelu / masked_scale / mish / sigmoid / swi_glu. Older PyYAML versions silently treated some of these as strings, poisoning downstream dtype handling. - **level2** — extend the YAML-parsing fix to remaining cases; group_norm / maximum / gcd case_16 — proto/cases consistency + desc broadcast rules + input_fail repair. - **level3** — large content sweep: - moe_finalize_routing — baseline_perf_us applied, ref + shape/range fixes after the code-review pass - transpose — cases refreshed to Attention BSHD ↔ BHSD patterns; 20/20 baselines benched - depthwise_conv_2d — spec corrected to the depthwise academic definition (depthwise = conv2d with groups=Cin, weight [Cin,1,kH,kW]) - dequant_swiglu_quant / dynamic_quant / moe_gating_top_k_softmax / grid_sampler_3d — smaller golden/case adjustments - **level4** — attention bench tightening + grouped_matmul_swiglu_quant spec follow-ups. - **src/kernel_eval** — evolution pass: process_pool flow refinements, precision spec touch-ups, cli/config polish, accuracy_eval bug fixes. tests/unit grows with new pytest cases (test_path_resolver, test_summarize_results); run_simple.py refreshed. - **docs** — new design notes (kernel_eval_architecture, cases_yaml_spec); evaluator_design / multi_card_parallel_analysis / perf_collection refreshed; guide/contributing + quick_start reworded; README scoring formula wording. - **scripts** — run_test.sh / run_evaluation.sh / run_ut.sh + README brought in line with the multi-card pool flow and the renamed task tree. - **examples** — aclnn_launch_example + direct_launch_example content refreshed. - **.gitignore** — covers new artifact paths produced by the harness. ### Note on the rename The new tasks/ name keeps the same levelN/<op>/ layout under it, so any code or CI that references kernel_bench/... needs a path update. The evaluator CLI / configs in src/kernel_eval have been updated accordingly. See merge request: cann/cann-bench!62 | 2 个月前 | |
refactor: 整理 tests 目录结构 Co-authored-by: Developer user<suyueming@huawei.com> # message auto-generated for no-merge-commit merge: !117 merge master into master refactor: 整理 tests 目录结构 Created-by: su-yueming Commit-by: Developer user Merged-by: cann-robot Description: ## 变更描述 / Description [#10](https://gitcode.com/cann/cann-bench/issues/10) [#22](https://gitcode.com/cann/cann-bench/issues/22) <!-- 本 PR 做了什么,为什么需要 / What does this PR do and why --> ## 改动类型 / Change Type - [ ] Bug 修复 / Bug Fix - [ ] 新功能 / New Feature - [ ] 性能优化 / Performance - [x] 代码重构 / Refactoring - [x] 文档更新 / Documentation - [ ] 测试相关 / Test - [ ] 其它 / Other ## 关联 Issue / Related Issues <!-- Closes #000 可自动关闭 / Closes #000 to auto-close --> - Closes # - References # ## 测试信息 / 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/cann-bench!117 | 1 个月前 | |
docs: 清理文档索引与失效引用(docs/README 索引、precision.py stale、反作弊现状) Co-authored-by: gxj1123<gao.xuejian1@huawei.com> # message auto-generated for no-merge-commit merge: !199 merge docs/index-and-stale-refs into master docs: 清理文档索引与失效引用(docs/README 索引、precision.py stale、反作弊现状) Created-by: gxj1123 Commit-by: gxj1123 Merged-by: cann-robot Description: ## 背景 一组文档索引/失效引用的清理,纯文档改动。 ## 改动 **文档索引(#72)** - docs/README.md:修 spec/api_spec.md 死链(该文件不存在,proto schema 真身在 contributing.md §1,改为指向它);补入实际存在但未索引的文档——spec/cases_yaml_spec.md、7 篇 design/*(kernel_eval_architecture / module_panorama / precision_comparison_design / report_design / baseline_collection_design / multi_card_parallel_analysis / micro_benchmark_selection)、2 篇 guide/*(version_policy / custom_benchmark_integration)。 **设计文档失效引用(#75)** - precision_comparison_design.md:5 处 utils/precision.py 更正为 utils/compare.py + utils/thresholds.py(该文件早已拆分),float8_e4m3→float8_e4m3fn。 - dependency_refactor_plan.md:顶部加“归档/与最终实现差异”说明(core/ 包未落地、GoldenLoaderBase 在 base/loaders.py、benches/cann.py 已拆分等)。 **反作弊文档滞后(#76)** - scripts/anti_cheat/README.md:残留风险说明更新——C++ at::topk 等已由 dispatch 层守卫 DeviceResidencyGuard(TorchDispatchMode)覆盖(topk/sort/matmul/addmm 默认 block),仅 unique(AICPU)/ strided_slice(纯 view+DMA)为真实残留。 - submission_rules.md §2.2:补一句区分——transpose/permute/gather/scatter 等 I/O 搬运属**人工审查**判定,框架不自动拦截(避免误伤 Gather/Transpose 算子);matmul/conv/softmax 等计算类才由守卫自动 block。 ## 验证 - 索引所列文件均在 docs/ 树中存在(逐一比对)。 - precision.py 引用清零;stale 名替换对照 compare.py:22/thresholds.py:21 的拆分注释。 - 反作弊现状对照 torch_op_guard.py:159-160(ATEN_COMPUTE_LEAVES 含 topk/sort)与 test_dispatch_compute_guard.py。 Fixes #72 Fixes #75 Fixes #76 See merge request: cann/cann-bench!199 | 12 天前 | |
refactor: 整理 tests 目录结构 Co-authored-by: Developer user<suyueming@huawei.com> # message auto-generated for no-merge-commit merge: !117 merge master into master refactor: 整理 tests 目录结构 Created-by: su-yueming Commit-by: Developer user Merged-by: cann-robot Description: ## 变更描述 / Description [#10](https://gitcode.com/cann/cann-bench/issues/10) [#22](https://gitcode.com/cann/cann-bench/issues/22) <!-- 本 PR 做了什么,为什么需要 / What does this PR do and why --> ## 改动类型 / Change Type - [ ] Bug 修复 / Bug Fix - [ ] 新功能 / New Feature - [ ] 性能优化 / Performance - [x] 代码重构 / Refactoring - [x] 文档更新 / Documentation - [ ] 测试相关 / Test - [ ] 其它 / Other ## 关联 Issue / Related Issues <!-- Closes #000 可自动关闭 / Closes #000 to auto-close --> - Closes # - References # ## 测试信息 / 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/cann-bench!117 | 1 个月前 | |
feat(triton): 支持 Triton-Ascend submission Co-authored-by: yanyanyanyy<522025320034@smail.nju.edu.cn> # message auto-generated for no-merge-commit merge: !219 merge feat/triton-ascend-support into master feat(triton): 支持 Triton-Ascend submission Created-by: yanyanyanyy Commit-by: yanyanyanyy Merged-by: cann-robot Description: ## 变更说明 - 增加可选 Triton-Ascend 3.2.1 Docker flavor、可写 JIT cache,以及真实 NPU vector-add smoke。 - 沿用现有 cann_bench wheel/callable 协议;同版本 submission 强制重装,并清理 cann_bench 子模块缓存。 - 新增 Exp、Sigmoid、Mish、MaskedScale、SwiGLU 五个可提交 Triton-Ascend 算子示例。 - 增加离线 launch/接口测试、可选真实 NPU 测试、快速指南和完整集成文档。 ## 集成原则 - 不新增 TritonRunner;CANN Bench 仍调用普通 Python callable。 - submission wheel 使用 --no-deps 安装,Triton-Ascend runtime 由评测镜像提供。 - 首次 specialization 在 profiler 外 pre-flight JIT,性能窗口复用已编译 kernel。 - 本 PR 不包含 TileLang、profiler 诊断或其他工作区改动。 ## 验证 - [x] 示例 wheel 构建成功,归档包含 5 个算子和统一导出入口。 - [x] 全量 UT:1019 passed, 5 skipped。 - [x] 真实 Ascend 950PR NPU:10 passed(5 个结构/调用测试 + 5 个真实算子测试)。 - [x] PackageManager、matcher、OpRunner、PerfEvaluator 扩展回归:24 passed, 5 skipped。 - [x] bash/python 语法与 git diff --check 通过。 - [x] Docker image build 未在本机执行(当前主机没有 Docker CLI);CI/NPU builder 需运行 docker/test_env.py smoke。 ## 关联 Issue Closes #94 See merge request: cann/cann-bench!219 | 2 天前 | |
feat(triton): 支持 Triton-Ascend submission Co-authored-by: yanyanyanyy<522025320034@smail.nju.edu.cn> # message auto-generated for no-merge-commit merge: !219 merge feat/triton-ascend-support into master feat(triton): 支持 Triton-Ascend submission Created-by: yanyanyanyy Commit-by: yanyanyanyy Merged-by: cann-robot Description: ## 变更说明 - 增加可选 Triton-Ascend 3.2.1 Docker flavor、可写 JIT cache,以及真实 NPU vector-add smoke。 - 沿用现有 cann_bench wheel/callable 协议;同版本 submission 强制重装,并清理 cann_bench 子模块缓存。 - 新增 Exp、Sigmoid、Mish、MaskedScale、SwiGLU 五个可提交 Triton-Ascend 算子示例。 - 增加离线 launch/接口测试、可选真实 NPU 测试、快速指南和完整集成文档。 ## 集成原则 - 不新增 TritonRunner;CANN Bench 仍调用普通 Python callable。 - submission wheel 使用 --no-deps 安装,Triton-Ascend runtime 由评测镜像提供。 - 首次 specialization 在 profiler 外 pre-flight JIT,性能窗口复用已编译 kernel。 - 本 PR 不包含 TileLang、profiler 诊断或其他工作区改动。 ## 验证 - [x] 示例 wheel 构建成功,归档包含 5 个算子和统一导出入口。 - [x] 全量 UT:1019 passed, 5 skipped。 - [x] 真实 Ascend 950PR NPU:10 passed(5 个结构/调用测试 + 5 个真实算子测试)。 - [x] PackageManager、matcher、OpRunner、PerfEvaluator 扩展回归:24 passed, 5 skipped。 - [x] bash/python 语法与 git diff --check 通过。 - [x] Docker image build 未在本机执行(当前主机没有 Docker CLI);CI/NPU builder 需运行 docker/test_env.py smoke。 ## 关联 Issue Closes #94 See merge request: cann/cann-bench!219 | 2 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 12 天前 | ||
| 1 个月前 | ||
| 11 天前 | ||
| 11 天前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 2 个月前 | ||
| 1 个月前 | ||
| 12 天前 | ||
| 1 个月前 | ||
| 2 天前 | ||
| 2 天前 |