| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Pre-Commit 规范整改 — 公共 Co-authored-by: gitcode_lijd<lijiandong20@huawei.com> # message auto-generated for no-merge-commit merge: !5305 merge refactor into master Pre-Commit 规范整改 — 公共 Created-by: gitcode_lijd Commit-by: gitcode_lijd Merged-by: cann-robot Description: pre-commit是一个Git Hooks框架,用于在 git commit时自动运行代码检查和格式化工具。: | Hook | 功能 | 说明 | |------|------|------| | **clang-format** | C/C++ 代码格式化 | 自动格式化代码,保持风格一致 | | **OAT Check** | 开源合规检查 | 检测许可证头、禁止二进制文件提交 | 本PR对于公共文件进行了pre-commit检查 See merge request: cann/ops-transformer!5305 | 2 个月前 | |
Pre-Commit 规范整改 — 公共 Co-authored-by: gitcode_lijd<lijiandong20@huawei.com> # message auto-generated for no-merge-commit merge: !5305 merge refactor into master Pre-Commit 规范整改 — 公共 Created-by: gitcode_lijd Commit-by: gitcode_lijd Merged-by: cann-robot Description: pre-commit是一个Git Hooks框架,用于在 git commit时自动运行代码检查和格式化工具。: | Hook | 功能 | 说明 | |------|------|------| | **clang-format** | C/C++ 代码格式化 | 自动格式化代码,保持风格一致 | | **OAT Check** | 开源合规检查 | 检测许可证头、禁止二进制文件提交 | 本PR对于公共文件进行了pre-commit检查 See merge request: cann/ops-transformer!5305 | 2 个月前 | |
MC2:NpuArch常量代数解决静态编译依赖 Co-authored-by: chenyifan<chenyifan66@h-partners.com> # message auto-generated for no-merge-commit merge: !11781 merge rr_soc_version into master MC2:NpuArch常量代数解决静态编译依赖 Created-by: mutex_lock Commit-by: chenyifan Merged-by: cann-robot Description: ## 描述 将 mc2 / common 中平台架构判断从 NpuArch::DAV_xxx 枚举取值,统一迁移为 opbase 提供的常量 Ops::Base::DAV_xxx(头文件 op_host/util/op_const_def.h),消除对 platform/soc_spec.h 中枚举定义的静态编译依赖。 主要改动: 1. 升级 opbase 依赖(cmake/third_party/opbase.cmake 中 OPBASE_TAG_ID)。 2. mc2 算子 tiling / op_api / infershape / gen_task,以及 common 公共头(如 tiling_util、tiling_base、tiling_templates_registry、aclnn_platform)中,NpuArch::DAV_xxx 替换为 Ops::Base::DAV_xxx。 3. 相关文件去掉 #include "platform/soc_spec.h",改为 #include "op_host/util/op_const_def.h";op_api 侧仅引入常量定义,避免连带引入 platform_util.h 与 aclnn 日志宏冲突。 4. UT stub(tests/ut/framework_normal/op_api/stub/opdev/platform.h)保留 NpuArch 枚举类型,并同步 stub Ops::Base::DAV_xxx 常量,保证单测可编译运行。 不新增/删除业务接口,仅做 NpuArch 常量代数与 include 收敛。 ## 关联的Issue https://gitcode.com/cann/ops-transformer/issues/5147 ## 测试 A2/A3/A5 RDV ## 文档更新 ## 类型标签 - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [x] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [x] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [x] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!11781 | 6 天前 | |
MLAFullQuant support FlashDecode & 0/1 non-contiguous Co-authored-by: fanzijian<fanzijian3@huawei.com> Co-authored-by: cardiac_index<wangjianhao12@huawei.com> # message auto-generated for no-merge-commit merge: !10506 merge master into master MLAFullQuant support FlashDecode & 0/1 non-contiguous Created-by: fanzijian Commit-by: fanzijian;cardiac_index Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> MLA FP8全量化支持flashdecode和0/1轴非连续 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> [#4610](https://gitcode.com/cann/ops-transformer/issues/4610) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [x] ✨ 新特性 - [x] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!10506 | 21 天前 |