| feat(pypto-pro): Add tile simd function Co-authored-by: poorwill<wangbing110@huawei.com> # message auto-generated for no-merge-commit merge: !7404 merge vf_fusion into master feat(pypto-pro): Add tile simd function Created-by: wangbing110 Commit-by: poorwill Merged-by: cann-robot Description: feat(pypto-pro): Add tile simd function See merge request: cann/pypto!7404 | 18 days ago |
| oidc切换 Co-authored-by: cui_jiahao<cuijiahao5@h-partners.com> # message auto-generated for no-merge-commit merge: !7464 merge oidc_switch into master oidc切换 Created-by: cui_jiahao Commit-by: cui_jiahao Merged-by: cann-robot Description: 对齐 cann/ops-math PR7091 与 cann/ops-transformer PR15274 的 OIDC 切换模式: - 所有含 obs-download/obs-upload 的 job 插入 huaweicloud-oidc-auth 步骤(region cn-north-4, duration 3600) - 移除 obs 步骤静态 access-key/secret-key(secrets.AK/SK) - pipeline 调用含 obs workflow(本地或 cann/.gitcode 共享 pre/codecheck)的 job 补 permissions: repository: read + id-token: write - 冒烟 plog 上传统一走 obs-upload(OIDC),移除冗余 upload.py 调用与静态 AK/SK 注入(已在 opencann/ops-transformer PR#43 实测验证) - 无 OBS 访问的 job(如镜像查询)不改动 See merge request: cann/pypto!7464 | 18 days ago |
| fix(agent): Use "opened" PR state in code-merge-agent Co-authored-by: xiaoyueyueyueyue<liuxiaoxiao11@huawei.com> # message auto-generated for no-merge-commit merge: !5916 merge fix/agent-use-opened-state into master fix(agent): Use "opened" PR state in code-merge-agent Created-by: xiaoyueyueyueyue Commit-by: xiaoyueyueyueyue Merged-by: cann-robot Description: GitCode/GitLab uses "opened" as the open PR state; "open" would never match. Changes: - Minimal one-spot fix. Validation: - No Issue linked. See merge request: cann/pypto!5916 | 2 months ago |
| fix(build): Work around LSan DTLS misread crash on glibc >= 2.25 Co-authored-by: chengding888<chengding1@hisilicon.com> # message auto-generated for no-merge-commit merge: !7163 merge 1027 into master fix(build): Work around LSan DTLS misread crash on glibc >= 2.25 Created-by: chengding888 Commit-by: chengding888 Merged-by: cann-robot Description: fix(build): Work around LSan DTLS misread crash on glibc >= 2.25 LLVM<17 sanitizer runtimes use the glibc 2.19 heuristic to locate dlopen dynamic TLS blocks. On glibc >= 2.25 those blocks are allocated via malloc, so the heuristic misreads the 16 bytes before the block and records an invalid DTLS range; LSan then scans a garbage interval at exit (SIGSEGV). LLVM 17 replaced the heuristic with an allocator metadata lookup ("glibc >=2.25 suspected" branch). Changes: - Append intercept_tls_get_addr=0 to ASAN_OPTIONS only for legacy runtimes: probe the preloaded libasan for GNU, gate on Clang version < 17 - The workaround expires automatically once the sanitizer runtime is upgraded to LLVM 17+ Verified: cmake probe case matrix (GNU old/fixed/missing libasan, Clang 15/16/17) passes; intercept_tls_get_addr=0 proven to fully disable the __tls_get_addr interceptor Related Issues: #3660 See merge request: cann/pypto!7163 | 1 month ago |
| fix(pypto_pro): Align fillpad validation and lowering with PTO ISA Validate fillpad buffer compatibility and restrict Mat tiles to NORMAL mode with NZ layout and null/zero padding. Reuse structural_equal on underlying Tile types while ignoring mutex wrappers, and preserve the existing Vec padding and source-alias behavior. Skip the null-pad source alias for Mat and derive NORMAL's synchronization pipe from the destination buffer (Mat: MTE2, Vec: V). Update the L1 padding documentation and add IR, codegen and synchronization regression coverage, including the Mat codegen golden. | 15 days ago |
| fix(exported_custom_op): Annotate output types and discover pypto nodes in nested onnx graphs Co-authored-by: Nikita Larichev<nikita.larichev@h-partners.com> # message auto-generated for no-merge-commit merge: !6848 merge prototype/nested-graph-discovery-3502 into master fix(exported_custom_op): Annotate output types and discover pypto nodes in nested onnx graphs Created-by: Nikita17 Commit-by: Nikita Larichev Merged-by: cann-robot Description: Fixes #3502. The filed defect is one of four seams that break the export of a scripted model with a pypto op inside a conditional: 1. **Root-only discovery.** find_pypto_nodes returns **0** on a nested model before and **1** after; zero nodes means no .so, so atc fails with E13010. Still root-only at node_reader.py:44 on master. 2. **onnx.checker rejects the nested export** — the synthesized output declares no type. 3. **A second root-only scan** in the GE standard-domain rewrite, leaving 2 empty-domain nodes in the subgraphs — the GE mixed-domain failure condition. 4. **Silently skipped opset stamping**, masked because torch writes ('pypto', 1) and our default is also 1. ## Why seam 2 needs the whole type Torch stamps the root output's type from the trace, so flat exports were always complete. Nested, it becomes a subgraph output nothing stamps, and the model output's type is merged from the If branch types — where a standard-op branch supplies the shape and no element type, so neither half suffices alone. Both nested topologies fail on the base commit. The annotation reads the op's own infer funcs, asking infer_shape twice under dynamic_axes and declaring only the dimensions that hold still. ## Changes 17 files, +1385 / -84. Four production files: - onnx/node_reader.py — one shared walk, iter_all_onnx_nodes, recursing on **attribute type** rather than op_type, so it covers containers nobody has enumerated yet. - onnx/export.py — annotate each output from the op's own infer funcs; warn rather than raise when an operand defeats it. - common/discovery.py and export/onnx_export.py — reuse that walk instead of a second root-only scan. - A demo at examples/03_advanced/exported_custom_op_litenpu/onnx/nested_control_flow/, shaped if A then add else if B then sub else mul. ## Verification of the exported behaviour A 6-topology by 2-axes matrix exports under onnx.checker — flat through depth 3, all-pypto branches included, static and dynamic_axes: **12 of 12 pass**, discovered-node count correct in every cell, nested cells failing on the base commit. Both UT suites pass with nothing lost by name: extension 339 to 342, tools 275 unchanged. On a 910B3 box with CANN 9.2.0, through a fresh build_ci.py install of this tip: the demo reaches ATC run success, markers balanced 3 of 3, .omc 62,450 bytes, and GE dispatches all 3 ops from below the root graph, 2 of them two levels down. The flat add floor still passes. A 3-cell A/B there shows GE never reads the declared shape: it is declared for onnx.checker, which gates whether a file is written. Related Issues: [#3502](https://gitcode.com/cann/pypto/issues/3502) See merge request: cann/pypto!6848 | 20 days ago |
| fix(pypto_pro): Align fillpad validation and lowering with PTO ISA Validate fillpad buffer compatibility and restrict Mat tiles to NORMAL mode with NZ layout and null/zero padding. Reuse structural_equal on underlying Tile types while ignoring mutex wrappers, and preserve the existing Vec padding and source-alias behavior. Skip the null-pad source alias for Mat and derive NORMAL's synchronization pipe from the destination buffer (Mat: MTE2, Vec: V). Update the L1 padding documentation and add IR, codegen and synchronization regression coverage, including the Mat codegen golden. | 15 days ago |
| fix(pypto_pro): Align fillpad validation and lowering with PTO ISA Validate fillpad buffer compatibility and restrict Mat tiles to NORMAL mode with NZ layout and null/zero padding. Reuse structural_equal on underlying Tile types while ignoring mutex wrappers, and preserve the existing Vec padding and source-alias behavior. Skip the null-pad source alias for Mat and derive NORMAL's synchronization pipe from the destination buffer (Mat: MTE2, Vec: V). Update the L1 padding documentation and add IR, codegen and synchronization regression coverage, including the Mat codegen golden. | 15 days ago |
| fix(install): Remove pypto_aicpu.tar.gz on uninstall Co-authored-by: chengding888<chengding1@hisilicon.com> # message auto-generated for no-merge-commit merge: !7495 merge master into master fix(install): Remove pypto_aicpu.tar.gz on uninstall Created-by: chengding888 Commit-by: chengding888 Merged-by: cann-robot Description: fix(install): Remove pypto_aicpu.tar.gz on uninstall pypto_custom_install.sh installs the signed AICPU kernel tar to ${ASCEND_AICPU_PATH:-${PKG_INSTALL_PATH}}/opp/built-in/op_impl/aicpu/kernel, but pypto_custom_uninstall.sh never removes it. The file is left behind after uninstall, and when ASCEND_AICPU_PATH is set it lives outside PKG_INSTALL_PATH, so the existing directory cleanup can not cover it. Changes: - Add pypto_uninstall_aicpu_kernel to remove pypto_aicpu.tar.gz with the same path expression used by install - Remove the empty directory chain with rmdir, so a shared OPP directory that still holds other components is left untouched - Skip removal with an INFO log when the tar or the install path is absent, and keep uninstall running when rm fails, since the script runs with set -e Related Issues: #3816 See merge request: cann/pypto!7495 | 20 days ago |
| fix(exported_custom_op): Annotate output types and discover pypto nodes in nested onnx graphs Co-authored-by: Nikita Larichev<nikita.larichev@h-partners.com> # message auto-generated for no-merge-commit merge: !6848 merge prototype/nested-graph-discovery-3502 into master fix(exported_custom_op): Annotate output types and discover pypto nodes in nested onnx graphs Created-by: Nikita17 Commit-by: Nikita Larichev Merged-by: cann-robot Description: Fixes #3502. The filed defect is one of four seams that break the export of a scripted model with a pypto op inside a conditional: 1. **Root-only discovery.** find_pypto_nodes returns **0** on a nested model before and **1** after; zero nodes means no .so, so atc fails with E13010. Still root-only at node_reader.py:44 on master. 2. **onnx.checker rejects the nested export** — the synthesized output declares no type. 3. **A second root-only scan** in the GE standard-domain rewrite, leaving 2 empty-domain nodes in the subgraphs — the GE mixed-domain failure condition. 4. **Silently skipped opset stamping**, masked because torch writes ('pypto', 1) and our default is also 1. ## Why seam 2 needs the whole type Torch stamps the root output's type from the trace, so flat exports were always complete. Nested, it becomes a subgraph output nothing stamps, and the model output's type is merged from the If branch types — where a standard-op branch supplies the shape and no element type, so neither half suffices alone. Both nested topologies fail on the base commit. The annotation reads the op's own infer funcs, asking infer_shape twice under dynamic_axes and declaring only the dimensions that hold still. ## Changes 17 files, +1385 / -84. Four production files: - onnx/node_reader.py — one shared walk, iter_all_onnx_nodes, recursing on **attribute type** rather than op_type, so it covers containers nobody has enumerated yet. - onnx/export.py — annotate each output from the op's own infer funcs; warn rather than raise when an operand defeats it. - common/discovery.py and export/onnx_export.py — reuse that walk instead of a second root-only scan. - A demo at examples/03_advanced/exported_custom_op_litenpu/onnx/nested_control_flow/, shaped if A then add else if B then sub else mul. ## Verification of the exported behaviour A 6-topology by 2-axes matrix exports under onnx.checker — flat through depth 3, all-pypto branches included, static and dynamic_axes: **12 of 12 pass**, discovered-node count correct in every cell, nested cells failing on the base commit. Both UT suites pass with nothing lost by name: extension 339 to 342, tools 275 unchanged. On a 910B3 box with CANN 9.2.0, through a fresh build_ci.py install of this tip: the demo reaches ATC run success, markers balanced 3 of 3, .omc 62,450 bytes, and GE dispatches all 3 ops from below the root graph, 2 of them two levels down. The flat add floor still passes. A 3-cell A/B there shows GE never reads the declared shape: it is declared for onnx.checker, which gates whether a file is written. Related Issues: [#3502](https://gitcode.com/cann/pypto/issues/3502) See merge request: cann/pypto!6848 | 20 days ago |
| style(config): Update .clang-format and .pre-commit-config.yaml rules Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4877 merge style-config-ci into master style(config): Update .clang-format and .pre-commit-config.yaml rules Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Update .clang-format and .pre-commit-config.yaml rules See merge request: cann/pypto!4877 | 4 months ago |
| fix(docs): Add the index files Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !5184 merge master into master fix(docs): Add the index files Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: 1、将pypto.isnan、pypto.pack、pypto.unpack接口文档写入目录文件index_hiascend.md 2、pypto.isnan、pypto.pack、pypto.unpack接口支持910DT,增加相关描述,并补充芯片标签。 3、删除目录中不存在的内容引用:pypto-copysign 4、图片lfs跟踪文件统一到仓库根目录下 Related Issue: [#2814](https://gitcode.com/cann/pypto/issues/2814) See merge request: cann/pypto!5184 | 3 months ago |
| style(config): Update .clang-format and .pre-commit-config.yaml rules Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4877 merge style-config-ci into master style(config): Update .clang-format and .pre-commit-config.yaml rules Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Update .clang-format and .pre-commit-config.yaml rules See merge request: cann/pypto!4877 | 4 months ago |
| feat(pre-commit): Add the log spec check hook Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !6751 merge log_check_skill into master feat(pre-commit): Add the log spec check hook Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 新增一个本地 pre-commit 项,通过本地 agent CLI 调用 pypto-log-check skill,检查本次提交新增的日志语句。 仅扫描 framework/include、framework/src、python/pypto、python/pypto_pro 和 python/src 五个目录。 命中致命或严重级别问题会阻断提交;未安装受支持的 agent CLI 时自动跳过检查。 See merge request: cann/pypto!6751 | 1 month ago |
| docs(feat): Add pypto-doc-reviewer Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !6895 merge master into master docs(feat): Add pypto-doc-reviewer Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: 新增文档质检skill,用于文档自检和PR审核 See merge request: cann/pypto!6895 | 1 month ago |
| feat(machine): Support for 9201 Co-authored-by: qq_52905393<liuzhen180@huawei.com> # message auto-generated for no-merge-commit merge: !6940 merge dev-adapt-next into master feat(machine): Support for 9201 Created-by: qq_52905393 Commit-by: qq_52905393 Merged-by: cann-robot Description: 适配 9201 特性 See merge request: cann/pypto!6940 | 20 days 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 |
| Initial commit | 11 months ago |
| feactor(machine): Add built-in pypto tar Co-authored-by: wan_jianfen<wanjianfen@hisilicon.com> # message auto-generated for no-merge-commit merge: !7398 merge br_builtIn into master feactor(machine): Add built-in pypto tar Created-by: wan_jianfen Commit-by: wan_jianfen 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!7398 | 21 days ago |
| feat(interface): Support getinputdata for all integral types Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !2224 merge refactor/deadcode into master feat(interface): Support getinputdata for all integral types Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: 1. startArgsSymbolHandlerList of devProg does not used any more 2. Support getinputdata for all integral types Related Issue: [#408](https://gitcode.com/cann/pypto/issues/408) See merge request: cann/pypto!2224 | 7 months ago |
| docs(install): Add English install docs and restructure install directory Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !7320 merge docs/install-en-translation into master docs(install): Add English install docs and restructure install directory Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: ### 变更说明 新增英文安装文档并重构安装目录结构: - 新增 docs/en/install/ 英文安装文档:index.md、prepare_environment.md、build_and_install.md、examples_invocation.md - 重构中文安装目录:将 prepare_environment.md、examples_invocation.md 移动至 docs/zh/install/,与英文目录结构对齐 - 将产品标签规则合并至开源写作规范(.agents/skills/pypto-doc-reviewer) See merge request: cann/pypto!7320 | 29 days ago |
| docs(install): Add English install docs and restructure install directory Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !7320 merge docs/install-en-translation into master docs(install): Add English install docs and restructure install directory Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: ### 变更说明 新增英文安装文档并重构安装目录结构: - 新增 docs/en/install/ 英文安装文档:index.md、prepare_environment.md、build_and_install.md、examples_invocation.md - 重构中文安装目录:将 prepare_environment.md、examples_invocation.md 移动至 docs/zh/install/,与英文目录结构对齐 - 将产品标签规则合并至开源写作规范(.agents/skills/pypto-doc-reviewer) See merge request: cann/pypto!7320 | 29 days ago |
| fix(docs): Precision tools do not have a recompilation scenario Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !4153 merge master into master fix(docs): Precision tools do not have a recompilation scenario Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: 1、仓库文档国际化,新增英文readme文件,skill和docs暂不翻译 2、精度工具文档陈旧内容修改:1)删除精度工具重编译步骤 2)更新msaccucmp.py执行命令,明确执行路径、不带版本信息,便于用户在不同版本通用执行 3、webide安装方式的安装界面截图变更 Related Issue: #2345 See merge request: cann/pypto!4153 | 5 months ago |
| fix(docs): Precision tools do not have a recompilation scenario Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !4153 merge master into master fix(docs): Precision tools do not have a recompilation scenario Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: 1、仓库文档国际化,新增英文readme文件,skill和docs暂不翻译 2、精度工具文档陈旧内容修改:1)删除精度工具重编译步骤 2)更新msaccucmp.py执行命令,明确执行路径、不带版本信息,便于用户在不同版本通用执行 3、webide安装方式的安装界面截图变更 Related Issue: #2345 See merge request: cann/pypto!4153 | 5 months ago |
| fix(interpreter): Fix tile_fwk_calculator compiler error in g++ 13.3.0 Co-authored-by: DCGDDD<yangxu14@huawei.com> # message auto-generated for no-merge-commit merge: !1453 merge interpreter into master fix(interpreter): Fix tile_fwk_calculator compiler error in g++ 13.3.0 Created-by: DCGDDD Commit-by: DCGDDD Merged-by: cann-robot Description: Fix tile_fwk_calculator compiler error in g++ 13.3.0 See merge request: cann/pypto!1453 | 8 months ago |
| feat(gcov): Support gcov of python scene Co-authored-by: DCGDDD<yangxu14@huawei.com> # message auto-generated for no-merge-commit merge: !3250 merge master into master feat(gcov): Support gcov of python scene Created-by: DCGDDD Commit-by: DCGDDD Merged-by: cann-robot Description: 为 Python 前端用例增加 gcov 覆盖率统计能力。 主要修改: - 新增 gen_coverage_config.py 在 CMake POST_BUILD 阶段生成覆盖率配置 - setup.py 写入 build_dir 标记文件供 build_ci.py 定位配置文件 - build_ci.py 新增 py_generate_coverage 函数生成覆盖率报告 - 修复 CMake VERBATIM 问题,处理生成器表达式展开后的分号分隔路径(同时修复 C++ 覆盖率场景) See merge request: cann/pypto!3250 | 6 months ago |
| fix(build): Flush gcov data for pytest-forked subprocess coverage Co-authored-by: chengding888<chengding1@hisilicon.com> # message auto-generated for no-merge-commit merge: !6148 merge master into master fix(build): Flush gcov data for pytest-forked subprocess coverage Created-by: chengding888 Commit-by: chengding888 Merged-by: cann-robot Description: ## 背景 Python UT 通过 --forked(pytest-forked)并行执行用例,子进程以 os._exit() 退出,会跳过 atexit 钩子,导致 gcov 的 __gcov_exit 不被调用、.gcda 覆盖率数据不落盘。因此 --gcov 无法统计到由 Python UT 触发的 C++ 覆盖率(issue #2705)。 ## 解决方案 1. **python/tests/ut/conftest.py**:新增 pytest_runtest_teardown 钩子,当环境变量 PYPTO_GCOV_FLUSH=1 时手动调用 __gcov_dump(),把内存中的计数器写入 .gcda;并补充 duration_estimate 装饰器。 2. **build_ci.py**:--gcov 时注入 PYPTO_GCOV_FLUSH=1。 3. **cmake/intf.cmake**:gcov 模式追加链接选项 -Wl,--export-dynamic,-u,__gcov_dump,--whole-archive,-lgcov,--no-whole-archive。仅加 -u,__gcov_dump 时 _gcov_dump.o 不会被 lgcov.a 拉入,__gcov_dump 保持未定义,ctypes.CDLL(None) 找不到该符号,必须用 --whole-archive 强制拉入。 4. **cmake/scripts/gen_coverage.py**:lcov >= 2.0 时追加 --ignore-errors inconsistent,将 lcov 2.3.1 对 pybind11.cpp 的 mismatched end line 由 ERROR 降级为 WARNING,避免覆盖率生成失败。 5. **tools/scripts/pre_commit_check.sh**: - 修正覆盖率开关(--py_cov → --gcov)、clang 失败退出码、GTEST_FILTER 保存/恢复、覆盖率标签等; - 移除本地增量覆盖率门禁:本地 gen_coverage.py --increment 与 CI 的 get_ai_inc_cov.py(addlcov) 是两套独立实现,增量覆盖率无法保证与 CI 一致,门禁统一由 CI 兜底。 ## 验证 - bash tools/scripts/pre_commit_check.sh --full 全部通过(gnu / clang+ASan / Python / costmodel 仿真,耗时约 4779s)。 - 确认 Python UT 触发场景下 C++ 覆盖率数据(.gcda)可正常落盘并被 --gcov 统计。 Related Issue: #2705 See merge request: cann/pypto!6148 | 2 months ago |
| fix(machine): fix log quality issues in machine module. Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5679 merge pyptolog_fix into master fix(machine): fix log quality issues in machine module. Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: PyPTO machine 模块日志整改 See merge request: cann/pypto!5679 | 3 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 | 28 days ago |
| feat(version): Bump pypto version from 0.2.1 to 0.3.0 Co-authored-by: chengding888<chengding1@hisilicon.com> # message auto-generated for no-merge-commit merge: !7026 merge master into master feat(version): Bump pypto version from 0.2.1 to 0.3.0 Created-by: chengding888 Commit-by: chengding888 Merged-by: cann-robot Description: feat(version): Bump pypto version from 0.2.1 to 0.3.0 The wheel and sdist packages built by python3 build_ci.py --clean --no_isolation currently carry version 0.2.1. Bump the package version to 0.3.0 for the new release, and switch the packaging scripts from hardcoded whl file names to wildcard matching so future releases only need to update pyproject.toml. This mirrors the change already merged on the 9.2.0 branch (cann/pypto!6300). Changes: - Update version in pyproject.toml from 0.2.1 to 0.3.0 - Change the whl file name in scripts/package/module/ascend/PyptoSo.xml to wildcard pypto-*.whl - Change the whl file path in scripts/package/pypto/scripts/pypto_custom_install.sh to dynamic glob matching - Add the 9.2.0 -> 0.3.0 CANN-PyPTO version mapping in docs/zh/install/build_and_install.md - Update the pip show pypto example version in .agents/skills/pypto-simulation/SKILL.md to 0.3.0 Verified with python3 build_ci.py --clean --no_isolation, which produces pypto-0.3.0-cp37-abi3-manylinux2014_aarch64.whl and pypto-0.3.0.tar.gz, and the run package correctly contains the 0.3.0 whl. See merge request: cann/pypto!7026 | 1 month ago |
| fix(test): cleanup log level and test configuration Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5773 merge fixlogbug into master fix(test): cleanup log level and test configuration Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 删除models目录后,将对应pytest文件中关于models的内容删除 由于framework/src/adapter/manager/cann_adapter.h中空指针不会影响后续执行,改回info级别日志,调整日志信息 See merge request: cann/pypto!5773 | 2 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 |
| fix(build): Update CANN package version to 9.3.0 Co-authored-by: chengding888<chengding1@hisilicon.com> # message auto-generated for no-merge-commit merge: !7322 merge fix/build-cann-version-9.3.0 into master fix(build): Update CANN package version to 9.3.0 Created-by: chengding888 Commit-by: chengding888 Merged-by: cann-robot Description: fix(build): Update CANN package version to 9.3.0 The run package version is read from version.cmake. Bump it to 9.3.0 so the generated run package matches the CANN 9.3.0 release instead of 9.2.0. Changes: - Update set_cann_package(pypto VERSION ...) from 9.2.0 to 9.3.0 in version.cmake Verification: - python3 build_ci.py --no_isolation succeeded - Artifact: build_out/cann-pypto_9.3.0_linux-aarch64.run; version.info and whl X-Run-Version report 9.3.0 Related Issues: #3330 See merge request: cann/pypto!7322 | 29 days ago |