| Files | Last commit | Last update |
|---|---|---|
fix(operation): Bound FillPad padding to tile columns Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !6513 merge fix-fillpad-9.2.0 into 9.2.0 fix(operation): Bound FillPad padding to tile columns Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: FillPad 对共享 UB 缓冲区中的列分块处理错误,导致有效数据被清零,并可能越过目标缓冲区边界。 concat 结果的形状为 [16,128],vector tile 配置为 [16,80],因此 FillPad 被拆分为前 80 列和后 48 列两个分块。两个分块保留父缓冲区的物理行步长 128。原 TFillPad 封装直接使用 layout 中的静态宽度 128 构造 PTO Tile。底层 TFILLPAD_EXPAND 会将输入有效列之外的区域补到该静态宽度,而不是限制在当前分块的 80/48 列范围内。 Related Issue: https://gitcode.com/cann/pypto/issues/3387 See merge request: cann/pypto!6513 | 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(codegen): Fix operandWithMagic out-of-bounds initialization Co-authored-by: anyangle<anyangle@huawei.com> # message auto-generated for no-merge-commit merge: !5678 merge issue into master fix(codegen): Fix operandWithMagic out-of-bounds initialization Created-by: quadrate Commit-by: anyangle Merged-by: cann-robot Description: 1. PyPTO codegen 模块日志整改 2. [Issue:2824](https://gitcode.com/cann/pypto/issues/2824)问题修改 3. [Issue:3020](https://gitcode.com/cann/pypto/issues/3020)问题修改 See merge request: cann/pypto!5678 | 3 months ago | |
fix(codegen): Fix operandWithMagic out-of-bounds initialization Co-authored-by: anyangle<anyangle@huawei.com> # message auto-generated for no-merge-commit merge: !5678 merge issue into master fix(codegen): Fix operandWithMagic out-of-bounds initialization Created-by: quadrate Commit-by: anyangle Merged-by: cann-robot Description: 1. PyPTO codegen 模块日志整改 2. [Issue:2824](https://gitcode.com/cann/pypto/issues/2824)问题修改 3. [Issue:3020](https://gitcode.com/cann/pypto/issues/3020)问题修改 See merge request: cann/pypto!5678 | 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 | |
refactor(codegen): Delete invoke param offset Co-authored-by: Bee.Hujun<Bee.hujun@huawei.com> # message auto-generated for no-merge-commit merge: !4177 merge codegen/delete_locOffset into master refactor(codegen): Delete invoke param offset Created-by: cam_bxh Commit-by: Bee.Hujun Merged-by: cann-robot Description: 1. Delete invoke param offset See merge request: cann/pypto!4177 | 5 months ago | |
fix(codegen): Propagate parallel task exceptions instead of swallowing them Co-authored-by: anyangle<anyangle@huawei.com> # message auto-generated for no-merge-commit merge: !5266 merge compile_fix into master fix(codegen): Propagate parallel task exceptions instead of swallowing them Created-by: quadrate Commit-by: anyangle Merged-by: cann-robot Description: 1. 多线程 Codegen 确定性 Kernel 编译 Related Issue:[https://gitcode.com/cann/pypto/issues/2913](https://gitcode.com/cann/pypto/issues/2913) 2. Issue 背景:GenCode 内的 ExecuteParallelCompile 编译失败抛出 COMPILE_CODE_FAILED 被吞掉,leafDict[hash] = leaf 未执行,leafDict不完整。下游 ConstructCodeInfo → RunCompileAicoreKernelStage → RunEncodeStage 继续访问不完整的 leafDict,触发 std::unordered_map::at() 越界,抛出 F00003 RuntimeError: _Map_base::at 二次异常,掩盖了真实的编译错误 根因:codeGen在并行编译遇到错误抛出异常时,只记录日志,并不传播异常和终止剩余task,导致报错在第二现场F00003 RuntimeError: _Map_base::at处 解决方法:修改 ParallelExecuteAndWait,使其在 task 失败时记录错误、提前终止剩余 task、并在所有线程 join 后重新抛出首个 COMPILE_CODE_FAILED异常 修改前:  修改后:  See merge request: cann/pypto!5266 | 3 months ago | |
refactor(codegen): Delete invoke param offset Co-authored-by: Bee.Hujun<Bee.hujun@huawei.com> # message auto-generated for no-merge-commit merge: !4177 merge codegen/delete_locOffset into master refactor(codegen): Delete invoke param offset Created-by: cam_bxh Commit-by: Bee.Hujun Merged-by: cann-robot Description: 1. Delete invoke param offset See merge request: cann/pypto!4177 | 5 months ago | |
refactor(codegen): Delete invoke param offset Co-authored-by: Bee.Hujun<Bee.hujun@huawei.com> # message auto-generated for no-merge-commit merge: !4177 merge codegen/delete_locOffset into master refactor(codegen): Delete invoke param offset Created-by: cam_bxh Commit-by: Bee.Hujun Merged-by: cann-robot Description: 1. Delete invoke param offset See merge request: cann/pypto!4177 | 5 months ago | |
fix(codegen): Propagate parallel task exceptions instead of swallowing them Co-authored-by: anyangle<anyangle@huawei.com> # message auto-generated for no-merge-commit merge: !5266 merge compile_fix into master fix(codegen): Propagate parallel task exceptions instead of swallowing them Created-by: quadrate Commit-by: anyangle Merged-by: cann-robot Description: 1. 多线程 Codegen 确定性 Kernel 编译 Related Issue:[https://gitcode.com/cann/pypto/issues/2913](https://gitcode.com/cann/pypto/issues/2913) 2. Issue 背景:GenCode 内的 ExecuteParallelCompile 编译失败抛出 COMPILE_CODE_FAILED 被吞掉,leafDict[hash] = leaf 未执行,leafDict不完整。下游 ConstructCodeInfo → RunCompileAicoreKernelStage → RunEncodeStage 继续访问不完整的 leafDict,触发 std::unordered_map::at() 越界,抛出 F00003 RuntimeError: _Map_base::at 二次异常,掩盖了真实的编译错误 根因:codeGen在并行编译遇到错误抛出异常时,只记录日志,并不传播异常和终止剩余task,导致报错在第二现场F00003 RuntimeError: _Map_base::at处 解决方法:修改 ParallelExecuteAndWait,使其在 task 失败时记录错误、提前终止剩余 task、并在所有线程 join 后重新抛出首个 COMPILE_CODE_FAILED异常 修改前:  修改后:  See merge request: cann/pypto!5266 | 3 months ago | |
feat(codegen): Support KirinX90 LiteNPU Co-authored-by: zyingshu<zhangyingshu1@h-partners.com> # message auto-generated for no-merge-commit merge: !3691 merge 0528_master into master feat(codegen): Support KirinX90 LiteNPU Created-by: zyingshu Commit-by: zyingshu Merged-by: cann-robot Description: Related Issue: [[Requirement|需求建议]: pyPTO支持端侧kirinX90](https://gitcode.com/cann/pypto/issues/2027) Support KirinX90 LiteNPU See merge request: cann/pypto!3691 | 5 months ago | |
feat(Operation): Add pypto.conv_backward_input and its 2D implementation on A2/A3 Co-authored-by: hongyiliu111<liuhongyi1@huawei.com> Co-authored-by: xutianlong1<xutianlong1@huawei.com> Co-authored-by: wangshenhao<wangshenhao1@huawei.com> # message auto-generated for no-merge-commit merge: !5528 merge dev into master feat(Operation): Add pypto.conv_backward_input and its 2D implementation on A2/A3 Created-by: hongyiliu111 Commit-by: wangshenhao;hongyiliu111;xutianlong1 Merged-by: cann-robot Description: feat(Operation): Add pypto.conv_backward_input and its 2D implementation on A2/A3 Add pypto.conv_backward_input interface to compute the gradient of convolution with respect to the input tensor, and implement its 2D support spanning the frontend interface, backend operation implementation and MTE codegen Changes: - Add pypto.conv_backward_input frontend interface with parameter validation - Implement ConvBackwardInput 2D backend operation and codegen - Add UT/ST test cases for the 2D implementation See merge request: cann/pypto!5528 | 3 months ago | |
fix(codegen): Fix operandWithMagic out-of-bounds initialization Co-authored-by: anyangle<anyangle@huawei.com> # message auto-generated for no-merge-commit merge: !5678 merge issue into master fix(codegen): Fix operandWithMagic out-of-bounds initialization Created-by: quadrate Commit-by: anyangle Merged-by: cann-robot Description: 1. PyPTO codegen 模块日志整改 2. [Issue:2824](https://gitcode.com/cann/pypto/issues/2824)问题修改 3. [Issue:3020](https://gitcode.com/cann/pypto/issues/3020)问题修改 See merge request: cann/pypto!5678 | 3 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 2 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 5 months ago | ||
| 3 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 3 months ago | ||
| 5 months ago | ||
| 3 months ago | ||
| 3 months ago |