| Files | Last commit | Last update |
|---|---|---|
feat(pypto-pro): Introduce PGOVFRunOnProgram pass Co-authored-by: poorwill<wangbing110@huawei.com> # message auto-generated for no-merge-commit merge: !7474 merge master into master feat(pypto-pro): Introduce PGOVFRunOnProgram pass Created-by: wangbing110 Commit-by: poorwill Merged-by: cann-robot Description: feat(pypto-pro): Introduce PGOVFRunOnProgram pass See merge request: cann/pypto!7474 | 18 days ago | |
refactor(pypto_pro): rename internal A5/A6 and drop A2/A3 remnants Co-authored-by: gcw_bTlukKC6<xuxinlei1@huawei.com> # message auto-generated for no-merge-commit merge: !7357 merge newbranch into master refactor(pypto_pro): rename internal A5/A6 and drop A2/A3 remnants Created-by: gcw_bTlukKC6 Commit-by: gcw_bTlukKC6 Merged-by: cann-robot Description: PR 应该避免没有描述信息,描述信息的最重要的作用是描述修改意图,应该清晰明了。例如:标题中包含了 fix 标签,如果没有描述信息,就需要Review人员猜测PR具体修复了哪些内容,或者怀疑修改的必要性。如果PR和特定的Issue相关,可以单独包含一行 Related Issue: 放到描述信息最后。 下面是一个典型的PR描述信息: The origin issue template brings too many noise, it's not suitable for git message. eg: comments are not removed, labels are redundant as the PR tile already contains the tag. The guide gives a clear suggestion on how to write the PR body. Related Issue: #1234,#5678 更多描述信息见:[Commit Message 规范](../docs/zh/contribute/pull-request.md#commit-message) See merge request: cann/pypto!7357 | 23 days ago | |
feat(ir): Add block bindings support Co-authored-by: wuzhongxin<wuzhongxin1@huawei.com> # message auto-generated for no-merge-commit merge: !3705 merge new into master feat(ir): Add block bindings support Created-by: wuzhongxin Commit-by: wuzhongxin Merged-by: cann-robot Description: support block bindings See merge request: cann/pypto!3705 | 5 months ago | |
feat(Operation): Add pypto.conv_backward_filter and its 2D implementation on A2/A3 Co-authored-by: Zehai<wangzehai3@huawei.com> Co-authored-by: hongyiliu111<liuhongyi1@huawei.com> Co-authored-by: yuxin5<yuxin5@huawei.com> Co-authored-by: xutianlong1<xutianlong1@huawei.com> Co-authored-by: zhouxuan78<zhouxuan78@huawei.com> # message auto-generated for no-merge-commit merge: !6752 merge dev into master feat(Operation): Add pypto.conv_backward_filter and its 2D implementation on A2/A3 Created-by: yuxin5 Commit-by: Zehai;yuxin5;zhouxuan78;xutianlong1;royccc;hongyiliu111 Merged-by: cann-robot Description: feat(Operation): Add pypto.conv_backward_filter and its 2D implementation on A2/A3 Add pypto.conv_backward_filter interface to compute the gradient of convolution with respect to the weight tensor, and implement its 2D support spanning the frontend interface, backend operation implementation and MTE codegen Changes: - Add pypto.conv_backward_filter frontend interface with parameter validation - Implement ConvBackwardFilter 2D backend operation and codegen - Add UT/ST test cases for the 2D implementation See merge request: cann/pypto!6752 | 1 month ago | |
fix(simulation): Relax capture mode during device-to-host data transfer Co-authored-by: zhiweiyuan<zhiweiyuan@huawei.com> # message auto-generated for no-merge-commit merge: !5303 merge fix/capture-mode-relax into master fix(simulation): Relax capture mode during device-to-host data transfer Created-by: zhiweiyuan Commit-by: zhiweiyuan Merged-by: cann-robot Description: fix(simulation): Relax capture mode during device-to-host data transfer In A3 simulation mode, executing capture test cases fails with RT_MEMCPY_FAILED (F7B002) during CopyFromDev. The root cause is that device-to-host memory copy is restricted in capture mode. This change calls ExchangeCaptureModeRelax before the data transfer to relax the capture mode constraint, allowing the memcpy to succeed. Changes: - Add ExchangeCaptureModeRelax call in cost_model.py before device-to-host tensor transfer - Bind ExchangeCaptureModeRelax function in cost_model.cpp - Add ExchangeCaptureModeRelax declaration in __init__.pyi Related Issues: #2887 See merge request: cann/pypto!5303 | 3 months ago | |
feat(dist): Support register memory_region Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !7421 merge win into master feat(dist): Support register memory_region Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Related Issue: #3562 See merge request: cann/pypto!7421 | 20 days ago | |
feat(ir): Add block bindings support Co-authored-by: wuzhongxin<wuzhongxin1@huawei.com> # message auto-generated for no-merge-commit merge: !3705 merge new into master feat(ir): Add block bindings support Created-by: wuzhongxin Commit-by: wuzhongxin Merged-by: cann-robot Description: support block bindings See merge request: cann/pypto!3705 | 5 months ago | |
feat(pypto_pro):unified error codes Co-authored-by: huanyongben<huanyongben1@hisilicon.com> # message auto-generated for no-merge-commit merge: !6453 merge master into master feat(pypto_pro):unified error codes Created-by: huanyongben Commit-by: huanyongben Merged-by: cann-robot Description: pypto pro整改错误码以及日志规范 See merge request: cann/pypto!6453 | 2 months ago | |
refactor(machine): Drop execute-path RUNTIME_SlotMarkNeedAlloc covered by path marking Co-authored-by: songyangyang18<songyangyang18@huawei.com> # message auto-generated for no-merge-commit merge: !6754 merge clean into master refactor(machine): Drop execute-path RUNTIME_SlotMarkNeedAlloc covered by path marking Created-by: songyangyang18 Commit-by: songyangyang18 Merged-by: cann-robot Description: ## 问题背景: Execute 图上的 NeedAlloc 标记曾用于修复非 assemble 算子(如 pypto.full), 产出的 assemble 目标漏发 RUNTIME_SlotMarkNeedAlloc 的问题。 目前,IR builder 会把所有非 assemble 生产者记录到 tensorConstructFunc_,PATH 级标记constructAssembleSlotList已经覆盖这些 slot,Execute 图上的标记因此变得冗余。 ## 删除的安全性: - 每个 PATH 只有一个 root,PATH 级标记在 PATH 入口发出,早于该 root 的 RUNTIME_RootAlloc。Execute 图标记的非参数 slot 都已被 PATH 标记过,且该标志是幂等的。 - Execute 图额外标记的只有 kernel 参数 slot。运行时 ResolveOutcastAddress 对这些 slot走外部 IO 分支,从不读取 NeedAlloc 标志,因此这些标记本身不起作用。 - 作用:参数 slot 不再计入 constructAssembleNeedAllocRuntimeSlots,totalAssembleOutcastSlot 不再为它们多预留 InnerTemporal slot。 ## 问题样例: 下面的算子,out会被错误纳入assemble outcast内存分配,去掉excute路径,恢复正常。 @pypto.frontend.jit(**_JIT) def _k_out_compute_then_assemble(src: _T, out: _T): pypto.set_vec_tile_shapes(TILE, TILE) out[:] = pypto.mul(src.view([BS, HIDDEN], [0, 0]), 2.0) for i in pypto.loop(N_ROW, name="NA_OCA", idx_name="i"): pypto.set_vec_tile_shapes(TILE, TILE) v = src.view([TILE, HIDDEN], [i * TILE, 0]) pypto.assemble(pypto.mul(v, 4.0), [i * TILE, 0], out) See merge request: cann/pypto!6754 | 1 month ago | |
feat(operation): Add quant hif4 Co-authored-by: 杨志邈<yangzhimiao@huawei.com> # message auto-generated for no-merge-commit merge: !7229 merge master into master feat(operation): Add quant hif4 Created-by: yangzhimiao Commit-by: 杨志邈 Merged-by: cann-robot Description: 新增算子Quant Hif4。用于A6设备上BF16到Hif4的量化。支持Scale_alg为0/1,尾轴量化。 Related Issue: [#3684](https://gitcode.com/cann/pypto/issues/3684) See merge request: cann/pypto!7229 | 30 days ago | |
feat(ir): Add block bindings support Co-authored-by: wuzhongxin<wuzhongxin1@huawei.com> # message auto-generated for no-merge-commit merge: !3705 merge new into master feat(ir): Add block bindings support Created-by: wuzhongxin Commit-by: wuzhongxin Merged-by: cann-robot Description: support block bindings See merge request: cann/pypto!3705 | 5 months ago | |
feat(pypto-pro): Support_a6 Co-authored-by: gravel1997<shili19@huawei.com> # message auto-generated for no-merge-commit merge: !7176 merge a6_support into master feat(pypto-pro): Support_a6 Created-by: gravel1997 Commit-by: gravel1997 Merged-by: cann-robot Description: feat(pypto-pro): Support_a6 Related Issue: [#3666](https://gitcode.com/cann/pypto/issues/3666) See merge request: cann/pypto!7176 | 25 days ago | |
feat(dfx): Simplify compiler monitor timeout reporting Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !7343 merge new_monitor into master feat(dfx): Simplify compiler monitor timeout reporting Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 删除compile_timeout_stage 和 compile_monitor_print_interval 两个超时检测的配置项 以及相关内容 See merge request: cann/pypto!7343 | 23 days 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(ir): Select merged valid_shape by branch condition Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !5840 merge fix/phi-shape into master fix(ir): Select merged valid_shape by branch condition Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Related Issue: #2559 See merge request: cann/pypto!5840 | 2 months ago | |
fix(frontend): resolve CodeCheck G.FMT/G.STD/G.CNS/G.PRE/G.EXP/G.SCRIPT warnings Co-authored-by: HuYiSheng01<hys123456aaa@163.com> # message auto-generated for no-merge-commit merge: !6515 merge master into master fix(frontend): resolve CodeCheck G.FMT/G.STD/G.CNS/G.PRE/G.EXP/G.SCRIPT warnings Created-by: HuYiSheng01 Commit-by: HuYiSheng01 Merged-by: cann-robot Description: ## 背景 CodeCheck代码规范缺陷列表,共 3 个检查任务、去重后 13 处缺陷、9 个文件(C/C++ 双扫导致的重复项已合并)。 ## 改动概览 涉及模块: framework/src/interface/{utils,tensor,function}、python/src/bindings ## 已修复项 | 规范 | 文件 | 修复方式 | |---|---|---| | G.FMT.17-CPP | torch_tensor_converter.cpp | 删除返回值判断前的多余空行 | | G.CNS.02-CPP | symbolic_scalar_simplify.h | magic number 4/2/3 → 0x4/2/3 | | G.CNS.02-CPP | function.cpp | magic number 62 → 具名常量 | | G.CNS.02-CPP | controller.cpp | magic number 2 → 0x2 | | G.PRE.09 | rebuildable_attribute.h | 宏末尾去除分号(调用处已带分号,3 处调用已验证) | | G.EXP.09-CPP | symbolic_scalar.cpp | 递归 lambda 变量声明即初始化 | See merge request: cann/pypto!6515 | 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 | |
feat(ir): Add block bindings support Co-authored-by: wuzhongxin<wuzhongxin1@huawei.com> # message auto-generated for no-merge-commit merge: !3705 merge new into master feat(ir): Add block bindings support Created-by: wuzhongxin Commit-by: wuzhongxin Merged-by: cann-robot Description: support block bindings See merge request: cann/pypto!3705 | 5 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 18 days ago | ||
| 23 days ago | ||
| 5 months ago | ||
| 1 month ago | ||
| 3 months ago | ||
| 20 days ago | ||
| 5 months ago | ||
| 2 months ago | ||
| 1 month ago | ||
| 30 days ago | ||
| 5 months ago | ||
| 25 days ago | ||
| 23 days ago | ||
| 4 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 4 months ago | ||
| 5 months ago |