| Files | Last commit | Last update |
|---|---|---|
refactor(frontend): Adding errCode for frontend. Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !2563 merge log into master refactor(frontend): Adding errCode for frontend. Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: 1. FUNCTION_LOGE错误码补充 2. ASSERT错误码补充 3. python前端封装FrontendError 补充错误码打印 4. FUNCTION日志宏前缀统一为"FE", 即Frontend See merge request: cann/pypto!2563 | 6 months ago | |
feat(doc): Add code check rule for exported interface Co-authored-by: yinjie27_<yinjie27@huawei.com> # message auto-generated for no-merge-commit merge: !2816 merge add-code-check-rule into master feat(doc): Add code check rule for exported interface Created-by: yinjie27_ Commit-by: yinjie27_ Merged-by: cann-robot Description: feat(doc): Add code check rule for exported interface See merge request: cann/pypto!2816 | 7 months ago | |
fix(operation): Remove the alpha feature from add and sub Co-authored-by: wkkk0528<wangkai578@huawei.com> # message auto-generated for no-merge-commit merge: !3626 merge master into master fix(operation): Remove the alpha feature from add and sub Created-by: wkkk0528 Commit-by: wkkk0528 Merged-by: cann-robot Description: 1.对标prims.add/prims.sub,对pypto.add/pypto.sub做修改,去除alpha乘数的特性; 2.对标A2A3的ascendc :add/div/mul/sub 在A2不支持bf16,用户需要自己转fp32,修改资料和校验 3.A5上add/mul/sub/adds/muls/subs 支持bf16,需要转换成fp32 4.修改cast的临时空间对齐大小,修改为8个元素对齐。 See merge request: cann/pypto!3626 | 5 months ago | |
refactor(all): Remove trailing whitespace Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !2188 merge pre-commit into master refactor(all): Remove trailing whitespace Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Introduce pre-commit tools, and remove trailing white space with default plugin Related Issue: #1017 See merge request: cann/pypto!2188 | 7 months ago | |
feat(function): Support multi-to-one reshape copy Co-authored-by: 2501_92924845<niulinkai@huawei.com> Co-authored-by: yanggen<yanggen4@hisilicon.com> Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !3487 merge reshape_copy_out_final into master feat(function): Support multi-to-one reshape copy Created-by: zhaojunhan Commit-by: zhaojunhan;yanggen;2501_92924845 Merged-by: cann-robot Description: 升级 reshape_copy_out,支持多对一 UB 写入 GM - 旧方案:先把包含无效数据的结果写到 GM,再把完整 tensor 拷回 UB,在 UB 中完成无效数据“挤出”,最后再写回 GM。受 UB 容量限制,数据搬运开销偏高 - 新方案:多块 UB tile -> 同一个 GM tensor。每块 UB tile 根据自身在 GM 目标 tensor 中的逻辑起始坐标,直接写入 GM validshape 对应的连续空间。 关键参数: 1. GM tensor 的 validshape 用于推导 GM 上有效数据的连续 row-major stride。 2. GM 上的逻辑起始坐标 coord 结合 validshape stride,计算当前 UB tile 写入 GM 的起始偏移。 See merge request: cann/pypto!3487 | 6 months ago | |
feat(function): Support reshape copy for cube Co-authored-by: 2501_92924845<niulinkai@huawei.com> Co-authored-by: yr12318<yangrui231@huawei.com> Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !3857 merge reshape_loc_68 into master feat(function): Support reshape copy for cube Created-by: zhaojunhan Commit-by: zhaojunhan;2501_92924845;yr12318 Merged-by: cann-robot Description: ## 背景 当前动态 valid shape reshape 场景中,cube 路径下 reshape 前后的 copy in / copy out 在拷贝时会包括无效数据,导致 matmul/L0C/L1 等场景无法正确reshape。 ## 修改内容 - 支持 cube reshape copy 操作 - 新增/完善 TReshapeLoad,支持 GM -> L1 的 reshape copy in (补上无效数据) - 新增/完善 TReshapeStore,支持 L0C -> GM 的 reshape copy out (仅搬运有效数据) - 统一 reshape copy tile op 命名和调用方式 - 完善 RemoveUnalignedReshape pass - 支持将 L0C -> GM 的 COPY_OUT 转换为 OP_L0C_RESHAPE_COPY_OUT - 支持将 GM -> L1 的 COPY_IN 转换为 OP_L1_RESHAPE_COPY_IN - 修复多 copy out、静态/动态 valid shape 场景下 reshape copy 改写遗漏的问题 - 补齐 reshape copy valid shape attr 设置逻辑 - 完善 function 侧 COA 归一化 - 将 OP_L0C_RESHAPE_COPY_OUT / OP_L1_RESHAPE_COPY_IN 纳入 reshape copy dyn valid shape 归一化流程 - 增加测试覆盖 - 补充 pass UT,覆盖 L0C copy out、L1 copy in、静态 valid shape 等场景 - 增加 reshape valid shape + matmul 相关 ST 用例 ## 验证 - 已补充/修复相关 UT 和 ST 用例 - 重点覆盖 cube reshape copy in/out 与 matmul 后 reshape valid shape 场景 See merge request: cann/pypto!3857 | 5 months ago | |
feat(front): Add tensor assignment check in parser Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !2400 merge front_2.0 into master feat(front): Add tensor assignment check in parser Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: 1、对于输入tensor增加了校验防止再次赋值 2、修复了前端parser异常被endfunction阶段抛出的异常覆盖的情况 See merge request: cann/pypto!2400 | 7 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 6 months ago | ||
| 7 months ago | ||
| 5 months ago | ||
| 7 months ago | ||
| 6 months ago | ||
| 5 months ago | ||
| 7 months ago |