| Files | Last commit | Last update |
|---|---|---|
style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 4 months ago | |
feat(frontend): Sync compute determinism from torch_npu Co-authored-by: songyangyang18<songyangyang18@huawei.com> # message auto-generated for no-merge-commit merge: !5622 merge torch-npu into master feat(frontend): Sync compute determinism from torch_npu Created-by: songyangyang18 Commit-by: songyangyang18 Merged-by: cann-robot Description: PyPTO 编码侧的计算确定性需要与 torch_npu 进程级设置保持一致。 前端同步:在 JIT 编译入口读取 torch_npu.npu._get_deterministic_level(),写入已有 global config 项 compute_determinism_level(取值 0/1/2),后端通过 ConfigManagerNg::GetGlobalConfig 读取。 level 含义与 torch_npu 一致:0 关闭,1 仅确定性,2 强一致性。约定进程内 level 固定,不在运行中切换。 See merge request: cann/pypto!5622 | 3 months ago | |
feat(operation): Support int64/uint64 for vector operations Co-authored-by: junnyleo<lijun580@huawei.com> # message auto-generated for no-merge-commit merge: !5572 merge feat/dtype into master feat(operation): Support int64/uint64 for vector operations Created-by: junnyleo Commit-by: junnyleo Merged-by: cann-robot Description: 本 PR 旨在为向量(vector)算子补充 int64/uint64 数据类型支持。改动主要为: 1. 通过 GetSupportedDataTypesByArch 在 A5 架构(DAV_3510)的算子支持类型集合中加入 DT_INT64/DT_UINT64; 2. 新增 CheckInt64Broadcast 校验以禁止 int64/uint64 输入的 broadcast;同时修正标量 Element 的构造/转换路径(int64 不经 float、uint64 不经 int64 中转),避免大数值精度丢失或符号翻转; 3. 在 tile-op 内核层为 int64 补齐 FloorDiv、compare、logicalnot、unary 等实现; 4. 配套更新了 Python 侧与测试用例及md文档。 Related Issue: #3141 See merge request: cann/pypto!5572 | 3 months ago | |
fix(ir): Support move Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !5657 merge slot-move into master fix(ir): Support move Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Related Issue: #2559 See merge request: cann/pypto!5657 | 3 months ago | |
fix(ir): pil2ir pre-pass no longer creates redundant output folder or graph dump Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !5583 merge master into master fix(ir): pil2ir pre-pass no longer creates redundant output folder or graph dump Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: pil2ir pre-pass no longer creates redundant output folder or graph dump See merge request: cann/pypto!5583 | 3 months ago | |
refactor(api): replace Vf class *args/**kwargs with explicit signatures Co-authored-by: gravel1997<shili19@huawei.com> # message auto-generated for no-merge-commit merge: !4982 merge pro_kw_fix into master refactor(api): replace Vf class *args/**kwargs with explicit signatures Created-by: gravel1997 Commit-by: gravel1997 Merged-by: cann-robot Description: refactor(api): replace Vf class *args/**kwargs with explicit signatures Related Issue: [#2702](https://gitcode.com/cann/pypto/issues/2702) See merge request: cann/pypto!4982 | 4 months ago | |
fix(build_ci): auto-derive job_num from CPU count and cgroup memory Co-authored-by: chen_chenn<chenchen167@huawei.com> # message auto-generated for no-merge-commit merge: !5721 merge fix_build_ci_job_num into master fix(build_ci): auto-derive job_num from CPU count and cgroup memory Created-by: chen_chenn Commit-by: chen_chenn Merged-by: cann-robot Description: 修复 1. build_ci默认并发度过高导致高核低内存环境编译OOM 2. [文档] 编译(pip install .)未说明内存/并行度要求,默认并行在 32Gi 内存仍 OOM(exit 137) See merge request: cann/pypto!5721 | 3 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(interface): Unify PYPTO log macros and add level check Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !3118 merge pypto_log into master fix(interface): Unify PYPTO log macros and add level check Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: 1. 修复通用日志接口 缺少日志级别检查的问题 2. 重构PYPTO_LOG宏,减少重复代码 3. 补充python前端错误码使用 See merge request: cann/pypto!3118 | 6 months ago | |
style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 4 months ago | |
style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 4 months ago | |
feat(frontend): Sync compute determinism from torch_npu Co-authored-by: songyangyang18<songyangyang18@huawei.com> # message auto-generated for no-merge-commit merge: !5622 merge torch-npu into master feat(frontend): Sync compute determinism from torch_npu Created-by: songyangyang18 Commit-by: songyangyang18 Merged-by: cann-robot Description: PyPTO 编码侧的计算确定性需要与 torch_npu 进程级设置保持一致。 前端同步:在 JIT 编译入口读取 torch_npu.npu._get_deterministic_level(),写入已有 global config 项 compute_determinism_level(取值 0/1/2),后端通过 ConfigManagerNg::GetGlobalConfig 读取。 level 含义与 torch_npu 一致:0 关闭,1 仅确定性,2 强一致性。约定进程内 level 固定,不在运行中切换。 See merge request: cann/pypto!5622 | 3 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 | |
style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 4 months 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 | |
style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 4 months ago | |
style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 4 months ago | |
feat(ir): Create root function Co-authored-by: zhuqingbo<zhuqingbo@huawei.com> # message auto-generated for no-merge-commit merge: !3758 merge aa into master feat(ir): Create root function Created-by: gcw_zcOFYzUr Commit-by: zhuqingbo Merged-by: cann-robot Description: 主要完成3个转换: * IR上的条件语句合并 * 推导token * 生成function See merge request: cann/pypto!3758 | 5 months ago | |
feat(pypto_pro): Upload for vf api - merge mask and reg api Co-authored-by: liuyu<liuyu205@hisilicon.com> # message auto-generated for no-merge-commit merge: !4946 merge master into master feat(pypto_pro): Upload for vf api - merge mask and reg api Created-by: liuyu205 Commit-by: liuyu Merged-by: cann-robot Description: upload for vf api - merge mask and reg api See merge request: cann/pypto!4946 | 3 months ago | |
style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 4 months ago | |
fix(operation): Add viewshape check for GatherMask last axis Co-authored-by: Apricityh<wangxu359@huawei.com> # message auto-generated for no-merge-commit merge: !5626 merge fix/gathermask-view-split-check into master fix(operation): Add viewshape check for GatherMask last axis Created-by: Apricityh Commit-by: Apricityh Merged-by: cann-robot Description: 为 GatherMask 动态场景的最后一个轴添加viewshape不可切分约束检查 See merge request: cann/pypto!5626 | 3 months ago | |
fix(operator): Fix sigmoid bug Co-authored-by: congqiannan<congqiannan@huawei.com> # message auto-generated for no-merge-commit merge: !5423 merge master into master fix(operator): Fix sigmoid bug Created-by: congqiannan Commit-by: congqiannan Merged-by: cann-robot Description: fix(operator): Fix sigmoid bug See merge request: cann/pypto!5423 | 3 months ago | |
style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 4 months ago | |
style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 4 months ago | |
style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 4 months ago | |
style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 4 months ago | |
fix(ir): Handle tensor‑move logic across loop boundaries Co-authored-by: Immutable01<gaoqiancheng@huawei.com> # message auto-generated for no-merge-commit merge: !5512 merge 0818_dump_beta2 into master fix(ir): Handle tensor‑move logic across loop boundaries Created-by: Immutable01 Commit-by: Immutable01 Merged-by: cann-robot Description: 老ir中move涉及到跨循环时,若move目标是有外部输入view出来的,数据会伴随着rawtensor传递;新ir中会创建新的carry,导致数据无法跨循环传递 See merge request: cann/pypto!5512 | 3 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 4 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 6 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 5 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 3 months ago |