| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
整改安装重名头文件:cgmct/gmm等 Co-authored-by: chenyifan<chenyifan66@h-partners.com> # message auto-generated for no-merge-commit merge: !10750 merge clear_last into master 整改安装重名头文件:cgmct/gmm等 Created-by: mutex_lock Commit-by: chenyifan Merged-by: cann-robot Description: ## 描述 消除主仓安装后头文件 basename 重名问题,对 37 个头文件执行 git mv 重命名,并同步更新主仓内 #include 引用。 临时关闭fused_infer_attention_score,prompt_flash_attention算子ut ### 重命名文件映射(37 项) #### cgmct(10) | 旧路径 | 新路径 | | --- | --- | | gmm/common/cgmct/utils/arch.h | gmm/common/cgmct/utils/cgmct_arch.h | | gmm/common/cgmct/utils/common_utils.h | gmm/common/cgmct/utils/cgmct_common_utils.h | | gmm/common/cgmct/utils/layout_utils.h | gmm/common/cgmct/utils/cgmct_layout_utils.h | | gmm/common/cgmct/policy/dispatch_policy.h | gmm/common/cgmct/policy/cgmct_dispatch_policy.h | | gmm/common/cgmct/epilogue/fusion/default_fusion_op.h | gmm/common/cgmct/epilogue/fusion/cgmct_default_fusion_op.h | | gmm/common/cgmct/block/block_mmad.h | gmm/common/cgmct/block/cgmct_block_mmad.h | | gmm/common/cgmct/kernel/kernel_qgmm_mx.h | gmm/common/cgmct/kernel/cgmct_kernel_qgmm_mx.h | | gmm/common/cgmct/epilogue/block_epilogue_empty.h | gmm/common/cgmct/epilogue/cgmct_block_epilogue_empty.h | | gmm/common/cgmct/epilogue/block_epilogue_dequant.h | gmm/common/cgmct/epilogue/cgmct_block_epilogue_dequant.h | | gmm/common/cgmct/epilogue/block_epilogue_swiglu_mx_quant.h | gmm/common/cgmct/epilogue/cgmct_block_epilogue_swiglu_mx_quant.h | #### attention(4) | 旧路径 | 新路径 | | --- | --- | | attention/common/op_kernel/buffer.h | attention/common/op_kernel/attn_buffer.h | | attention/common/op_kernel/buffer_manager.h | attention/common/op_kernel/attn_buffer_manager.h | | attention/common/op_kernel/memcopy/copy_gm_to_l1.h | attention/common/op_kernel/memcopy/attn_copy_gm_to_l1.h | | attention/common/op_kernel/memcopy/copy_gm_to_ub.h | attention/common/op_kernel/memcopy/attn_copy_gm_to_ub.h | #### common / tests(2) | 旧路径 | 新路径 | | --- | --- | | common/include/op_kernel/layout.h | common/include/op_kernel/op_kernel_layout.h | | tests/ut/framework_special/utils/inc/tests/utils/log.h | tests/ut/framework_special/utils/inc/tests/utils/tests_utils_log.h | #### wq constant(3) | 旧路径 | 新路径 | | --- | --- | | mc2/3rd/weight_quant_batch_matmul_v2/op_kernel/arch35/catlass/constant.h | mc2/3rd/weight_quant_batch_matmul_v2/op_kernel/arch35/catlass/wq_catlass_constant.h | | mc2/3rd/weight_quant_batch_matmul_v2/op_kernel/arch35/catlass/utils/constant.h | mc2/3rd/weight_quant_batch_matmul_v2/op_kernel/arch35/catlass/utils/wq_utils_constant.h | | mc2/3rd/weight_quant_batch_matmul_v2/op_kernel/arch35/catlass/block/constant.h | mc2/3rd/weight_quant_batch_matmul_v2/op_kernel/arch35/catlass/block/wq_block_constant.h | #### TLA(7) | 旧路径 | 新路径 | | --- | --- | | mc2/3rd/template_linear_algebra/op_kernel/template_linear_algebra/epilogue/dispatch_policy.hpp | mc2/3rd/template_linear_algebra/op_kernel/template_linear_algebra/epilogue/tla_epilogue_dispatch_policy.hpp | | mc2/3rd/template_linear_algebra/op_kernel/template_linear_algebra/gemm/dispatch_policy.hpp | mc2/3rd/template_linear_algebra/op_kernel/template_linear_algebra/gemm/tla_gemm_dispatch_policy.hpp | | mc2/3rd/template_linear_algebra/op_kernel/template_linear_algebra/gemm/helper.hpp | mc2/3rd/template_linear_algebra/op_kernel/template_linear_algebra/gemm/tla_gemm_helper.hpp | | mc2/3rd/template_linear_algebra/op_kernel/template_linear_algebra/gemv/helper.hpp | mc2/3rd/template_linear_algebra/op_kernel/template_linear_algebra/gemv/tla_gemv_helper.hpp | | mc2/3rd/template_linear_algebra/op_kernel/template_linear_algebra/epilogue/tile/tile_copy.hpp | mc2/3rd/template_linear_algebra/op_kernel/template_linear_algebra/epilogue/tile/tla_epilogue_tile_copy.hpp | | mc2/3rd/template_linear_algebra/op_kernel/template_linear_algebra/gemm/tile/tile_copy.hpp | mc2/3rd/template_linear_algebra/op_kernel/template_linear_algebra/gemm/tile/tla_gemm_tile_copy.hpp | | mc2/3rd/template_linear_algebra/op_kernel/template_linear_algebra/gemv/tile/tile_copy.hpp | mc2/3rd/template_linear_algebra/op_kernel/template_linear_algebra/gemv/tile/tla_gemv_tile_copy.hpp | #### gmm copy(4) | 旧路径 | 新路径 | | --- | --- | | gmm/grouped_matmul/op_kernel/gmm_infra/epilogue/tile/gmm_copy_gm_to_ub.hpp | gmm/grouped_matmul/op_kernel/gmm_infra/epilogue/tile/gmm_epilogue_copy_gm_to_ub.hpp | | gmm/grouped_matmul/op_kernel/gmm_infra/epilogue/tile/gmm_copy_ub_to_gm.hpp | gmm/grouped_matmul/op_kernel/gmm_infra/epilogue/tile/gmm_epilogue_copy_ub_to_gm.hpp | | gmm/grouped_matmul/op_kernel/gmm_infra/gemm/tile/gmm_copy_gm_to_ub.hpp | gmm/grouped_matmul/op_kernel/gmm_infra/gemm/tile/gmm_gemm_copy_gm_to_ub.hpp | | gmm/grouped_matmul/op_kernel/gmm_infra/gemm/tile/gmm_copy_ub_to_gm.hpp | gmm/grouped_matmul/op_kernel/gmm_infra/gemm/tile/gmm_gemm_copy_ub_to_gm.hpp | #### apace ST kernel_launcher(3) | 旧路径 | 新路径 | | --- | --- | | mc2/common/op_kernel/apace/tests/st/all_gather_quant_matmul/ubmem/src/kernel_launcher.h | mc2/common/op_kernel/apace/tests/st/all_gather_quant_matmul/ubmem/src/apace_agm_kernel_launcher.h | | mc2/common/op_kernel/apace/tests/st/all_to_all_quant_matmul/src/kernel_launcher.h | mc2/common/op_kernel/apace/tests/st/all_to_all_quant_matmul/src/apace_a2a_kernel_launcher.h | | mc2/common/op_kernel/apace/tests/st/quant_matmul_reduce_scatter/ubmem/src/kernel_launcher.h | mc2/common/op_kernel/apace/tests/st/quant_matmul_reduce_scatter/ubmem/src/apace_qmrs_kernel_launcher.h | #### qbmv3 tiling(2) | 旧路径 | 新路径 | | --- | --- | | mc2/3rd/quant_batch_matmul_v3/op_kernel/quant_batch_matmul_v3_tiling_data.h | mc2/3rd/quant_batch_matmul_v3/op_kernel/qbmv3_tiling_data.h | | mc2/3rd/quant_batch_matmul_v3/op_kernel/arch35/quant_batch_matmul_v3_tiling_data.h | mc2/3rd/quant_batch_matmul_v3/op_kernel/arch35/qbmv3_arch35_tiling_data.h | #### math_util(2,仅文件 rename) | 旧路径 | 新路径 | | --- | --- | | mc2/common/utils/math_util.h | mc2/common/utils/mc2_math_util.h | | mc2/3rd/common/op_host/math_util.h | mc2/3rd/common/op_host/mc2_3rd_math_util.h | ## 关联的Issue https://gitcode.com/cann/ops-transformer/issues/4356 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [x] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!10750 | 1 个月前 | |
fix(mc2): 修复MC2算子错误日志规范问题 Co-authored-by: hello_simida<wangyi206@huawei.com> # message auto-generated for no-merge-commit merge: !10297 merge fix/mc2-log into master fix(mc2): 修复MC2算子错误日志规范问题 Created-by: hello_simida Commit-by: hello_simida Merged-by: cann-robot Description: ## 描述 依据 CANN 日志规范评测报告,整改 MC2 系列算子的错误日志文案,共涉及 53 个文件: - 修复日志文案拼写错误(如 AlGaterMatmul、excute、Recieved、nulld、workspce 等) - 修复语法错误与格式串截断导致的占位符失效(如 moe_distribute_dispatch_v2_tiling.cpp 中多段字符串字面量拆分问题) - 移除日志中的内部敏感词 inner error - 中文日志文案改为英文(含全角冒号改半角) - 自定义打印(printf/std::cerr/std::cout)改为统一日志接口 - 删除冗余重复日志 ## 关联的Issue Fixes #4433 ## 测试 仅修改日志文案与格式串,未涉及算子计算逻辑变更。日志格式串修改已逐一核对占位符与实际参数匹配。 ## 文档更新 无 ## 类型标签 - [x] 🐛 Bug 修复 - [x] 🧹 代码清理 See merge request: cann/ops-transformer!10297 | 1 个月前 | |
Pre-Commit 规范整改 — example experimental Co-authored-by: gitcode_lijd<lijiandong20@huawei.com> # message auto-generated for no-merge-commit merge: !1465 merge fix into master Pre-Commit 规范整改 — example experimental 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对于example和experiment文件进行了pre-commit检查 See merge request: cann/ops-transformer!1465 | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 1 个月前 | ||
| 2 个月前 |