| Files | Last commit | Last update |
|---|---|---|
style(all): Apply additional clang-format corrections across codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4883 merge style-cpp into master style(all): Apply additional clang-format corrections across codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Apply additional clang-format corrections across codebase See merge request: cann/pypto!4883 | 4 months ago | |
fix(opration): Repair Alerts Co-authored-by: chen_zhang<zju_zhangchen@zju.edu.cn> # message auto-generated for no-merge-commit merge: !6371 merge FIX_WARNINGS into 9.2.0 fix(opration): Repair Alerts Created-by: chen_zhang Commit-by: chen_zhang Merged-by: cann-robot Description: fix(opration): Repair Alerts issue:https://gitcode.com/cann/pypto/issues/3314 See merge request: cann/pypto!6371 | 2 months ago | |
fix(operation): Fix viewK+splitK bug in UB2L1 and gate GM accumulation by K validShape Co-authored-by: li_qingyan<liqingyan10@h-partners.com> # message auto-generated for no-merge-commit merge: !6370 merge fix/operation/k-validshape-for-gm-acc-9.2.0 into 9.2.0 fix(operation): Fix viewK+splitK bug in UB2L1 and gate GM accumulation by K validShape Created-by: li_qingyan Commit-by: li_qingyan Merged-by: cann-robot Description: 将 #5515 的修改合入 9.2.0 分支(backport of #5515)。 viewK(K轴valid shape为动态值或部分有效)叠加splitK(enable_split_k=True多核切K)时存在问题: 1. K 循环中每个分块 View 的 shape 始终取完整 kL1Size,仅 validShape 被 [0, kL1Size] 截断。当尾块剩余 K 不足一个完整 tile(或有效 K 已耗尽)时,产生 validK=0 ,如果此时叠加splitK,那么就会出现reduce轴为0的matmul计算,搬出时引入m*n大小的脏数据直接累加在gm上,导致精度错误。 ## 修改内容 1. framework/src/interface/tileop/cube/impl/arch35/copy_ub_to_l1_impl.h 删除UB2L1 多余的TFILLPAD操作。 2. framework/src/interface/operation/cube_operation_impl.cpp 新增IsGmAccumulationEnabled门控,6个入口的GM累加路径决策由enableSplitK直通改为经该函数判定: - 仅当A矩阵K轴valid shape为concrete且不小于静态kSize(K轴完整有效)时走GM累加; - 其余场景打INFO日志并回退普通matmul构图(不报错); - 对dynValidShape/静态shape维度不足2的场景做防护,避免K维索引越界。 3. docs/zh/api/tensor_api/config/pypto-set_cube_tile_shapes.md 多核切K约束补充使能条件:仅支持通过pypto.view()接口创建tensor的场景,且要求K轴的valid_shape与K轴shape完全相同;并补充view+loop调用示例。 ## 影响范围 - enable_split_k=True且K轴完整静态:行为不变,仍走GM累加; - enable_split_k=True但viewK(动态K/部分K):原先误入GM累加路径引发异常,现回退普通matmul构图,功能可用; - enable_split_k=False(默认):不受影响。 See merge request: cann/pypto!6370 | 2 months ago | |
style(all): Apply additional clang-format corrections across codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4883 merge style-cpp into master style(all): Apply additional clang-format corrections across codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Apply additional clang-format corrections across codebase See merge request: cann/pypto!4883 | 4 months ago | |
fix(Operation): modify cleancode Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5748 merge fix/docs into master fix(Operation): modify cleancode Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode修改: - 拆分过长的 Operation 和 TileOp 文件 - 重构过长函数并提取重复代码 - 使用公共常量替换 Magic Number - 修复报错日志的拼写和语法问题 - 补充报错日志中的实际参数值 - 删除自定义调试打印 - 清理无用变量和重复实现 - 迁移并补充 Vector Operation 单元测试 See merge request: cann/pypto!5748 | 2 months ago | |
fix(operation): Topk RadixSelect Opt Dirty Data Co-authored-by: Creeeeper<liuyizhe6@huawei.com> # message auto-generated for no-merge-commit merge: !6562 merge topk-fix-9.2.0 into 9.2.0 fix(operation): Topk RadixSelect Opt Dirty Data Created-by: Creeeeper Commit-by: Creeeeper Merged-by: cann-robot Description: ## 描述 TopK RadixSelect算子在清理脏数据时设置的行数不足,导致脏数据进入算法流程,进一步导致TGATHER读取的index过大而UB越界 ## 测试 完成A5冒烟测试 ## 关联Issue [#3405](https://gitcode.com/cann/pypto/issues/3405) ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!6562 | 2 months ago | |
fix(Operation): Align arch35 Sinh implementation with AscendC Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !6282 merge fix/sinh into 9.2.0 fix(Operation): Align arch35 Sinh implementation with AscendC Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: - 对齐 AscendC 更新后的 Sinh A5 实现方案 - 将部分单输入算子文件移入 unary 文件夹,减少 vector 目录下的文件数量 See merge request: cann/pypto!6282 | 2 months ago | |
fix(Operation): clean up implementation and magic numbers Co-authored-by: chenbl<chenbinglin7@huawei.com> # message auto-generated for no-merge-commit merge: !5852 merge fix/docs into master fix(Operation): clean up implementation and magic numbers Created-by: chenbl Commit-by: chenbl Merged-by: cann-robot Description: cleancode整改: - 替换 Vector Operation 和 TileOp 内的Magic Number - 合并拆分部分内聚性较差的Vector Operation Cpp 文件 See merge request: cann/pypto!5852 | 2 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 4 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 4 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago |