| fix(docs): Adjust the directory structure Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !5952 merge master into master fix(docs): Adjust the directory structure Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: Pro文档合入PyPTO现有文档体系 See merge request: cann/pypto!5952 | 2 months ago |
| update pypto gcc15 Co-authored-by: wangyunxiang<wangyunxiang6@h-partners.com> # message auto-generated for no-merge-commit merge: !5816 merge master into master update pypto gcc15 Created-by: wangyunxiang1 Commit-by: wangyunxiang 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!5816 | 2 months 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 |
| 统一pypto安装目录及文件权限 Co-authored-by: q00889097<qinhan10@huawei.com> # message auto-generated for no-merge-commit merge: !5842 merge master into master 统一pypto安装目录及文件权限 Created-by: qinhan123 Commit-by: q00889097 Merged-by: cann-robot Description: 统一pypto安装文件及目录权限,这些权限统一由cmake控制,删除安装脚本中一些影响权限规范的操作: 需要移除安装脚本 scripts/package/pypto/scripts/pypto_func.sh 中针对安装目录下各文件/目录的精细化权限锁定逻辑(chmod_recur、chmod_single_dir 等调用),使安装后的权限统一由既有逻辑(如 root 用户下的 chown 与 chmod 755 处理)接管,从而简化并统一权限设置流程。 See merge request: cann/pypto!5842 | 2 months ago |
| fix(docs): Updata the doc menu title. Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !5992 merge master into master fix(docs): Updata the doc menu title. Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: 更新文档目录标题、新增昇腾社区文档目录文件index_hiascend.md See merge request: cann/pypto!5992 | 2 months ago |
| fix(docs): Adjust the directory structure Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !5952 merge master into master fix(docs): Adjust the directory structure Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: Pro文档合入PyPTO现有文档体系 See merge request: cann/pypto!5952 | 2 months ago |
| fix(tensor): Fix assemble offset for slice assignment without start and IR dump update Co-authored-by: HuYiSheng01<hys123456aaa@163.com> # message auto-generated for no-merge-commit merge: !5941 merge fix/issue3-assemble-no-start-offset into master fix(tensor): Fix assemble offset for slice assignment without start and IR dump update Created-by: HuYiSheng01 Commit-by: HuYiSheng01 Merged-by: cann-robot Description: loop 循环中 assemble 写法不带起始 start 偏移量时存在精度问题。典型写法: output_tensor[b_idx * tile_b:(b_idx + 1) * tile_b, :h] = left # "[:h]" 不带 start output_tensor[b_idx * tile_b:(b_idx + 1) * tile_b, h:] = right Issue 中最小复现(test_coe_issue.py 1)triple-compare 精度 FAILED,IR 偏移证据为 to offset:[0,-64] to dynoffset:[...,-64]。 修复 Tensor._get_assemble_offset 对 slice(None, stop) 的偏移错算,使不带 start 的切片赋值写入正确位置。 按 Python 切片语义,切片起始位置即写入偏移——start 为 None 时 offset 置 0,否则为 start。同步清理不再使用的 stop/axis 局部变量。 此外,IR 文本 dump 能力增强 IRTextDumper::PrintAttrValue 缺少 std::vector<SymbolicScalar> 类型分支,导致 assemble/view 属性中的动态偏移(toOffset、fromOffset、toValidShape 等)序列化为 "Unsupported" 新增缺失分支,复用文件内已有的 VisitScalarExpr::Visit 打印器。[expr, expr] 列表格式符合 attr_value_list 文法,IRTextLoader round-trip 不受影响 新增 assemble_offset/ IR 快照回归测试(复刻 issue kernel 场景,pil.compile + check_snapshot);重渲染 94 个受影响黄金文件(Unsupported → 真实偏移表达式) Related Issue: #3216 See merge request: cann/pypto!5941 | 2 months ago |
| fix(tensor): Fix assemble offset for slice assignment without start and IR dump update Co-authored-by: HuYiSheng01<hys123456aaa@163.com> # message auto-generated for no-merge-commit merge: !5941 merge fix/issue3-assemble-no-start-offset into master fix(tensor): Fix assemble offset for slice assignment without start and IR dump update Created-by: HuYiSheng01 Commit-by: HuYiSheng01 Merged-by: cann-robot Description: loop 循环中 assemble 写法不带起始 start 偏移量时存在精度问题。典型写法: output_tensor[b_idx * tile_b:(b_idx + 1) * tile_b, :h] = left # "[:h]" 不带 start output_tensor[b_idx * tile_b:(b_idx + 1) * tile_b, h:] = right Issue 中最小复现(test_coe_issue.py 1)triple-compare 精度 FAILED,IR 偏移证据为 to offset:[0,-64] to dynoffset:[...,-64]。 修复 Tensor._get_assemble_offset 对 slice(None, stop) 的偏移错算,使不带 start 的切片赋值写入正确位置。 按 Python 切片语义,切片起始位置即写入偏移——start 为 None 时 offset 置 0,否则为 start。同步清理不再使用的 stop/axis 局部变量。 此外,IR 文本 dump 能力增强 IRTextDumper::PrintAttrValue 缺少 std::vector<SymbolicScalar> 类型分支,导致 assemble/view 属性中的动态偏移(toOffset、fromOffset、toValidShape 等)序列化为 "Unsupported" 新增缺失分支,复用文件内已有的 VisitScalarExpr::Visit 打印器。[expr, expr] 列表格式符合 attr_value_list 文法,IRTextLoader round-trip 不受影响 新增 assemble_offset/ IR 快照回归测试(复刻 issue kernel 场景,pil.compile + check_snapshot);重渲染 94 个受影响黄金文件(Unsupported → 真实偏移表达式) Related Issue: #3216 See merge request: cann/pypto!5941 | 2 months ago |
| 统一pypto安装目录及文件权限 Co-authored-by: q00889097<qinhan10@huawei.com> # message auto-generated for no-merge-commit merge: !5842 merge master into master 统一pypto安装目录及文件权限 Created-by: qinhan123 Commit-by: q00889097 Merged-by: cann-robot Description: 统一pypto安装文件及目录权限,这些权限统一由cmake控制,删除安装脚本中一些影响权限规范的操作: 需要移除安装脚本 scripts/package/pypto/scripts/pypto_func.sh 中针对安装目录下各文件/目录的精细化权限锁定逻辑(chmod_recur、chmod_single_dir 等调用),使安装后的权限统一由既有逻辑(如 root 用户下的 chown 与 chmod 755 处理)接管,从而简化并统一权限设置流程。 See merge request: cann/pypto!5842 | 2 months ago |
| feat(interpreter): Interpreter python script remove ml_dtypes Co-authored-by: dingbo929<dingbo24@h-partners.com> # message auto-generated for no-merge-commit merge: !5854 merge master into master feat(interpreter): Interpreter python script remove ml_dtypes Created-by: dingbo929 Commit-by: dingbo929 Merged-by: cann-robot Description: 移除精度工具的python脚本对于第三方库ml_dtypes的依赖,bf16等数据类型的解析用二进制解码方式实现 See merge request: cann/pypto!5854 | 2 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 |
| 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 |
| 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(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 months ago |
| 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 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 |
| Initial commit | 10 months ago |
| 修复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 months 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 |
| fix(docs): Adjust the directory structure Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !5952 merge master into master fix(docs): Adjust the directory structure Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: Pro文档合入PyPTO现有文档体系 See merge request: cann/pypto!5952 | 2 months ago |
| fix(docs): Adjust the directory structure Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !5952 merge master into master fix(docs): Adjust the directory structure Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: Pro文档合入PyPTO现有文档体系 See merge request: cann/pypto!5952 | 2 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(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(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 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 |
| fix(function):gcc升级15版本兼容问题修改 Co-authored-by: hsqnb<heshouqi@h-partners.com> # message auto-generated for no-merge-commit merge: !5862 merge master into master fix(function):gcc升级15版本兼容问题修改 Created-by: hsqnb Commit-by: hsqnb Merged-by: cann-robot Description: fix(interface): gcc升级15版本兼容问题修改 Related Issue: #3172 See merge request: cann/pypto!5862 | 2 months ago |
| 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 months ago |
| 修复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 months 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(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 months ago |