| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat: support custom simplified key compilation Co-authored-by: UFOunder<zhangxiru1@huawei.com> Co-authored-by: m0_56712298<wukeran@huawei.com> # message auto-generated for no-merge-commit merge: !5089 merge feature/individual-op-custom-simplified-key-core into master feat: support custom simplified key compilation Created-by: m0_56712298 Commit-by: UFOunder;m0_56712298 Merged-by: cann-robot Description: ## 描述 支持自定义 simplified key 的编译流程:通过 kernel options 传递 BINARY_JSON 和最终 simplified key 配置,按自定义 JSON 拆分 Kernel,并在编译入口校验 op_type、bin_filename、simplified_key、dtype、format 和 shape;自定义 simplifiedKey 时由 asc_opc 选择模式 2。 本次将示例从现有多算子 custom_op 中拆出,新增独立的 custom_op_simplified_key 工程;原 custom_op 恢复为基线行为,BINARY_JSON 按原工程约定放在新样例的 op_host/config/ascend910b 目录。 ## 关联的Issue 无 ## 测试 1. pytest -q tests/python/asc_opc/test_custom_binary_json_validation.py:15 passed。 2. 对修改后的 Python 文件执行 py_compile。 3. 原 custom_op 和新 custom_op_simplified_key 的 AddCustomTemplate_ascend910b 编译通过。 4. 新样例完整 binary package 构建通过,生成 FP16/FP32 Kernel Binary、simplifiedKeyMode=2 和 binary_info_config.json。 ## 文档更新 新增 custom_op_simplified_key/README.md、README_en.md,并更新 Compilation 样例索引。 ## 类型标签 - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5089 | 8 天前 | |
feat: support custom simplified key compilation Co-authored-by: UFOunder<zhangxiru1@huawei.com> Co-authored-by: m0_56712298<wukeran@huawei.com> # message auto-generated for no-merge-commit merge: !5089 merge feature/individual-op-custom-simplified-key-core into master feat: support custom simplified key compilation Created-by: m0_56712298 Commit-by: UFOunder;m0_56712298 Merged-by: cann-robot Description: ## 描述 支持自定义 simplified key 的编译流程:通过 kernel options 传递 BINARY_JSON 和最终 simplified key 配置,按自定义 JSON 拆分 Kernel,并在编译入口校验 op_type、bin_filename、simplified_key、dtype、format 和 shape;自定义 simplifiedKey 时由 asc_opc 选择模式 2。 本次将示例从现有多算子 custom_op 中拆出,新增独立的 custom_op_simplified_key 工程;原 custom_op 恢复为基线行为,BINARY_JSON 按原工程约定放在新样例的 op_host/config/ascend910b 目录。 ## 关联的Issue 无 ## 测试 1. pytest -q tests/python/asc_opc/test_custom_binary_json_validation.py:15 passed。 2. 对修改后的 Python 文件执行 py_compile。 3. 原 custom_op 和新 custom_op_simplified_key 的 AddCustomTemplate_ascend910b 编译通过。 4. 新样例完整 binary package 构建通过,生成 FP16/FP32 Kernel Binary、simplifiedKeyMode=2 和 binary_info_config.json。 ## 文档更新 新增 custom_op_simplified_key/README.md、README_en.md,并更新 Compilation 样例索引。 ## 类型标签 - [ ] 🐛 fix: Bug 修复 - [x] ✨ feat: 新功能 - [ ] ⚡ perf: 性能优化 - [ ] ♻️ refactor: 代码重构 - [ ] 🧪 test: 新增或修改测试 - [x] 📝 docs: 文档更新 - [ ] 🔧 ci: CI/CD 配置修改 - [ ] ↩️ revert: 回退 - [ ] 🧹 chore: 其他,请具体描述 See merge request: cann/asc-devkit!5089 | 8 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 8 天前 | ||
| 8 天前 |