| 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(machine): Compile monitor info fix. Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5321 merge compile_fix into master fix(machine): Compile monitor info fix. Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 删除重复warning信息;删除重复compile_monitor标识 See merge request: cann/pypto!5321 | 3 months ago | |
feat(pass): Adapt slice and contract Co-authored-by: Immutable01<gaoqiancheng@huawei.com> # message auto-generated for no-merge-commit merge: !5521 merge feat/enable-slice-switch into master feat(pass): Adapt slice and contract Created-by: Immutable01 Commit-by: Immutable01 Merged-by: cann-robot Description: 1.ExpandFunction展开插入slice和contract 2.view和assemble会被展开 See merge request: cann/pypto!5521 | 3 months ago | |
fix(interface): Reduce UT time and resolve code style. Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !3697 merge review into master fix(interface): Reduce UT time and resolve code style. Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: 1. 减少ut耗时 2. 整改代码规范 See merge request: cann/pypto!3697 | 5 months ago | |
feat(pass): Split token in ExpandFunction Co-authored-by: Immutable01<gaoqiancheng@huawei.com> # message auto-generated for no-merge-commit merge: !5537 merge 0819_token into master feat(pass): Split token in ExpandFunction Created-by: Immutable01 Commit-by: Immutable01 Merged-by: cann-robot Description: token有tensor graph->tile graph的转化 See merge request: cann/pypto!5537 | 3 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 | |
feat(pass): Add slice contract feature for pass with some cases Co-authored-by: 2501_92924845<niulinkai@huawei.com> # message auto-generated for no-merge-commit merge: !5568 merge slice5close into master feat(pass): Add slice contract feature for pass with some cases Created-by: 2501_92924845 Commit-by: 2501_92924845 Merged-by: cann-robot Description: PR描述 1.背景 历史实现中,OP_VIEW 和 OP_ASSEMBLE 同时承担两类语义: 视图转换语义:描述 tensor 的 shape、offset、dyn offset、dyn valid shape 等逻辑视图关系。 搬运语义:在 tile graph 后段被 GenerateMoveOp 转换为 copy in / copy out 等真实搬运操作。 本需求将这两类语义拆开: OP_VIEW / OP_ASSEMBLE:保留为视图语义,表达逻辑视图关系。 OP_SLICE / OP_CONTRACT:表达搬运语义,分别对应原 copy in 方向和 copy out 方向的 tile 级搬运描述。 在 ExpandFunction 阶段,原先需要展开的 VIEW/ASSEMBLE 会被展开为 tile 级的 SLICE/CONTRACT。后续 tile graph pass 不能再默认 VIEW/ASSEMBLE 一定会生成真实搬运,而需要按新语义区分: 优化、合并、图结构分析类 pass 需要识别 view-like 和 assemble-like 两组 opcode。 内存推导和 move 生成类 pass 应以 SLICE/CONTRACT 作为真实搬运入口。 本设计覆盖 PVC2_OOO 策略中从 MergeViewAssemble 到 GenerateMoveOp 的相关 pass。 2.. 目标与非目标 2.1 目标 支持 ExpandFunction 后图中出现 OP_SLICE/OP_CONTRACT,并保证后续 pass 能正确识别、合并、拆分、分区和生成 move op。 将原来依赖 OP_VIEW/OP_ASSEMBLE 的搬运逻辑迁移到 OP_SLICE/OP_CONTRACT。 保留 OP_VIEW/OP_ASSEMBLE 的视图表达能力,避免把纯视图语义误转成 copy。 保持现有 offset、dyn offset、dyn valid shape、scope、atomic RMW 属性等关键信息在 pass 改写中正确传递。 兼容原有 pass 中 view/assemble 链路优化能力,使其覆盖 slice/contract 场景。 2.2 非目标 不改变用户侧 API 的 view/assemble 表达方式。 不改变 copy op 的最终执行语义。 不在 GenerateMoveOp 中继续把普通 OP_VIEW/OP_ASSEMBLE 当作搬运入口。 不引入新的 attribute 类型;OP_SLICE 复用 ViewOpAttribute,OP_CONTRACT 复用 AssembleOpAttribute。 2.3 相关验证 MergeViewAssemble UT:覆盖 view-view、slice-view、view-slice、assemble-contract 等链路合并,验证合并后 opcode 和 attribute 正确。 SplitReshape UT:覆盖 contract -> reshape -> slice、reduce_acc 前驱跳过、动态 shape 变轴跳过。 SplitLargeFanoutTensor UT:覆盖大 fanout 中 assemble-like producer 和 view-like consumer 的拆分、offset 更新和冗余删除。 AssignMemoryType UT:覆盖 slice/contract 的 original、requirement、convert 改写、LiteNPU reshape 特殊路径。 RemoveRedundantOp UT:覆盖 view/assemble-like perfect match、partial match、multi-contract-single-slice、single-contract-multi-slice。 ProcessAtomic UT:覆盖 AtomicRMW 属性下沉到 contract、offset 累加、VecDup 分支删除。 GraphPartition 与 IntraSubgraphAdapter UT:覆盖跨子图边界插入 slice/contract,以及 legacy view/assemble memory 不一致时的原地改写。 GenerateMoveOp UT:验证 OP_SLICE/OP_CONTRACT 正确生成 copy in/out,且普通 OP_VIEW/OP_ASSEMBLE 不再作为 move 入口。 See merge request: cann/pypto!5568 | 3 months ago | |
feat(pypto_pro): Support pypto_pro SIMT Co-authored-by: wuzhongxin<wuzhongxin1@huawei.com> # message auto-generated for no-merge-commit merge: !5341 merge master into master feat(pypto_pro): Support pypto_pro SIMT Created-by: wuzhongxin Commit-by: wuzhongxin Merged-by: cann-robot Description: feat(pypto_pro): Support pypto_pro SIMT See merge request: cann/pypto!5341 | 3 months ago | |
fix(machine): Add aicore-resolve macro Co-authored-by: huanglu<huanglu22@hisilicon.com> # message auto-generated for no-merge-commit merge: !5549 merge master into master fix(machine): Add aicore-resolve macro Created-by: lululu40888 Commit-by: huanglu Merged-by: cann-robot Description: fix(machine): Add aicore-resolve macro See merge request: cann/pypto!5549 | 3 months ago | |
feat(pass): Add slice contract feature for pass with some cases Co-authored-by: 2501_92924845<niulinkai@huawei.com> # message auto-generated for no-merge-commit merge: !5568 merge slice5close into master feat(pass): Add slice contract feature for pass with some cases Created-by: 2501_92924845 Commit-by: 2501_92924845 Merged-by: cann-robot Description: PR描述 1.背景 历史实现中,OP_VIEW 和 OP_ASSEMBLE 同时承担两类语义: 视图转换语义:描述 tensor 的 shape、offset、dyn offset、dyn valid shape 等逻辑视图关系。 搬运语义:在 tile graph 后段被 GenerateMoveOp 转换为 copy in / copy out 等真实搬运操作。 本需求将这两类语义拆开: OP_VIEW / OP_ASSEMBLE:保留为视图语义,表达逻辑视图关系。 OP_SLICE / OP_CONTRACT:表达搬运语义,分别对应原 copy in 方向和 copy out 方向的 tile 级搬运描述。 在 ExpandFunction 阶段,原先需要展开的 VIEW/ASSEMBLE 会被展开为 tile 级的 SLICE/CONTRACT。后续 tile graph pass 不能再默认 VIEW/ASSEMBLE 一定会生成真实搬运,而需要按新语义区分: 优化、合并、图结构分析类 pass 需要识别 view-like 和 assemble-like 两组 opcode。 内存推导和 move 生成类 pass 应以 SLICE/CONTRACT 作为真实搬运入口。 本设计覆盖 PVC2_OOO 策略中从 MergeViewAssemble 到 GenerateMoveOp 的相关 pass。 2.. 目标与非目标 2.1 目标 支持 ExpandFunction 后图中出现 OP_SLICE/OP_CONTRACT,并保证后续 pass 能正确识别、合并、拆分、分区和生成 move op。 将原来依赖 OP_VIEW/OP_ASSEMBLE 的搬运逻辑迁移到 OP_SLICE/OP_CONTRACT。 保留 OP_VIEW/OP_ASSEMBLE 的视图表达能力,避免把纯视图语义误转成 copy。 保持现有 offset、dyn offset、dyn valid shape、scope、atomic RMW 属性等关键信息在 pass 改写中正确传递。 兼容原有 pass 中 view/assemble 链路优化能力,使其覆盖 slice/contract 场景。 2.2 非目标 不改变用户侧 API 的 view/assemble 表达方式。 不改变 copy op 的最终执行语义。 不在 GenerateMoveOp 中继续把普通 OP_VIEW/OP_ASSEMBLE 当作搬运入口。 不引入新的 attribute 类型;OP_SLICE 复用 ViewOpAttribute,OP_CONTRACT 复用 AssembleOpAttribute。 2.3 相关验证 MergeViewAssemble UT:覆盖 view-view、slice-view、view-slice、assemble-contract 等链路合并,验证合并后 opcode 和 attribute 正确。 SplitReshape UT:覆盖 contract -> reshape -> slice、reduce_acc 前驱跳过、动态 shape 变轴跳过。 SplitLargeFanoutTensor UT:覆盖大 fanout 中 assemble-like producer 和 view-like consumer 的拆分、offset 更新和冗余删除。 AssignMemoryType UT:覆盖 slice/contract 的 original、requirement、convert 改写、LiteNPU reshape 特殊路径。 RemoveRedundantOp UT:覆盖 view/assemble-like perfect match、partial match、multi-contract-single-slice、single-contract-multi-slice。 ProcessAtomic UT:覆盖 AtomicRMW 属性下沉到 contract、offset 累加、VecDup 分支删除。 GraphPartition 与 IntraSubgraphAdapter UT:覆盖跨子图边界插入 slice/contract,以及 legacy view/assemble memory 不一致时的原地改写。 GenerateMoveOp UT:验证 OP_SLICE/OP_CONTRACT 正确生成 copy in/out,且普通 OP_VIEW/OP_ASSEMBLE 不再作为 move 入口。 See merge request: cann/pypto!5568 | 3 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 | |
fix(Pass): Add sort alogs interface Co-authored-by: gggxinmeng<guoxinmeng@huawei.com> # message auto-generated for no-merge-commit merge: !5161 merge interface_sort into master fix(Pass): Add sort alogs interface Created-by: gggxinmeng Commit-by: gggxinmeng Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/2788 原有 OoO 预调度排序逻辑全部硬编码在 OptimizeSort 中,仅支持 PriorDFS 一种算法,且无法按 AIC/AIV 分核选择。本次改动: 将 OptimizeSort 改造为抽象基类,定义虚函数 DoSortOps() 作为排序入口 将 PriorDFS 算法独立为子类 PriorDFSSort,MemoryAware 算法独立为子类 MemoryAwareSort 新增配置项 ooo_sort_mode_aic / ooo_sort_mode_aiv,支持按核类型分别指定排序算法 引入静态工厂映射表 SORT_ALGOS,使排序算法可插拔注册与动态选择 See merge request: cann/pypto!5161 | 3 months ago | |
feat(pypto_pro): Support pypto_pro SIMT Co-authored-by: wuzhongxin<wuzhongxin1@huawei.com> # message auto-generated for no-merge-commit merge: !5341 merge master into master feat(pypto_pro): Support pypto_pro SIMT Created-by: wuzhongxin Commit-by: wuzhongxin Merged-by: cann-robot Description: feat(pypto_pro): Support pypto_pro SIMT See merge request: cann/pypto!5341 | 3 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 | |
feat(pypto_pro): Support pypto_pro SIMT Co-authored-by: wuzhongxin<wuzhongxin1@huawei.com> # message auto-generated for no-merge-commit merge: !5341 merge master into master feat(pypto_pro): Support pypto_pro SIMT Created-by: wuzhongxin Commit-by: wuzhongxin Merged-by: cann-robot Description: feat(pypto_pro): Support pypto_pro SIMT See merge request: cann/pypto!5341 | 3 months ago | |
fix(operation): Fixing the problem introduced by cross-integration. Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !5573 merge fix-FloorDiv into master fix(operation): Fixing the problem introduced by cross-integration. Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: 修复交叉合入引入的FloorDiv问题。 Related Issue: #3052 更多描述信息见:[Commit Message 规范](../docs/zh/contribute/pull-request.md#commit-message) See merge request: cann/pypto!5573 | 3 months ago | |
fix(machine): Add aicore-resolve macro Co-authored-by: huanglu<huanglu22@hisilicon.com> # message auto-generated for no-merge-commit merge: !5549 merge master into master fix(machine): Add aicore-resolve macro Created-by: lululu40888 Commit-by: huanglu Merged-by: cann-robot Description: fix(machine): Add aicore-resolve macro See merge request: cann/pypto!5549 | 3 months ago | |
refactor(build): Reuse the common compilation options from common cmake. Co-authored-by: Feiteng Zheng<zhengfeiteng1@h-partners.com> # message auto-generated for no-merge-commit merge: !5292 merge 20260728-intf-pub-2 into master refactor(build): Reuse the common compilation options from common cmake. Created-by: zhengfeiteng Commit-by: Feiteng Zheng Merged-by: cann-robot Description: 切换使用 cann/cmake 仓规定的 intf_pub。 - 通过CANN_GLIBCXX_USE_CXX11_ABI属性设置tile_fwk_calculator的_GLIBCXX_USE_CXX11_ABI Related Issue: #2650 See merge request: cann/pypto!5292 | 3 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 4 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 5 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 7 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago |