| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
用例类重命名、测试文件统一、PluginScanner类型修复 Co-authored-by: dengguojie<dengguojie@huawei.com> # message auto-generated for no-merge-commit merge: !2 merge master into master 用例类重命名、测试文件统一、PluginScanner类型修复 Created-by: dengguojie Commit-by: dengguojie Merged-by: cann-robot Description: ## 描述 1. 用例类重命名: UniversalTestcaseStructure→TestcaseOp, ApiTestcaseStructure→TestcaseAclnn 2. 测试文件统一到根tests/目录,移除冗余sys.path.insert 3. pyproject.toml URL修正(gitee→gitcode),testpaths简化 4. PluginScanner.__init__防御性归一化scan_dir参数,兼容str/Path/tuple 5. bridge.py binary参数else→elif修复string类型处理 6. platform.py删除未使用的platform2arch_dict、NO_BF16_PLATFORM ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-test-kit!2 | 3 个月前 | |
feat: support geir test Co-authored-by: wangrui<wangrui124@huawei.com> # message auto-generated for no-merge-commit merge: !35 merge br_geir into master feat: support geir test Created-by: wangrui_ Commit-by: wangrui Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 1. 支持geir模式测试 2. geir支持在线编译和二进制复用 3. geir支持可选输入 4. geir支持自定义算子包 5. geir支持profiling性能采集 6. geir支持三方比对 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> https://gitcode.com/cann/ops-test-kit/issues/42 ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-test-kit!35 | 22 天前 | |
feat: support geir test Co-authored-by: wangrui<wangrui124@huawei.com> # message auto-generated for no-merge-commit merge: !35 merge br_geir into master feat: support geir test Created-by: wangrui_ Commit-by: wangrui Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 1. 支持geir模式测试 2. geir支持在线编译和二进制复用 3. geir支持可选输入 4. geir支持自定义算子包 5. geir支持profiling性能采集 6. geir支持三方比对 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> https://gitcode.com/cann/ops-test-kit/issues/42 ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-test-kit!35 | 22 天前 | |
feat: add tensorflow e2e Co-authored-by: wangrui<wangrui124@huawei.com> # message auto-generated for no-merge-commit merge: !90 merge br_aclnn into master feat: add tensorflow e2e Created-by: wangrui_ Commit-by: wangrui Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: [ ] 否 [x] 是 __1. AI Agent 平台: opencode __2. AI 模型: glm __3. Prompt上下文 : e2e模式支持tensorflow框架 ### PR功能描述 / 为什么需要这个合入**: 1. 支持e2e 模式tensorflow框架 2. 支持e2e模式保留msprof数据 ### 该PR关联的issue *(格式为fixes #<issue号>, 或者resolves #<issue号>)*: fixes # https://gitcode.com/cann/ops-test-kit/issues/99 ### 希望检视人员了解: ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-test-kit!90 | 5 天前 | |
feat: support attributes1~attributes9 extension columns, merged into attributes with last-wins override semantics Co-authored-by: chenqianyu<chenqianyu1@h-partners.com> # message auto-generated for no-merge-commit merge: !89 merge feat4 into master feat: support attributes1~attributes9 extension columns, merged into attributes with last-wins override semantics Created-by: FishPotatoChen Commit-by: chenqianyu Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: [x] 否 [ ] 是 __1. AI Agent 平台: __2. AI 模型: __3. Prompt上下文 : ### PR功能描述 / 为什么需要这个合入**: 当前 CSV 用例中的 attributes 列仅支持一个字段承载所有算子属性。当算子属性较多(如几十个 key)时,将所有属性挤在一个单元格中可读性差、编辑困难,且 CSV 单列承载大量 JSON 容易出错。 本 PR 新增 attributes1 ~ attributes9 共 9 个扩展列,允许将算子属性拆分到多个列中写入。在用例 validate() 阶段,扩展列按 attributes(即attributes0) -> attributes1 -> ... -> attributes9 的顺序依次 merge 到 attributes 中,发生 key 冲突时后续列覆盖前列(last-wins 语义)。若用例为无效行则跳过合并。 **改动范围**: - testcase_base.py:TestcaseBase.validate() 中插入 _merge_extended_attributes() 调用,实现合并逻辑 - testcase_op.py / testcase_aclnn.py / testcase_e2e.py:三种测试模式的 Testcase 类均声明 attributes1~attributes9 字段(complete_headers、__slots__/__init__、类型头定义),新增字段均为可选的 dict 类型,默认值 {} - 向后兼容:不填扩展列时行为完全不变 ### 该PR关联的issue https://gitcode.com/cann/ops-test-kit/issues/73 ### 希望检视人员了解: - 扩展列合并遵循 **last-wins 覆盖语义**,无冲突报错。如果用户需要严格校验重复 key,可在后续迭代中增加告警机制。 - _merge_extended_attributes() 仅在 cases.is_valid=True 时执行,无效行保持原始 attributes 不变。 - 扩展列的属性继承自 base_attr(testcase_aclnn.py 和 testcase_e2e.py 通过 TensorApiTestcaseBase 继承),因此 base_attr 中设置的属性也会被扩展列覆盖。 ## 测试 <!--描述进行了哪些测试来验证你的改动。--> - 新增 tests/test_extended_attributes.py,对 Kernel / ACLNN / E2E 三种模式的 Testcase 类进行参数化测试,覆盖以下场景: - attributes + attributes1 ~ attributes9 列在 complete_headers 中声明(test_headers_declared) - 基本合并:attributes1 追加到 attributes(test_merge_basic) - 覆盖基础属性:扩展列覆盖 attributes 中的同名 key(test_merge_override_with_base) - 扩展列间覆盖:attributes2 覆盖 attributes1 中的 key(test_override_across_extended_columns) - 跨列链式覆盖:attributes9 覆盖 attributes5 覆盖 attributes1(test_override_chain_last_wins) - 多列无冲突合并(test_multi_column_merge) - 无扩展列时保持原始 attributes 不变(test_no_extension_leaves_attributes) - attributes 为 None 时,扩展列直接成为 attributes(test_merge_when_attributes_none) - 无效行跳过合并(test_skip_when_invalid) - validate() 自动调用合并逻辑(test_validate_invokes_merge) ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> 无 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-test-kit!89 | 2 天前 | |
feat: support attributes1~attributes9 extension columns, merged into attributes with last-wins override semantics Co-authored-by: chenqianyu<chenqianyu1@h-partners.com> # message auto-generated for no-merge-commit merge: !89 merge feat4 into master feat: support attributes1~attributes9 extension columns, merged into attributes with last-wins override semantics Created-by: FishPotatoChen Commit-by: chenqianyu Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: [x] 否 [ ] 是 __1. AI Agent 平台: __2. AI 模型: __3. Prompt上下文 : ### PR功能描述 / 为什么需要这个合入**: 当前 CSV 用例中的 attributes 列仅支持一个字段承载所有算子属性。当算子属性较多(如几十个 key)时,将所有属性挤在一个单元格中可读性差、编辑困难,且 CSV 单列承载大量 JSON 容易出错。 本 PR 新增 attributes1 ~ attributes9 共 9 个扩展列,允许将算子属性拆分到多个列中写入。在用例 validate() 阶段,扩展列按 attributes(即attributes0) -> attributes1 -> ... -> attributes9 的顺序依次 merge 到 attributes 中,发生 key 冲突时后续列覆盖前列(last-wins 语义)。若用例为无效行则跳过合并。 **改动范围**: - testcase_base.py:TestcaseBase.validate() 中插入 _merge_extended_attributes() 调用,实现合并逻辑 - testcase_op.py / testcase_aclnn.py / testcase_e2e.py:三种测试模式的 Testcase 类均声明 attributes1~attributes9 字段(complete_headers、__slots__/__init__、类型头定义),新增字段均为可选的 dict 类型,默认值 {} - 向后兼容:不填扩展列时行为完全不变 ### 该PR关联的issue https://gitcode.com/cann/ops-test-kit/issues/73 ### 希望检视人员了解: - 扩展列合并遵循 **last-wins 覆盖语义**,无冲突报错。如果用户需要严格校验重复 key,可在后续迭代中增加告警机制。 - _merge_extended_attributes() 仅在 cases.is_valid=True 时执行,无效行保持原始 attributes 不变。 - 扩展列的属性继承自 base_attr(testcase_aclnn.py 和 testcase_e2e.py 通过 TensorApiTestcaseBase 继承),因此 base_attr 中设置的属性也会被扩展列覆盖。 ## 测试 <!--描述进行了哪些测试来验证你的改动。--> - 新增 tests/test_extended_attributes.py,对 Kernel / ACLNN / E2E 三种模式的 Testcase 类进行参数化测试,覆盖以下场景: - attributes + attributes1 ~ attributes9 列在 complete_headers 中声明(test_headers_declared) - 基本合并:attributes1 追加到 attributes(test_merge_basic) - 覆盖基础属性:扩展列覆盖 attributes 中的同名 key(test_merge_override_with_base) - 扩展列间覆盖:attributes2 覆盖 attributes1 中的 key(test_override_across_extended_columns) - 跨列链式覆盖:attributes9 覆盖 attributes5 覆盖 attributes1(test_override_chain_last_wins) - 多列无冲突合并(test_multi_column_merge) - 无扩展列时保持原始 attributes 不变(test_no_extension_leaves_attributes) - attributes 为 None 时,扩展列直接成为 attributes(test_merge_when_attributes_none) - 无效行跳过合并(test_skip_when_invalid) - validate() 自动调用合并逻辑(test_validate_invokes_merge) ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> 无 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-test-kit!89 | 2 天前 | |
feat: support attributes1~attributes9 extension columns, merged into attributes with last-wins override semantics Co-authored-by: chenqianyu<chenqianyu1@h-partners.com> # message auto-generated for no-merge-commit merge: !89 merge feat4 into master feat: support attributes1~attributes9 extension columns, merged into attributes with last-wins override semantics Created-by: FishPotatoChen Commit-by: chenqianyu Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: [x] 否 [ ] 是 __1. AI Agent 平台: __2. AI 模型: __3. Prompt上下文 : ### PR功能描述 / 为什么需要这个合入**: 当前 CSV 用例中的 attributes 列仅支持一个字段承载所有算子属性。当算子属性较多(如几十个 key)时,将所有属性挤在一个单元格中可读性差、编辑困难,且 CSV 单列承载大量 JSON 容易出错。 本 PR 新增 attributes1 ~ attributes9 共 9 个扩展列,允许将算子属性拆分到多个列中写入。在用例 validate() 阶段,扩展列按 attributes(即attributes0) -> attributes1 -> ... -> attributes9 的顺序依次 merge 到 attributes 中,发生 key 冲突时后续列覆盖前列(last-wins 语义)。若用例为无效行则跳过合并。 **改动范围**: - testcase_base.py:TestcaseBase.validate() 中插入 _merge_extended_attributes() 调用,实现合并逻辑 - testcase_op.py / testcase_aclnn.py / testcase_e2e.py:三种测试模式的 Testcase 类均声明 attributes1~attributes9 字段(complete_headers、__slots__/__init__、类型头定义),新增字段均为可选的 dict 类型,默认值 {} - 向后兼容:不填扩展列时行为完全不变 ### 该PR关联的issue https://gitcode.com/cann/ops-test-kit/issues/73 ### 希望检视人员了解: - 扩展列合并遵循 **last-wins 覆盖语义**,无冲突报错。如果用户需要严格校验重复 key,可在后续迭代中增加告警机制。 - _merge_extended_attributes() 仅在 cases.is_valid=True 时执行,无效行保持原始 attributes 不变。 - 扩展列的属性继承自 base_attr(testcase_aclnn.py 和 testcase_e2e.py 通过 TensorApiTestcaseBase 继承),因此 base_attr 中设置的属性也会被扩展列覆盖。 ## 测试 <!--描述进行了哪些测试来验证你的改动。--> - 新增 tests/test_extended_attributes.py,对 Kernel / ACLNN / E2E 三种模式的 Testcase 类进行参数化测试,覆盖以下场景: - attributes + attributes1 ~ attributes9 列在 complete_headers 中声明(test_headers_declared) - 基本合并:attributes1 追加到 attributes(test_merge_basic) - 覆盖基础属性:扩展列覆盖 attributes 中的同名 key(test_merge_override_with_base) - 扩展列间覆盖:attributes2 覆盖 attributes1 中的 key(test_override_across_extended_columns) - 跨列链式覆盖:attributes9 覆盖 attributes5 覆盖 attributes1(test_override_chain_last_wins) - 多列无冲突合并(test_multi_column_merge) - 无扩展列时保持原始 attributes 不变(test_no_extension_leaves_attributes) - attributes 为 None 时,扩展列直接成为 attributes(test_merge_when_attributes_none) - 无效行跳过合并(test_skip_when_invalid) - validate() 自动调用合并逻辑(test_validate_invokes_merge) ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> 无 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-test-kit!89 | 2 天前 | |
feat: 顺序下发testcase,使用List替代Set保证执行顺序 Co-authored-by: chenqianyu<chenqianyu1@h-partners.com> Co-authored-by: gitcode-bot<noreply@gitcode.com> # message auto-generated for no-merge-commit merge: !78 merge feat3 into master feat: 顺序下发testcase,使用List替代Set保证执行顺序 Created-by: FishPotatoChen Commit-by: chenqianyu;gitcode-bot Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: [x] 否 [ ] 是 __1. AI Agent 平台: __2. AI 模型: __3. Prompt上下文 : ### PR功能描述 / 为什么需要这个合入**: TTK 读取 CSV 用例后,将 testcase 存入 set(无序集合),导致用例下发顺序与 CSV 行序不一致。配合多进程并行执行,最终 result.csv 的行顺序与输入 CSV 完全脱节,不利于结果定位与回归比对。 本 PR 将用例存储容器由 set 改为 list,保持 CSV 行序: - testcase_manager.py: testcases 由 Set 改为 List,add → append,get() 返回 List - instance_base.py: flatten_testcases 由 Set 改为 List,union → extend - 各 object.py / profile_object.py: init_tasks 签名 Set → Iterable(向下兼容) - testcase_op.py: hash_cases_to_groups 签名 Set → Iterable 去重逻辑保持不变(TestcaseBase.__hash__ 基于 testcase_name,list 的 in / remove 行为与 set 一致)。 ### 该PR关联的issue https://gitcode.com/cann/ops-test-kit/issues/75 ### 希望检视人员了解: - init_tasks / hash_cases_to_groups 签名改为 Iterable 而非 List,set/list 均兼容,避免对调用方的破坏性 - list 的 in 查找为 O(n),但用例量级(几十到几百)下无性能影响 - 单卡单进程(--dev 1 --pc 1)时 result.csv 严格按 CSV 行序输出;多进程模式下完成顺序仍会影响 result.csv 行序(属预期行为) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> 使用 examples/case_store/aclnn/aclnn_add.csv(26 个用例)验证: - 单卡单进程(--dev 1 --pc 1):26/26 PASS,result.csv 按 aclnnAdd_00 → aclnnAdd_25 严格保序 - 默认多进程(2 卡):26/26 PASS,功能无回归 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> 无 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-test-kit!78 | 13 天前 | |
feat: support attributes1~attributes9 extension columns, merged into attributes with last-wins override semantics Co-authored-by: chenqianyu<chenqianyu1@h-partners.com> # message auto-generated for no-merge-commit merge: !89 merge feat4 into master feat: support attributes1~attributes9 extension columns, merged into attributes with last-wins override semantics Created-by: FishPotatoChen Commit-by: chenqianyu Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: [x] 否 [ ] 是 __1. AI Agent 平台: __2. AI 模型: __3. Prompt上下文 : ### PR功能描述 / 为什么需要这个合入**: 当前 CSV 用例中的 attributes 列仅支持一个字段承载所有算子属性。当算子属性较多(如几十个 key)时,将所有属性挤在一个单元格中可读性差、编辑困难,且 CSV 单列承载大量 JSON 容易出错。 本 PR 新增 attributes1 ~ attributes9 共 9 个扩展列,允许将算子属性拆分到多个列中写入。在用例 validate() 阶段,扩展列按 attributes(即attributes0) -> attributes1 -> ... -> attributes9 的顺序依次 merge 到 attributes 中,发生 key 冲突时后续列覆盖前列(last-wins 语义)。若用例为无效行则跳过合并。 **改动范围**: - testcase_base.py:TestcaseBase.validate() 中插入 _merge_extended_attributes() 调用,实现合并逻辑 - testcase_op.py / testcase_aclnn.py / testcase_e2e.py:三种测试模式的 Testcase 类均声明 attributes1~attributes9 字段(complete_headers、__slots__/__init__、类型头定义),新增字段均为可选的 dict 类型,默认值 {} - 向后兼容:不填扩展列时行为完全不变 ### 该PR关联的issue https://gitcode.com/cann/ops-test-kit/issues/73 ### 希望检视人员了解: - 扩展列合并遵循 **last-wins 覆盖语义**,无冲突报错。如果用户需要严格校验重复 key,可在后续迭代中增加告警机制。 - _merge_extended_attributes() 仅在 cases.is_valid=True 时执行,无效行保持原始 attributes 不变。 - 扩展列的属性继承自 base_attr(testcase_aclnn.py 和 testcase_e2e.py 通过 TensorApiTestcaseBase 继承),因此 base_attr 中设置的属性也会被扩展列覆盖。 ## 测试 <!--描述进行了哪些测试来验证你的改动。--> - 新增 tests/test_extended_attributes.py,对 Kernel / ACLNN / E2E 三种模式的 Testcase 类进行参数化测试,覆盖以下场景: - attributes + attributes1 ~ attributes9 列在 complete_headers 中声明(test_headers_declared) - 基本合并:attributes1 追加到 attributes(test_merge_basic) - 覆盖基础属性:扩展列覆盖 attributes 中的同名 key(test_merge_override_with_base) - 扩展列间覆盖:attributes2 覆盖 attributes1 中的 key(test_override_across_extended_columns) - 跨列链式覆盖:attributes9 覆盖 attributes5 覆盖 attributes1(test_override_chain_last_wins) - 多列无冲突合并(test_multi_column_merge) - 无扩展列时保持原始 attributes 不变(test_no_extension_leaves_attributes) - attributes 为 None 时,扩展列直接成为 attributes(test_merge_when_attributes_none) - 无效行跳过合并(test_skip_when_invalid) - validate() 自动调用合并逻辑(test_validate_invokes_merge) ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> 无 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-test-kit!89 | 2 天前 | |
feat: add tensorflow e2e Co-authored-by: wangrui<wangrui124@huawei.com> # message auto-generated for no-merge-commit merge: !90 merge br_aclnn into master feat: add tensorflow e2e Created-by: wangrui_ Commit-by: wangrui Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: [ ] 否 [x] 是 __1. AI Agent 平台: opencode __2. AI 模型: glm __3. Prompt上下文 : e2e模式支持tensorflow框架 ### PR功能描述 / 为什么需要这个合入**: 1. 支持e2e 模式tensorflow框架 2. 支持e2e模式保留msprof数据 ### 该PR关联的issue *(格式为fixes #<issue号>, 或者resolves #<issue号>)*: fixes # https://gitcode.com/cann/ops-test-kit/issues/99 ### 希望检视人员了解: ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-test-kit!90 | 5 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 个月前 | ||
| 22 天前 | ||
| 22 天前 | ||
| 5 天前 | ||
| 2 天前 | ||
| 2 天前 | ||
| 2 天前 | ||
| 13 天前 | ||
| 2 天前 | ||
| 5 天前 |