| Files | Last commit | Last update |
|---|---|---|
fix(function): Preserve normalized reshape copy valid shape Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !6669 merge fix_reshape_copy_validshape into master fix(function): Preserve normalized reshape copy valid shape Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: ### 问题: reshape_copy 的 validshape 归一化后未写回属性,导致动态 shape 尾块可能出现精度错误。 ### 修改: 保存归一化后的 validshape 并写回 RESHAPE_COPY_IN/OUT 属性。卷积专用 Copy 仍收集 COA 参数并写回原始 validshape,避免影响卷积用例。 See merge request: cann/pypto!6669 | 2 months ago | |
fix(function): Fix copy attr of inner copyin/out not normalized Co-authored-by: tsungl4<lidongsheng4@huawei.com> Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !6582 merge fix_distribute into master fix(function): Fix copy attr of inner copyin/out not normalized Created-by: zhaojunhan Commit-by: zhaojunhan;tsungl4 Merged-by: cann-robot Description: #### 问题背景 子图中的内部 COPY_IN/COPY_OUT 属性未正确进行 COA Normalize,导致无法子图同构。 补充 Normalize 后,又暴露出 operand COA 索引和 shape 参数化引起的精度问题。 #### 修改内容 本 PR 包含以下三部分修改: 1. 支持内部 Copy Normalize 在 NormalizeCoaForNormalOperands 中处理内部 COPY_IN/COPY_OUT 及 L1 Copy,将动态属性加入 COA 参数列表。 2. 修正内部 Copy 的 operand 属性索引 普通内部 Copy 的 COA 仅用于 Copy 属性,不再设置 IOpAtt/OOpAtt,避免 InferParamIndex 将其错误解释为 Tensor COA;仅保留 outcast raw 场景的索引设置。 3. 保持 Copy shape 为编译期常量 Normalize 时不再将 shape 回写为 COA Parameter,只对 offset 等动态属性进行参数化。避免 codegen 通过 GetSpecifiedShape(1) 读取参数化 shape 时回退成 1×1,导致内部 GM spill 搬运数据不完整。 See merge request: cann/pypto!6582 | 2 months ago | |
feat(ir): Support dump function attribute Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !6675 merge attr into master feat(ir): Support dump function attribute Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Related Issue: #2559 See merge request: cann/pypto!6675 | 2 months ago | |
feat(ir): Support dump function attribute Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !6675 merge attr into master feat(ir): Support dump function attribute Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Related Issue: #2559 See merge request: cann/pypto!6675 | 2 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago |