| feat(skills): Add Pro error diagnosis skill | 11 hours ago |
| fix: UT_report 阶段 upload 步骤增加 if: always() Co-authored-by: cui_jiahao<cuijiahao5@h-partners.com> # message auto-generated for no-merge-commit merge: !7568 merge fix/report-upload-always into master fix: UT_report 阶段 upload 步骤增加 if: always() Created-by: cui_jiahao Commit-by: cui_jiahao Merged-by: cann-robot Description: UT_report job 中 ut-cov-report 等前置步骤失败时,已产出的 ut_cov 报告包 仍需上传用于问题定位。 改动:JOB_ut_report 的 upload 步骤增加 if: ${{ always() }} (冒烟 PreSmoke_A3 的 upload 已有 always,无需改动)。改动量:1 行。 See merge request: cann/pypto!7568 | 10 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(machine): Fix pypto_aicpu tar install Co-authored-by: wan_jianfen<wanjianfen@hisilicon.com> # message auto-generated for no-merge-commit merge: !7685 merge br_builtIn into master fix(machine): Fix pypto_aicpu tar install 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!7685 | 2 days ago |
| refactor(pypto_pro): merge matmul bias into matmul op Co-authored-by: fa<yangzf993@163.com> # message auto-generated for no-merge-commit merge: !7650 merge fixdocs into master refactor(pypto_pro): merge matmul bias into matmul op Created-by: fafafafafa Commit-by: fa 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!7650 | 1 day ago |
| feat(pass): Remove slice false label Co-authored-by: 2501_92924845<niulinkai@huawei.com> # message auto-generated for no-merge-commit merge: !7696 merge slice1120 into master feat(pass): Remove slice false label Created-by: 2501_92924845 Commit-by: 2501_92924845 Merged-by: cann-robot Description: 背景 Slice 已默认开启。为让示例、测试和用户代码使用一致的编译路径,本 PR 下架 Python 侧及cpp侧的 enable_slice 开关,并清理用例中显式开启或关闭 Slice 的配置。 主要改动 - 移除 Python set_pass_options() 中的 enable_slice 参数及 get_pass_options() 中的对应字段。通过通用配置字典传入该选项时会报错。 - 清理示例、PyPTO Pro 和测试中的 Slice 覆盖配置,移除 pytest 启动时的强制开启逻辑。Gather、Matmul、TransData 和 Distributed ST 等用例恢复使用框架默认配置。 - 修复 ReplaceTensor 在 DDR VIEW 重绑定后未同步更新 COPY_IN 偏移的问题。将写入同一输出的 ASSEMBLE 之间的依赖 token 转移到实际写操作,保留 Conv1D 权重补零与有效权重写入的顺序。补充偏移回归测试,以及 token 搬移成功和拒绝分支的 UT。 See merge request: cann/pypto!7696 | 3 days ago |
| fix(pass): Preserve shared storage and WAR ordering for view updates Co-authored-by: zhangxiangjie<zhangxiangjie5@huawei.com> # message auto-generated for no-merge-commit merge: !7782 merge fix-issue16-error into master fix(pass): Preserve shared storage and WAR ordering for view updates Created-by: zhangxiangjie Commit-by: zhangxiangjie Merged-by: cann-robot Description: ## 问题 先通过 VIEW 读取旧值,再用局部 ASSEMBLE 覆盖共享张量,最后读取更新后的值。复现中,写后的读取仍拿到覆盖区域的旧值。消除视图时也需要保留先读后写(WAR)顺序,避免后续写入提前覆盖正在读取的数据。 ## 根因 - 在 **ReplaceTensor** 中,全量与局部 ASSEMBLE 的输出是共享一个 RawTensor 的两个逻辑张量。ForwardAssemble 的普通分支沿数据边遍历全量写入输出时,漏掉了共享 raw 的局部写入分支。局部写入算子仍写到独立存储,写后读取访问的目标存储没有被更新。 - **RemoveRedundantOp** 删除 VIEW 或 SLICE 后,下游读者改为直接读取原存储。原有迁移逻辑把视图的读完成 token 交给输入的数据生产者,后续同址写入可能在实际读取完成前启动。 ## 改动 - 在 ForwardAssemble 的普通分支调用 SyncSiblingAssembleOutput,将共享 raw 的其他 ASSEMBLE 输出加入前向和反向队列。现有反向逻辑随后把局部写入源绑定到目标 RawTensor 并设置写入偏移,token 重建将 WAR 依赖落到实际读取与写入算子之间。 - 当准备删除带读完成 token 的 VIEW 或 SLICE,且 token 消费者中有覆盖同一 raw 的 ASSEMBLE 或 CONTRACT 时,将该 token 的生产端迁移到视图输出的实际读者。若原 token 消费者已能沿数据边或 token 边到达这些读者,则保留视图,避免迁移后成环。 See merge request: cann/pypto!7782 | 1 day ago |
| refactor(dist): Fold window memory registration and connect into create_window Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !7776 merge channel1 into master refactor(dist): Fold window memory registration and connect into create_window Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: The previous window setup required a strict 3-step protocol (create_window -> register_memory -> connect), which was easy to misuse: a temporary tensor passed to register_memory could be garbage-collected while the window still referenced its address, region names had to be kept identical across ranks by hand, a not-yet-connected window had to be rejected at launch time, and the jetty table was allocated and copied to device even when no region used the URMA plane (kernels never touch it there). This PR simplifies the flow to a single collective call and skips the useless jetty work. See merge request: cann/pypto!7776 | 1 day ago |
| fix(machine): Add test info Co-authored-by: wan_jianfen<wanjianfen@hisilicon.com> # message auto-generated for no-merge-commit merge: !7774 merge br_builtIn into master fix(machine): Add test info 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!7774 | 2 days ago |
| feat(operation|pass)Adapt pre-stage quant for Kirin9030/KirinX90 Co-authored-by: fangrui_32<fangrui30@h-partners.com> # message auto-generated for no-merge-commit merge: !7180 merge master into master feat(operation|pass)Adapt pre-stage quant for Kirin9030/KirinX90 Created-by: fangrui_32 Commit-by: fangrui_32 Merged-by: cann-robot Description: Related issues:[[Requirement|需求建议]: Adapt pre-stage quant for Kirin9030/KirinX90](https://gitcode.com/cann/pypto/issues/3663) See merge request: cann/pypto!7180 | 2 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(operation): Support A6 vector operations Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7173 merge A6-vec into master feat(operation): Support A6 vector operations Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: pypto 支持 A6 vector 操作 1. 主要修改了每个算子支持类型 2. 部分算子需要添加 A6宏 3. simt 类算子,dcache 大小重新配置 See merge request: cann/pypto!7173 | 8 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 | 10 months ago |
| feat(codegen): Emit CCE opMagic/semanticLabel debug maps for TOOLKIT Co-authored-by: anyangle<anyangle@huawei.com> # message auto-generated for no-merge-commit merge: !7086 merge ide_codegen into master feat(codegen): Emit CCE opMagic/semanticLabel debug maps for TOOLKIT Created-by: quadrate Commit-by: anyangle Merged-by: cann-robot Description: Codegen适配 IDE(TOOLKIT)四联动场景:在生成 CCE 源码时补充调试映射能力,向 IDE 提供 CCE 代码位置与对应 TileOp 的 opMagic、semanticLabel 之间的关系,便于在调试过程中完成 CCE 与 TileOp 语义的关联跳转。 当 CFG_COMPILE_DEBUG_MODE 为 CFG_DEBUG_ALL 时,CodeGenNPU 在 CCE 生成完成后调用 tools/scripts/gen_cce_debug_map.py,扫描 CCE 输出目录并生成 cce_opmagic_map.json 与 cce_semantic_label.json。同时 InsertOpComment 会可选追加 [semanticLabel:...] 标记,供脚本解析。 另外,在compile_debug_mode模式下将 kernel_aicore 目录的绝对路径写入 run.data(key: kernel_aicore_path), 便于 IDE / 调试工具定位 CCE 源码目录。 Changes: - 新增 tools/scripts/gen_cce_debug_map.py,从 CCE 注释构建 opMagic / semanticLabel 映射表 - 在全量调试模式下由 CodeGenNPU::GenCode 调用调试映射脚本 - 扩展 InsertOpComment,在 opMagic 旁输出 semanticLabel - 新增 KEY_KERNEL_AICORE_PATH,并在 GenCode 阶段将 kernel_aicore 路径写入 run.data - 通过 MANIFEST.in / CMakeLists.txt 打包并安装该脚本 See merge request: cann/pypto!7086 | 9 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 | 23 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 | 23 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 |
| build(classify): Move tileop/conv to unrelease for conv classify rule Co-authored-by: xinweiliu<liuxinwei12@huawei.com> # message auto-generated for no-merge-commit merge: !7592 merge conv-classify-rule-adapt into master build(classify): Move tileop/conv to unrelease for conv classify rule Created-by: xinweiliu Commit-by: xinweiliu Merged-by: cann-robot Description: 框架侧 conv classify rule 适配:将 framework/src/interface/tileop/conv/ 从 operation_conv@pypto 的 release 列表移到 unrelease 列表。 See merge request: cann/pypto!7592 | 9 days ago |
| feat(pass): Remove slice false label Co-authored-by: 2501_92924845<niulinkai@huawei.com> # message auto-generated for no-merge-commit merge: !7696 merge slice1120 into master feat(pass): Remove slice false label Created-by: 2501_92924845 Commit-by: 2501_92924845 Merged-by: cann-robot Description: 背景 Slice 已默认开启。为让示例、测试和用户代码使用一致的编译路径,本 PR 下架 Python 侧及cpp侧的 enable_slice 开关,并清理用例中显式开启或关闭 Slice 的配置。 主要改动 - 移除 Python set_pass_options() 中的 enable_slice 参数及 get_pass_options() 中的对应字段。通过通用配置字典传入该选项时会报错。 - 清理示例、PyPTO Pro 和测试中的 Slice 覆盖配置,移除 pytest 启动时的强制开启逻辑。Gather、Matmul、TransData 和 Distributed ST 等用例恢复使用框架默认配置。 - 修复 ReplaceTensor 在 DDR VIEW 重绑定后未同步更新 COPY_IN 偏移的问题。将写入同一输出的 ASSEMBLE 之间的依赖 token 转移到实际写操作,保留 Conv1D 权重补零与有效权重写入的顺序。补充偏移回归测试,以及 token 搬移成功和拒绝分支的 UT。 See merge request: cann/pypto!7696 | 3 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 | 2 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 | 23 days ago |