| fix(agent): Repair pass graph documentation link Co-authored-by: xiaoyueyueyueyue<liuxiaoxiao11@huawei.com> # message auto-generated for no-merge-commit merge: !5870 merge fix/agent-pass-graph-doc-link-0902 into master fix(agent): Repair pass graph documentation link Created-by: xiaoyueyueyueyue Commit-by: xiaoyueyueyueyue Merged-by: cann-robot Description: The pass error locator links to a documentation path that no longer exists. Point it to the current debugging guide and its computation-graph section. Changes: - Replace the dead computation graph documentation link Validation: - Ran the repository skill validator; R18 no longer reports a missing path - Confirmed the target heading exists Diff size: 1 addition, 1 deletion See merge request: cann/pypto!5870 | 2 个月前 |
| fix the incompatibility between pytest_forked 1.7.5 and torch_npu Co-authored-by: chen_chenn<chenchen167@huawei.com> # message auto-generated for no-merge-commit merge: !5843 merge master into master fix the incompatibility between pytest_forked 1.7.5 and torch_npu Created-by: chen_chenn Commit-by: chen_chenn Merged-by: cann-robot Description: 修复python3 -m pytest "$TARGET" -v --durations=0 -s --capture=no --rootdir=/tmp/devx_workspace --forked 报错 python/tests/st/frontend/test_function_kernel.py::test_add_with_kwargs_check_stable FAILED msg = (f"NPU call failed lazily at initialization with error: {str(e)}\n\n" raise RuntimeError( "Cannot re-initialize NPU in forked subprocess. To use NPU with " E RuntimeError: Cannot re-initialize NPU in forked subprocess. To use NPU with multiprocessing, you must use the 'spawn' start method /usr/local/lib/python3.11/site-packages/torch_npu/npu/__init__.py:269: RuntimeError FAILED python/tests/st/frontend/test_function_kernel.py::test_add_with_kwargs_check_stable ============================== 1 failed in 0.52s =============================== See merge request: cann/pypto!5843 | 2 个月前 |
| refactor(agent): Remove operator-development skills and agents Co-authored-by: wangzheng97<wangzheng97@hisilicon.com> # message auto-generated for no-merge-commit merge: !4605 merge chore-remove-op-dev-skills into master refactor(agent): Remove operator-development skills and agents Created-by: wangzheng97 Commit-by: wangzheng97 Merged-by: cann-robot Description: refactor(agent): Remove operator-development skills and agents The agents and skills in this repository should focus on developing and maintaining the PyPTO framework itself: debugging and error location, compile-time Pass analysis, environment setup, and PR/Issue workflows. This PR removes the operator-development skills and agents together with their state-machine plugins and lint hook, so the tooling scope matches the repository. Changes: - Delete 17 operator-development skills (api-explore, golden-generate, op-design, op-develop, op-perf-tune, precision-compare, fused-op-integration, etc.) - Delete 9 operator-development agents (op-orchestrator, op-coder, op-verifier, etc.) - Delete state-machine plugins (.opencode/plugins/: op-lint, state-transition) and the lint engine (.agents/hooks/pypto-op-lint/) - Delete migrate-huggingface-to-npu (unrelated to framework maintenance) - Update .agents/README.md and AGENTS.md, and delete .agents/settings.json, to drop the now-dangling references; trim AGENTS.md to project scope, general principles and entry-point lookup - Consolidate AGENTS.md's general principles into 5 core rules: the 4 principles from Andrej Karpathy's CLAUDE.md (official Chinese translation, forrestchang/andrej-karpathy-skills) — think before coding, simplicity first, surgical changes, goal-driven execution — plus one evidence-before-conclusion rule for diagnostic work - Inline list_idle_chip_ids.sh into pypto-environment-setup and fix dangling references in pypto-skill-validation-prompt and docs/zh/trouble_shooting - Keep pypto-code-merge-agent and the framework debugging / Pass / environment / PR-Issue skills Related Issues: #2533 See merge request: cann/pypto!4605 | 4 个月前 |
| fix(machine): fix mismatch and incomplete error descriptions in machine and misc files Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5806 merge pyptolog_fix3 into master fix(machine): fix mismatch and incomplete error descriptions in machine and misc files Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: machine 日志内容整改 See merge request: cann/pypto!5806 | 2 个月前 |
| fix(operation): Restrict LogicalNot integer dtypes to A5 | 2 个月前 |
| fix(docs): Fix issue #2803 and #2800 Co-authored-by: HuYiSheng01<hys123456aaa@163.com> # message auto-generated for no-merge-commit merge: !5890 merge master into master fix(docs): Fix issue #2803 and #2800 Created-by: HuYiSheng01 Commit-by: HuYiSheng01 Merged-by: cann-robot Description: 1. 移除不存在的 pypto.gelu() API(#2803) 文件: docs/zh/tutorials/development/tensor_operation.md 删除两行 gelu 示例代码,注释"ReLU变体"同步改为"ReLU" 2. 统一 Softmax 示例 output 切片写法(#2800) 文件: docs/zh/tutorials/introduction/quick_start.md、examples/02_intermediate/operators/softmax/softmax.py(文档引用示例源码,需同步修改) 修复:b_offset:, ... → b_offset:b_offset_end, ... See merge request: cann/pypto!5890 | 2 个月前 |
| fix(operation): Restrict LogicalNot integer dtypes to A5 | 2 个月前 |
| Add scalar limit check for int and float Co-authored-by: gaoxiang<gaoxiang26@huawei.com> # message auto-generated for no-merge-commit merge: !5812 merge master into master Add scalar limit check for int and float Created-by: gaoxiang618 Commit-by: gaoxiang Merged-by: cann-robot Description: 1. 增加对于pl和vf接口的scalar范围校验 2. 修正vf接口的scalar类型推导 See merge request: cann/pypto!5812 | 2 个月前 |
| feat(build): Support RPM/DEB packaging in unified build scenarios. Co-authored-by: wangmingjun<wangmingjun13@huawei.com> # message auto-generated for no-merge-commit merge: !5277 merge feat/build-pkg-type-rpm-deb into master feat(build): Support RPM/DEB packaging in unified build scenarios. Created-by: hwwangmingjun Commit-by: wangmingjun Merged-by: cann-robot Description: feat(build): 支持统一构建场景下的 rpm/deb 打包 为支持 CANN 全量源码构建场景,新增 PACKAGE_TYPE CMake 选项与 --pkg-type 命令行参数,支持产出 run/rpm/deb/all 多种安装包格式。RPM/DEB 包通过自定义 postinst/prerm 钩子完成 PyPTO wheel 的安装与卸载,并统一安装包元数据文件权限。 主要改动: - CMakeLists.txt 新增 PACKAGE_TYPE 缓存变量,并透传至 set_cann_cpack_config - build_ci.py 新增 --pkg-type 参数(run/rpm/deb/all),并传递给 CMake - 新增 rpm_deb/custom_postinst.sh,在 RPM/DEB 安装时安装 PyPTO wheel - 新增 rpm_deb/custom_prerm.sh,在 RPM/DEB 卸载时卸载 PyPTO wheel - 修正 scripts/package/pypto/pypto.xml 中 install_mod 权限配置 Related Issues: #2573 See merge request: cann/pypto!5277 | 3 个月前 |
| feat(ci): Add local pre-commit check script for UT and coverage Co-authored-by: chengding888<chengding1@hisilicon.com> # message auto-generated for no-merge-commit merge: !5829 merge 0831 into master feat(ci): Add local pre-commit check script for UT and coverage Created-by: chengding888 Commit-by: chengding888 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!5829 | 2 个月前 |
| 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 个月前 |
| 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 个月前 |
| 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 个月前 |
| 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 个月前 |
| feat(skill): Add pypto-machine-code-review skill, remove pypto-aicpu-perf-coding Co-authored-by: gaoxingwang<camuel.gao@huawei.com> # message auto-generated for no-merge-commit merge: !5219 merge feat/machine-code-review-skill into master feat(skill): Add pypto-machine-code-review skill, remove pypto-aicpu-perf-coding Created-by: gaoxingwang Commit-by: gaoxingwang Merged-by: cann-robot Description: Merge pypto-aicpu-perf-coding into pypto-machine-code-review. See commit message for details. See merge request: cann/pypto!5219 | 3 个月前 |
| fix(machine): Fix bisheng warning log Co-authored-by: anyangle<anyangle@huawei.com> # message auto-generated for no-merge-commit merge: !5391 merge bisheng into master fix(machine): Fix bisheng warning log Created-by: quadrate Commit-by: anyangle Merged-by: cann-robot Description: ## 1. 背景与问题 A5 场景下,动态 kernel 编译会调用 bisheng。成功时终端仍会刷大量 note:: text note: .../aicore_entry_dfx.h:117:33: Identify the scenario where the NOP instruction is inserted to prevent a running failure. note: .../aicore_entry_devtask.h:49:72: Identify the scenario where the NOP instruction is inserted to prevent a running failure. 来源是 bisheng 的 **Auto NOP Insert** pass(cce-aicore-auto-nop-insert),用于在特定指令序列中自动插入 NOP,避免上板运行失败。该诊断打在 **stdout**。 ## 2. 方案验证 当前涉及 bisheng 编译的有两个场景,分别在 codegen_npu.cpp 和 aicore_compiler.cpp 中。实验了以下几种方案: | 方案 | 能否消 note | 风险 / 代价 | 结论 | |------|-------------|-------------|------| | -mllvm -cce-aicore-auto-nop-insert=false | 能 | 关闭自动插 NOP,可能上板失败 | 否决 | | 编译命令加 -w | aicore 路径压不住 | 还会掩盖其它 warning | 否决 | | stdout/stderr 全量落盘 | 能 | 真实错误也进日志,终端即时性差 | 过重 | | **仅 stdout 落盘,失败回显** | 能 | 不改编译语义 | **采用** | 经确认,刷屏来自 CompileCoreMachine,leaf(codegen_npu.cpp)无贡献,因此只改 aicore 路径。 ## 3. 实现方案 ### 3.1 核心思路 Checkinject 禁止 std::system() 参数中出现 ; | < > \ 等 shell 元字符,因此 **不能在 C++ 里直接拼 bisheng ... > log**。 改为通过固定脚本 run_to_log.sh 在 shell 内部完成 stdout 重定向;C++ 仅执行不含 > 的 bash 调用。 ### 3.2 调用关系 text CompileAICoreKernel └─ CompileCoreMachine (AIC / AIV) └─ RunBishengQuiet ← 原先 std::system(ccecCmd) └─ bash run_to_log.sh <log_path> <compile_cmd> ### 3.3 RunBishengQuiet 流程 1. 在 objFile 所在目录用 mkstemp 创建临时日志文件 bisheng_log_<pid>_XXXXXX 2. GetRunToLogScriptPath() 查找固定脚本(优先级): - GetPyptoLibPath()/scripts/run_to_log.sh(安装包 / UT 软链) - 源码旁路:aicore_compiler.cpp 同目录下 compile/scripts/run_to_log.sh 3. 拼 runCmd 并 Checkinject 校验后执行: text bash '<script_path>' '<log_path>' '<bisheng ...>' 参数经 QuoteShellArg 单引号转义,避免路径/命令被 shell 拆开 4. run_to_log.sh 内部执行 eval "$2" >"$1":**仅 stdout 落盘**,stderr 仍打到终端 5. 成功:终端无 note,删除临时日志 6. 失败:LogBishengCompileFailure 读取日志全文,经 MACHINE_LOGE(COMPILE_CCEC_FAILED) 回显 > 链接路径(LinkObject)仍使用 RunLdViaSecureTempScript 临时脚本,与 bisheng 编译无关。 ### 3.4 脚本部署 | 场景 | 机制 | |------|------| | wheel / 正式安装 | 根 CMakeLists.txt install 到 lib/scripts/run_to_log.sh | | UT 构建 | framework/tests/cmake/func.cmake PRE_BUILD 软链到 output/lib/scripts/ | ## 4. 代码改动 **Commit 1** fix(machine): Fix bisheng warnning log - 新增 framework/src/machine/compile/scripts/run_to_log.sh - aicore_compiler.cpp:新增 RunBishengQuiet、GetRunToLogScriptPath、QuoteShellArg、LogBishengCompileFailure - CompileCoreMachine 末尾由 std::system(ccecCmd) 改为 RunBishengQuiet - 根 CMakeLists.txt:install run_to_log.sh - 新增 test_aicore_compiler.cpp UT **Commit 2** fix(machine): Add ut - 移除 RunBishengViaTempScript 临时脚本兜底,统一走固定 run_to_log.sh - func.cmake UT scripts 软链列表补充 run_to_log.sh,修复 UT 构建时 lib/scripts/ 被清空导致脚本缺失 - 补充 / 调整 RunBishengQuiet` 相关 UT 用例 See merge request: cann/pypto!5391 | 2 个月前 |
| 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 个月前 |
| 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 个月前 |
| Initial commit | 11 个月前 |
| 修复dump 数据bug Co-authored-by: s00454010<suntao37@huawei.com> # message auto-generated for no-merge-commit merge: !5436 merge bug/dumpdata into master 修复dump 数据bug Created-by: u010986451 Commit-by: s00454010 Merged-by: cann-robot Description: 修复dump 数据bug See merge request: cann/pypto!5436 | 3 个月前 |
| 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 个月前 |
| refactor(models): Remove models directory and dependent tests. Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5724 merge delete_models into master refactor(models): Remove models directory and dependent tests. Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 删除models目录及相关内容 See merge request: cann/pypto!5724 | 3 个月前 |
| refactor(models): Remove models directory and dependent tests. Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5724 merge delete_models into master refactor(models): Remove models directory and dependent tests. Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 删除models目录及相关内容 See merge request: cann/pypto!5724 | 3 个月前 |
| 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 个月前 |
| 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 个月前 |
| 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 个月前 |
| 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 个月前 |
| fix(machine): fix mismatch and incomplete error descriptions in machine and misc files Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5806 merge pyptolog_fix3 into master fix(machine): fix mismatch and incomplete error descriptions in machine and misc files Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: machine 日志内容整改 See merge request: cann/pypto!5806 | 2 个月前 |
| 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 个月前 |
| fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5757 merge delete_printf into master fix(docs): Standardize aicore-exception FAQ format and translate Chinese comments to English Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 部分日志含有中文日志输出,现修改为英文,为了保持统一性,将注释也修改为英文 删除不被允许的printf内容,并且将文档中aicore error报错时的信息与实际修改为一致 See merge request: cann/pypto!5757 | 3 个月前 |
| docs(agents): Add AICPU hot-path high-performance coding skill Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !5097 merge perf/item-pool-lazy-init into master docs(agents): Add AICPU hot-path high-performance coding skill Created-by: LordOfMysteries Commit-by: LordOfMysteries Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/2597 See merge request: cann/pypto!5097 | 4 个月前 |
| 修复dump 数据bug Co-authored-by: s00454010<suntao37@huawei.com> # message auto-generated for no-merge-commit merge: !5436 merge bug/dumpdata into master 修复dump 数据bug Created-by: u010986451 Commit-by: s00454010 Merged-by: cann-robot Description: 修复dump 数据bug See merge request: cann/pypto!5436 | 3 个月前 |
| 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 个月前 |
| 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 个月前 |
| fix(all): Fix spelling errors in source comments and diagnostic messages Co-authored-by: wangmingjun<wangmingjun13@huawei.com> # message auto-generated for no-merge-commit merge: !5392 merge fix/spelling-errors-2908 into master fix(all): Fix spelling errors in source comments and diagnostic messages Created-by: hwwangmingjun Commit-by: wangmingjun Merged-by: cann-robot Description: fix(all): Fix spelling errors in source comments and diagnostic messages 修复源码注释、错误信息和调试日志中多处英文拼写错误,避免阅读诊断输出时产生误解。 Changes: - device_error_code.h:defalut -> default - codegen_vector.cpp:occured/unsupport -> occurred/unsupported - operation_impl.cpp:interger -> integer - device_task_context.cpp:Inital -> Initial - directed_graph_util.h:lenght -> length - tune_sync_for_vf.cpp:falied -> failed(4 处) - graph_utils.h / expand_function.cpp:seperate -> separate - cube_process.cpp:invlid -> invalid - pil2ir.py:funtion -> function - test_dynamic_mm.cpp:intput -> input(4 处) Related Issues: #2908 See merge request: cann/pypto!5392 | 3 个月前 |