| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fia entry split by quantmode Co-authored-by: jiang-lirui<jianglirui1@huawei.com> # message auto-generated for no-merge-commit merge: !9374 merge fia_arch35_quantmode_split into master fia entry split by quantmode Created-by: jiang-lirui Commit-by: jiang-lirui Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 前序Issue [#3998](https://gitcode.com/cann/ops-transformer/issues/3998) fused_infer_attention_score_apt.cpp 原按 quantMode < 15 二分,IFA entry(antiquant)与 PFA entry(noquant+fullquant)耦合:IFA entry 仅因 emptyTensor 需要 INVOKE_PFA_ZERO_OP_IMPL_V2 而 include PFA entry,形成不必要交叉依赖。 目标:在 arch35/ 下按量化模式拆为 3 个路由文件 + 1 个公共头 + 2 个公共依赖,apt.cpp 按 quantMode 三分路由,解除 IFA→PFA 交叉依赖,消除 IFA/PFA 命名残留,提升结构清晰度。 影响面:仅 apt.cpp + arch35/ 目录内部。arch38 为独立文件,不受影响。两个 entry 文件原仅被 apt.cpp 引用(已核实)。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> Issue [#4051](https://gitcode.com/cann/ops-transformer/issues/4051) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 二级冒烟PASS ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> 不涉及 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [x] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9374 | 23 小时前 | |
fia entry split by quantmode Co-authored-by: jiang-lirui<jianglirui1@huawei.com> # message auto-generated for no-merge-commit merge: !9374 merge fia_arch35_quantmode_split into master fia entry split by quantmode Created-by: jiang-lirui Commit-by: jiang-lirui Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 前序Issue [#3998](https://gitcode.com/cann/ops-transformer/issues/3998) fused_infer_attention_score_apt.cpp 原按 quantMode < 15 二分,IFA entry(antiquant)与 PFA entry(noquant+fullquant)耦合:IFA entry 仅因 emptyTensor 需要 INVOKE_PFA_ZERO_OP_IMPL_V2 而 include PFA entry,形成不必要交叉依赖。 目标:在 arch35/ 下按量化模式拆为 3 个路由文件 + 1 个公共头 + 2 个公共依赖,apt.cpp 按 quantMode 三分路由,解除 IFA→PFA 交叉依赖,消除 IFA/PFA 命名残留,提升结构清晰度。 影响面:仅 apt.cpp + arch35/ 目录内部。arch38 为独立文件,不受影响。两个 entry 文件原仅被 apt.cpp 引用(已核实)。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> Issue [#4051](https://gitcode.com/cann/ops-transformer/issues/4051) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 二级冒烟PASS ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> 不涉及 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [x] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9374 | 23 小时前 | |
style(attention): 应用 pre-commit clang-format 格式化 Co-authored-by: huang-chuhong<huangchuhong1@h-partners.com> # message auto-generated for no-merge-commit merge: !9087 merge style/precommit-clang-format-attention into master style(attention): 应用 pre-commit clang-format 格式化 Created-by: huang-chuhong Commit-by: huang-chuhong Merged-by: cann-robot Description: ## 描述 对 attention/common 目录执行 pre-commit clang-format 统一格式化,覆盖 184 个文件,不涉及任何功能逻辑变更。 ## 改动 - 折行、大括号位置、指针对齐、 } else { 等格式调整 - #include 排序、宏续行符 \ 重排 - const_def.h 等文件 namespace 闭合注释修正(clang-tidy) - arch35/38 util_regbase.h 的 using 声明顺序重排(语义等价) - fia_tiling_shape.cpp 字符串字面量拆分(拼接后内容相同) ## 逻辑一致性 通过「去注释 → 去 #include → 去行续行符 → 去全部空白」三层归一化比对,184 个文件均无功能性改动,无数值/运算符/标识符变化。 ## 关联的Issue #3913 ## 测试 - 格式化前后行为一致,不传新参数时原有行为不受影响 - 建议跑一次 UT 编译验证 #include 重排无自包含问题 ## 类型标签 - [ ] 🐛 Bug 修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [x] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9087 | 8 天前 | |
[flash_attn_metadata] 添加防御检查 Co-authored-by: ChengjiaWu<wuchengjia1@h-partners.com> # message auto-generated for no-merge-commit merge: !9078 merge master into master [flash_attn_metadata] 添加防御检查 Created-by: ChengjiaWu Commit-by: ChengjiaWu Merged-by: cann-robot Description: ## 描述 1. 添加更多的防御,与下游算子 2. 修复全空输入时,返回错误分核结果的问题 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [x] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9078 | 7 天前 | |
fp8 ub bank conflict opti && mask opti && kscale DB && vf opti Co-authored-by: lining_210<lining210@huawei.com> # message auto-generated for no-merge-commit merge: !8698 merge master into master fp8 ub bank conflict opti && mask opti && kscale DB && vf opti Created-by: lining_210 Commit-by: lining_210 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> fp8 ub bank conflict opti && mask opti && kscale DB && vf opti ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> https://gitcode.com/cann/ops-transformer/issues/3217 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [x] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!8698 | 4 天前 | |
style(attention): 应用 pre-commit clang-format 格式化 Co-authored-by: huang-chuhong<huangchuhong1@h-partners.com> # message auto-generated for no-merge-commit merge: !9087 merge style/precommit-clang-format-attention into master style(attention): 应用 pre-commit clang-format 格式化 Created-by: huang-chuhong Commit-by: huang-chuhong Merged-by: cann-robot Description: ## 描述 对 attention/common 目录执行 pre-commit clang-format 统一格式化,覆盖 184 个文件,不涉及任何功能逻辑变更。 ## 改动 - 折行、大括号位置、指针对齐、 } else { 等格式调整 - #include 排序、宏续行符 \ 重排 - const_def.h 等文件 namespace 闭合注释修正(clang-tidy) - arch35/38 util_regbase.h 的 using 声明顺序重排(语义等价) - fia_tiling_shape.cpp 字符串字面量拆分(拼接后内容相同) ## 逻辑一致性 通过「去注释 → 去 #include → 去行续行符 → 去全部空白」三层归一化比对,184 个文件均无功能性改动,无数值/运算符/标识符变化。 ## 关联的Issue #3913 ## 测试 - 格式化前后行为一致,不传新参数时原有行为不受影响 - 建议跑一次 UT 编译验证 #include 重排无自包含问题 ## 类型标签 - [ ] 🐛 Bug 修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [x] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9087 | 8 天前 | |
style(attention): 应用 pre-commit clang-format 格式化 Co-authored-by: huang-chuhong<huangchuhong1@h-partners.com> # message auto-generated for no-merge-commit merge: !9087 merge style/precommit-clang-format-attention into master style(attention): 应用 pre-commit clang-format 格式化 Created-by: huang-chuhong Commit-by: huang-chuhong Merged-by: cann-robot Description: ## 描述 对 attention/common 目录执行 pre-commit clang-format 统一格式化,覆盖 184 个文件,不涉及任何功能逻辑变更。 ## 改动 - 折行、大括号位置、指针对齐、 } else { 等格式调整 - #include 排序、宏续行符 \ 重排 - const_def.h 等文件 namespace 闭合注释修正(clang-tidy) - arch35/38 util_regbase.h 的 using 声明顺序重排(语义等价) - fia_tiling_shape.cpp 字符串字面量拆分(拼接后内容相同) ## 逻辑一致性 通过「去注释 → 去 #include → 去行续行符 → 去全部空白」三层归一化比对,184 个文件均无功能性改动,无数值/运算符/标识符变化。 ## 关联的Issue #3913 ## 测试 - 格式化前后行为一致,不传新参数时原有行为不受影响 - 建议跑一次 UT 编译验证 #include 重排无自包含问题 ## 类型标签 - [ ] 🐛 Bug 修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [x] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9087 | 8 天前 | |
style(attention): 应用 pre-commit clang-format 格式化 Co-authored-by: huang-chuhong<huangchuhong1@h-partners.com> # message auto-generated for no-merge-commit merge: !9087 merge style/precommit-clang-format-attention into master style(attention): 应用 pre-commit clang-format 格式化 Created-by: huang-chuhong Commit-by: huang-chuhong Merged-by: cann-robot Description: ## 描述 对 attention/common 目录执行 pre-commit clang-format 统一格式化,覆盖 184 个文件,不涉及任何功能逻辑变更。 ## 改动 - 折行、大括号位置、指针对齐、 } else { 等格式调整 - #include 排序、宏续行符 \ 重排 - const_def.h 等文件 namespace 闭合注释修正(clang-tidy) - arch35/38 util_regbase.h 的 using 声明顺序重排(语义等价) - fia_tiling_shape.cpp 字符串字面量拆分(拼接后内容相同) ## 逻辑一致性 通过「去注释 → 去 #include → 去行续行符 → 去全部空白」三层归一化比对,184 个文件均无功能性改动,无数值/运算符/标识符变化。 ## 关联的Issue #3913 ## 测试 - 格式化前后行为一致,不传新参数时原有行为不受影响 - 建议跑一次 UT 编译验证 #include 重排无自包含问题 ## 类型标签 - [ ] 🐛 Bug 修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [x] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9087 | 8 天前 | |
style(attention): 应用 pre-commit clang-format 格式化 Co-authored-by: huang-chuhong<huangchuhong1@h-partners.com> # message auto-generated for no-merge-commit merge: !9087 merge style/precommit-clang-format-attention into master style(attention): 应用 pre-commit clang-format 格式化 Created-by: huang-chuhong Commit-by: huang-chuhong Merged-by: cann-robot Description: ## 描述 对 attention/common 目录执行 pre-commit clang-format 统一格式化,覆盖 184 个文件,不涉及任何功能逻辑变更。 ## 改动 - 折行、大括号位置、指针对齐、 } else { 等格式调整 - #include 排序、宏续行符 \ 重排 - const_def.h 等文件 namespace 闭合注释修正(clang-tidy) - arch35/38 util_regbase.h 的 using 声明顺序重排(语义等价) - fia_tiling_shape.cpp 字符串字面量拆分(拼接后内容相同) ## 逻辑一致性 通过「去注释 → 去 #include → 去行续行符 → 去全部空白」三层归一化比对,184 个文件均无功能性改动,无数值/运算符/标识符变化。 ## 关联的Issue #3913 ## 测试 - 格式化前后行为一致,不传新参数时原有行为不受影响 - 建议跑一次 UT 编译验证 #include 重排无自包含问题 ## 类型标签 - [ ] 🐛 Bug 修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [x] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9087 | 8 天前 | |
style(attention): 应用 pre-commit clang-format 格式化 Co-authored-by: huang-chuhong<huangchuhong1@h-partners.com> # message auto-generated for no-merge-commit merge: !9087 merge style/precommit-clang-format-attention into master style(attention): 应用 pre-commit clang-format 格式化 Created-by: huang-chuhong Commit-by: huang-chuhong Merged-by: cann-robot Description: ## 描述 对 attention/common 目录执行 pre-commit clang-format 统一格式化,覆盖 184 个文件,不涉及任何功能逻辑变更。 ## 改动 - 折行、大括号位置、指针对齐、 } else { 等格式调整 - #include 排序、宏续行符 \ 重排 - const_def.h 等文件 namespace 闭合注释修正(clang-tidy) - arch35/38 util_regbase.h 的 using 声明顺序重排(语义等价) - fia_tiling_shape.cpp 字符串字面量拆分(拼接后内容相同) ## 逻辑一致性 通过「去注释 → 去 #include → 去行续行符 → 去全部空白」三层归一化比对,184 个文件均无功能性改动,无数值/运算符/标识符变化。 ## 关联的Issue #3913 ## 测试 - 格式化前后行为一致,不传新参数时原有行为不受影响 - 建议跑一次 UT 编译验证 #include 重排无自包含问题 ## 类型标签 - [ ] 🐛 Bug 修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [x] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9087 | 8 天前 | |
fix Mutex arch22 build error in 9.1.0.beta3 version Co-authored-by: jiang-lirui<jianglirui1@huawei.com> # message auto-generated for no-merge-commit merge: !9124 merge fix_Mutex_build_bug into master fix Mutex arch22 build error in 9.1.0.beta3 version Created-by: jiang-lirui Commit-by: jiang-lirui Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 在9.1.0.beta3版本的ARCH22上编译,找不到Mutex的定义 原因是: 9.1.0.beta3版本上使用defined(NPU_ARCH) && (NPU_ARCH == 3510)的宏将Mutex等接口隔离掉了,在ARCH22上没有定义;但是在master以及9.1.0版本上将宏隔离放在了Mutex定义里面。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> Issue [#3930](https://gitcode.com/cann/ops-transformer/issues/3930) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [x] 🐛 Bug修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9124 | 7 天前 | |
style(attention): 应用 pre-commit clang-format 格式化 Co-authored-by: huang-chuhong<huangchuhong1@h-partners.com> # message auto-generated for no-merge-commit merge: !9087 merge style/precommit-clang-format-attention into master style(attention): 应用 pre-commit clang-format 格式化 Created-by: huang-chuhong Commit-by: huang-chuhong Merged-by: cann-robot Description: ## 描述 对 attention/common 目录执行 pre-commit clang-format 统一格式化,覆盖 184 个文件,不涉及任何功能逻辑变更。 ## 改动 - 折行、大括号位置、指针对齐、 } else { 等格式调整 - #include 排序、宏续行符 \ 重排 - const_def.h 等文件 namespace 闭合注释修正(clang-tidy) - arch35/38 util_regbase.h 的 using 声明顺序重排(语义等价) - fia_tiling_shape.cpp 字符串字面量拆分(拼接后内容相同) ## 逻辑一致性 通过「去注释 → 去 #include → 去行续行符 → 去全部空白」三层归一化比对,184 个文件均无功能性改动,无数值/运算符/标识符变化。 ## 关联的Issue #3913 ## 测试 - 格式化前后行为一致,不传新参数时原有行为不受影响 - 建议跑一次 UT 编译验证 #include 重排无自包含问题 ## 类型标签 - [ ] 🐛 Bug 修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [x] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9087 | 8 天前 | |
style(attention): 应用 pre-commit clang-format 格式化 Co-authored-by: huang-chuhong<huangchuhong1@h-partners.com> # message auto-generated for no-merge-commit merge: !9087 merge style/precommit-clang-format-attention into master style(attention): 应用 pre-commit clang-format 格式化 Created-by: huang-chuhong Commit-by: huang-chuhong Merged-by: cann-robot Description: ## 描述 对 attention/common 目录执行 pre-commit clang-format 统一格式化,覆盖 184 个文件,不涉及任何功能逻辑变更。 ## 改动 - 折行、大括号位置、指针对齐、 } else { 等格式调整 - #include 排序、宏续行符 \ 重排 - const_def.h 等文件 namespace 闭合注释修正(clang-tidy) - arch35/38 util_regbase.h 的 using 声明顺序重排(语义等价) - fia_tiling_shape.cpp 字符串字面量拆分(拼接后内容相同) ## 逻辑一致性 通过「去注释 → 去 #include → 去行续行符 → 去全部空白」三层归一化比对,184 个文件均无功能性改动,无数值/运算符/标识符变化。 ## 关联的Issue #3913 ## 测试 - 格式化前后行为一致,不传新参数时原有行为不受影响 - 建议跑一次 UT 编译验证 #include 重排无自包含问题 ## 类型标签 - [ ] 🐛 Bug 修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [x] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9087 | 8 天前 | |
style(attention): 应用 pre-commit clang-format 格式化 Co-authored-by: huang-chuhong<huangchuhong1@h-partners.com> # message auto-generated for no-merge-commit merge: !9087 merge style/precommit-clang-format-attention into master style(attention): 应用 pre-commit clang-format 格式化 Created-by: huang-chuhong Commit-by: huang-chuhong Merged-by: cann-robot Description: ## 描述 对 attention/common 目录执行 pre-commit clang-format 统一格式化,覆盖 184 个文件,不涉及任何功能逻辑变更。 ## 改动 - 折行、大括号位置、指针对齐、 } else { 等格式调整 - #include 排序、宏续行符 \ 重排 - const_def.h 等文件 namespace 闭合注释修正(clang-tidy) - arch35/38 util_regbase.h 的 using 声明顺序重排(语义等价) - fia_tiling_shape.cpp 字符串字面量拆分(拼接后内容相同) ## 逻辑一致性 通过「去注释 → 去 #include → 去行续行符 → 去全部空白」三层归一化比对,184 个文件均无功能性改动,无数值/运算符/标识符变化。 ## 关联的Issue #3913 ## 测试 - 格式化前后行为一致,不传新参数时原有行为不受影响 - 建议跑一次 UT 编译验证 #include 重排无自包含问题 ## 类型标签 - [ ] 🐛 Bug 修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [x] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9087 | 8 天前 | |
style(attention): 应用 pre-commit clang-format 格式化 Co-authored-by: huang-chuhong<huangchuhong1@h-partners.com> # message auto-generated for no-merge-commit merge: !9087 merge style/precommit-clang-format-attention into master style(attention): 应用 pre-commit clang-format 格式化 Created-by: huang-chuhong Commit-by: huang-chuhong Merged-by: cann-robot Description: ## 描述 对 attention/common 目录执行 pre-commit clang-format 统一格式化,覆盖 184 个文件,不涉及任何功能逻辑变更。 ## 改动 - 折行、大括号位置、指针对齐、 } else { 等格式调整 - #include 排序、宏续行符 \ 重排 - const_def.h 等文件 namespace 闭合注释修正(clang-tidy) - arch35/38 util_regbase.h 的 using 声明顺序重排(语义等价) - fia_tiling_shape.cpp 字符串字面量拆分(拼接后内容相同) ## 逻辑一致性 通过「去注释 → 去 #include → 去行续行符 → 去全部空白」三层归一化比对,184 个文件均无功能性改动,无数值/运算符/标识符变化。 ## 关联的Issue #3913 ## 测试 - 格式化前后行为一致,不传新参数时原有行为不受影响 - 建议跑一次 UT 编译验证 #include 重排无自包含问题 ## 类型标签 - [ ] 🐛 Bug 修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [x] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9087 | 8 天前 | |
fia entry split by quantmode Co-authored-by: jiang-lirui<jianglirui1@huawei.com> # message auto-generated for no-merge-commit merge: !9374 merge fia_arch35_quantmode_split into master fia entry split by quantmode Created-by: jiang-lirui Commit-by: jiang-lirui Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 前序Issue [#3998](https://gitcode.com/cann/ops-transformer/issues/3998) fused_infer_attention_score_apt.cpp 原按 quantMode < 15 二分,IFA entry(antiquant)与 PFA entry(noquant+fullquant)耦合:IFA entry 仅因 emptyTensor 需要 INVOKE_PFA_ZERO_OP_IMPL_V2 而 include PFA entry,形成不必要交叉依赖。 目标:在 arch35/ 下按量化模式拆为 3 个路由文件 + 1 个公共头 + 2 个公共依赖,apt.cpp 按 quantMode 三分路由,解除 IFA→PFA 交叉依赖,消除 IFA/PFA 命名残留,提升结构清晰度。 影响面:仅 apt.cpp + arch35/ 目录内部。arch38 为独立文件,不受影响。两个 entry 文件原仅被 apt.cpp 引用(已核实)。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> Issue [#4051](https://gitcode.com/cann/ops-transformer/issues/4051) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 二级冒烟PASS ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> 不涉及 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [x] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9374 | 23 小时前 | |
style(attention): 应用 pre-commit clang-format 格式化 Co-authored-by: huang-chuhong<huangchuhong1@h-partners.com> # message auto-generated for no-merge-commit merge: !9087 merge style/precommit-clang-format-attention into master style(attention): 应用 pre-commit clang-format 格式化 Created-by: huang-chuhong Commit-by: huang-chuhong Merged-by: cann-robot Description: ## 描述 对 attention/common 目录执行 pre-commit clang-format 统一格式化,覆盖 184 个文件,不涉及任何功能逻辑变更。 ## 改动 - 折行、大括号位置、指针对齐、 } else { 等格式调整 - #include 排序、宏续行符 \ 重排 - const_def.h 等文件 namespace 闭合注释修正(clang-tidy) - arch35/38 util_regbase.h 的 using 声明顺序重排(语义等价) - fia_tiling_shape.cpp 字符串字面量拆分(拼接后内容相同) ## 逻辑一致性 通过「去注释 → 去 #include → 去行续行符 → 去全部空白」三层归一化比对,184 个文件均无功能性改动,无数值/运算符/标识符变化。 ## 关联的Issue #3913 ## 测试 - 格式化前后行为一致,不传新参数时原有行为不受影响 - 建议跑一次 UT 编译验证 #include 重排无自包含问题 ## 类型标签 - [ ] 🐛 Bug 修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [x] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9087 | 8 天前 | |
flash_attn inin_output move to attention/common Co-authored-by: jiang-lirui<jianglirui1@huawei.com> # message auto-generated for no-merge-commit merge: !9196 merge init_output_0727 into master flash_attn inin_output move to attention/common Created-by: jiang-lirui Commit-by: jiang-lirui Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> flash_attn的inin_output.h移到attention/common中 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> [#3970](https://gitcode.com/cann/ops-transformer/issues/3970) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9196 | 4 天前 | |
style(attention): 应用 pre-commit clang-format 格式化 Co-authored-by: huang-chuhong<huangchuhong1@h-partners.com> # message auto-generated for no-merge-commit merge: !9087 merge style/precommit-clang-format-attention into master style(attention): 应用 pre-commit clang-format 格式化 Created-by: huang-chuhong Commit-by: huang-chuhong Merged-by: cann-robot Description: ## 描述 对 attention/common 目录执行 pre-commit clang-format 统一格式化,覆盖 184 个文件,不涉及任何功能逻辑变更。 ## 改动 - 折行、大括号位置、指针对齐、 } else { 等格式调整 - #include 排序、宏续行符 \ 重排 - const_def.h 等文件 namespace 闭合注释修正(clang-tidy) - arch35/38 util_regbase.h 的 using 声明顺序重排(语义等价) - fia_tiling_shape.cpp 字符串字面量拆分(拼接后内容相同) ## 逻辑一致性 通过「去注释 → 去 #include → 去行续行符 → 去全部空白」三层归一化比对,184 个文件均无功能性改动,无数值/运算符/标识符变化。 ## 关联的Issue #3913 ## 测试 - 格式化前后行为一致,不传新参数时原有行为不受影响 - 建议跑一次 UT 编译验证 #include 重排无自包含问题 ## 类型标签 - [ ] 🐛 Bug 修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [x] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9087 | 8 天前 | |
style(attention): 应用 pre-commit clang-format 格式化 Co-authored-by: huang-chuhong<huangchuhong1@h-partners.com> # message auto-generated for no-merge-commit merge: !9087 merge style/precommit-clang-format-attention into master style(attention): 应用 pre-commit clang-format 格式化 Created-by: huang-chuhong Commit-by: huang-chuhong Merged-by: cann-robot Description: ## 描述 对 attention/common 目录执行 pre-commit clang-format 统一格式化,覆盖 184 个文件,不涉及任何功能逻辑变更。 ## 改动 - 折行、大括号位置、指针对齐、 } else { 等格式调整 - #include 排序、宏续行符 \ 重排 - const_def.h 等文件 namespace 闭合注释修正(clang-tidy) - arch35/38 util_regbase.h 的 using 声明顺序重排(语义等价) - fia_tiling_shape.cpp 字符串字面量拆分(拼接后内容相同) ## 逻辑一致性 通过「去注释 → 去 #include → 去行续行符 → 去全部空白」三层归一化比对,184 个文件均无功能性改动,无数值/运算符/标识符变化。 ## 关联的Issue #3913 ## 测试 - 格式化前后行为一致,不传新参数时原有行为不受影响 - 建议跑一次 UT 编译验证 #include 重排无自包含问题 ## 类型标签 - [ ] 🐛 Bug 修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [x] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9087 | 8 天前 | |
fia entry split by quantmode Co-authored-by: jiang-lirui<jianglirui1@huawei.com> # message auto-generated for no-merge-commit merge: !9374 merge fia_arch35_quantmode_split into master fia entry split by quantmode Created-by: jiang-lirui Commit-by: jiang-lirui Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 前序Issue [#3998](https://gitcode.com/cann/ops-transformer/issues/3998) fused_infer_attention_score_apt.cpp 原按 quantMode < 15 二分,IFA entry(antiquant)与 PFA entry(noquant+fullquant)耦合:IFA entry 仅因 emptyTensor 需要 INVOKE_PFA_ZERO_OP_IMPL_V2 而 include PFA entry,形成不必要交叉依赖。 目标:在 arch35/ 下按量化模式拆为 3 个路由文件 + 1 个公共头 + 2 个公共依赖,apt.cpp 按 quantMode 三分路由,解除 IFA→PFA 交叉依赖,消除 IFA/PFA 命名残留,提升结构清晰度。 影响面:仅 apt.cpp + arch35/ 目录内部。arch38 为独立文件,不受影响。两个 entry 文件原仅被 apt.cpp 引用(已核实)。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> Issue [#4051](https://gitcode.com/cann/ops-transformer/issues/4051) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 二级冒烟PASS ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> 不涉及 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [x] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9374 | 23 小时前 | |
combine fa offset calculator Co-authored-by: jiang-lirui<jianglirui1@huawei.com> # message auto-generated for no-merge-commit merge: !1974 merge fa_common_950_0225 into master combine fa offset calculator Created-by: jiang-lirui Commit-by: jiang-lirui Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-transformer!1974 | 5 个月前 | |
style(attention): 应用 pre-commit clang-format 格式化 Co-authored-by: huang-chuhong<huangchuhong1@h-partners.com> # message auto-generated for no-merge-commit merge: !9087 merge style/precommit-clang-format-attention into master style(attention): 应用 pre-commit clang-format 格式化 Created-by: huang-chuhong Commit-by: huang-chuhong Merged-by: cann-robot Description: ## 描述 对 attention/common 目录执行 pre-commit clang-format 统一格式化,覆盖 184 个文件,不涉及任何功能逻辑变更。 ## 改动 - 折行、大括号位置、指针对齐、 } else { 等格式调整 - #include 排序、宏续行符 \ 重排 - const_def.h 等文件 namespace 闭合注释修正(clang-tidy) - arch35/38 util_regbase.h 的 using 声明顺序重排(语义等价) - fia_tiling_shape.cpp 字符串字面量拆分(拼接后内容相同) ## 逻辑一致性 通过「去注释 → 去 #include → 去行续行符 → 去全部空白」三层归一化比对,184 个文件均无功能性改动,无数值/运算符/标识符变化。 ## 关联的Issue #3913 ## 测试 - 格式化前后行为一致,不传新参数时原有行为不受影响 - 建议跑一次 UT 编译验证 #include 重排无自包含问题 ## 类型标签 - [ ] 🐛 Bug 修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [x] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9087 | 8 天前 | |
fia entry split by quantmode Co-authored-by: jiang-lirui<jianglirui1@huawei.com> # message auto-generated for no-merge-commit merge: !9374 merge fia_arch35_quantmode_split into master fia entry split by quantmode Created-by: jiang-lirui Commit-by: jiang-lirui Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 前序Issue [#3998](https://gitcode.com/cann/ops-transformer/issues/3998) fused_infer_attention_score_apt.cpp 原按 quantMode < 15 二分,IFA entry(antiquant)与 PFA entry(noquant+fullquant)耦合:IFA entry 仅因 emptyTensor 需要 INVOKE_PFA_ZERO_OP_IMPL_V2 而 include PFA entry,形成不必要交叉依赖。 目标:在 arch35/ 下按量化模式拆为 3 个路由文件 + 1 个公共头 + 2 个公共依赖,apt.cpp 按 quantMode 三分路由,解除 IFA→PFA 交叉依赖,消除 IFA/PFA 命名残留,提升结构清晰度。 影响面:仅 apt.cpp + arch35/ 目录内部。arch38 为独立文件,不受影响。两个 entry 文件原仅被 apt.cpp 引用(已核实)。 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> Issue [#4051](https://gitcode.com/cann/ops-transformer/issues/4051) ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> 二级冒烟PASS ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> 不涉及 ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [x] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!9374 | 23 小时前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 23 小时前 | ||
| 23 小时前 | ||
| 8 天前 | ||
| 7 天前 | ||
| 4 天前 | ||
| 8 天前 | ||
| 8 天前 | ||
| 8 天前 | ||
| 8 天前 | ||
| 8 天前 | ||
| 7 天前 | ||
| 8 天前 | ||
| 8 天前 | ||
| 8 天前 | ||
| 8 天前 | ||
| 23 小时前 | ||
| 8 天前 | ||
| 4 天前 | ||
| 8 天前 | ||
| 8 天前 | ||
| 23 小时前 | ||
| 5 个月前 | ||
| 8 天前 | ||
| 23 小时前 |