| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
TTK init repo | 3 个月前 | |
feat: XPU 硬件抽象 + 远程执行 + 精度标准2.1 Co-authored-by: dengguojie<dengguojie@huawei.com> # message auto-generated for no-merge-commit merge: !28 merge dev-1-integration into master feat: XPU 硬件抽象 + 远程执行 + 精度标准2.1 Created-by: dengguojie Commit-by: dengguojie Merged-by: cann-robot Description: ## 描述 新增 ttk/remote/ 远程执行框架: - server/: xpu_server, executor, execution_container, container, config(+xpu_server.yaml), Dockerfile.{torch,tf}, executor_main, README - client/: dispatcher, endpoint_view, xpu_collector, heartbeat, heartbeat_manager, health_file, config, tls(mTLS) - scripts/gen_tls_certs.sh framework_api/backends/ 硬件抽象: - 新增 base(Backend ABC)、torch_backend;gpu_backend 重命名为 xpu_backend - profiler 改为 backend 数据驱动;新增 CpuTorchBackend + --cpu CLI - config/: 新增 loader、default.yaml(hardware profile 探测) comparison/ 精度比对: - 新增 cross_check(output/golden/third_party 三方比对)、stat_rel_err、resolve - registry form-based 分派重构 - npu/op/comparison.py:comparing() 日志 with {standard},删 DYN_OFF 长度断言 test_spec / plugin: - loader 惰性加载(语法错误仅对 __spec__ 文件记 error);新增 validator、manager - plugin_loader 重构,删 builtin_plugin_loader - 删 user_defined_modules/(旧注册机制) - 新增 utilities/func_dispatch(统一分派 helper) npu/op: output_generation、profiling 接入 cross_check + third_party(tensorflow→tf 规范化)。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-test-kit!28 | 1 个月前 | |
feat: XPU 硬件抽象 + 远程执行 + 精度标准2.1 Co-authored-by: dengguojie<dengguojie@huawei.com> # message auto-generated for no-merge-commit merge: !28 merge dev-1-integration into master feat: XPU 硬件抽象 + 远程执行 + 精度标准2.1 Created-by: dengguojie Commit-by: dengguojie Merged-by: cann-robot Description: ## 描述 新增 ttk/remote/ 远程执行框架: - server/: xpu_server, executor, execution_container, container, config(+xpu_server.yaml), Dockerfile.{torch,tf}, executor_main, README - client/: dispatcher, endpoint_view, xpu_collector, heartbeat, heartbeat_manager, health_file, config, tls(mTLS) - scripts/gen_tls_certs.sh framework_api/backends/ 硬件抽象: - 新增 base(Backend ABC)、torch_backend;gpu_backend 重命名为 xpu_backend - profiler 改为 backend 数据驱动;新增 CpuTorchBackend + --cpu CLI - config/: 新增 loader、default.yaml(hardware profile 探测) comparison/ 精度比对: - 新增 cross_check(output/golden/third_party 三方比对)、stat_rel_err、resolve - registry form-based 分派重构 - npu/op/comparison.py:comparing() 日志 with {standard},删 DYN_OFF 长度断言 test_spec / plugin: - loader 惰性加载(语法错误仅对 __spec__ 文件记 error);新增 validator、manager - plugin_loader 重构,删 builtin_plugin_loader - 删 user_defined_modules/(旧注册机制) - 新增 utilities/func_dispatch(统一分派 helper) npu/op: output_generation、profiling 接入 cross_check + third_party(tensorflow→tf 规范化)。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-test-kit!28 | 1 个月前 | |
feat: 新增 --append/-a 选项支持追加结果到已有CSV Co-authored-by: chenqianyu<chenqianyu1@h-partners.com> # message auto-generated for no-merge-commit merge: !131 merge feat5 into master feat: 新增 --append/-a 选项支持追加结果到已有CSV Created-by: FishPotatoChen Commit-by: chenqianyu Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: - [x] 否 - [ ] 是 __1. AI Agent 平台: __2. AI 模型: __3. Prompt上下文 : ### PR功能描述 / 为什么需要这个合入**: 为 TTK 结果输出新增 --append / -a 选项,支持将测试结果追加写入已有 CSV 文件,避免多次运行时反复覆盖历史结果,便于累积对比。 主要改动: - ttk/cli/common.py:新增 -a/--append 参数,与 -o/--output 互斥 - ttk/cli/bridge.py:解析 append 参数并设置 append_mode 开关 - ttk/utilities/classes.py:SWITCHES 新增 append_mode 字段 - ttk/core_modules/infra/instance_base.py:实现追加逻辑——表头匹配则追加,不匹配则覆盖;同时补全输出目录自动创建 - 文档同步更新(SKILL.md、Task_Execution.md、任务执行.md) ### 该PR关联的issue https://gitcode.com/cann/ops-test-kit/issues/84 ### 希望检视人员了解: - -o 与 -a 为互斥参数,同时指定会报错 - 追加模式下若已有文件表头与当前预期不一致,会打印 warning 并覆盖原文件,避免数据错位 ## 测试 <!--描述进行了哪些测试来验证你的改动。--> - 验证 -o 覆盖写入行为不变 - 验证 -a 在表头匹配时正确追加结果行 - 验证 -a 在表头不匹配时回退为覆盖并打印 warning - 验证 -o 与 -a 同时指定时互斥报错 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> - 更新 .claude/skills/ttk-how-run-test/SKILL.md - 更新 docs/Task_Execution.md - 更新 docs/任务执行.md ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-test-kit!131 | 1 天前 | |
TTK init repo | 3 个月前 | |
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 | 14 天前 | |
TTK init repo | 3 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 天前 | ||
| 3 个月前 | ||
| 14 天前 | ||
| 3 个月前 |