| Files | Last commit | Last update |
|---|---|---|
fix(machine): fix log level mismatch, magic number and grammar errors Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5720 merge pyptolog_fix2 into master fix(machine): fix log level mismatch, magic number and grammar errors Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 日志规范性整改 See merge request: cann/pypto!5720 | 3 months ago | |
fix(machine): Compile monitor info fix. Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5321 merge compile_fix into master fix(machine): Compile monitor info fix. Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 删除重复warning信息;删除重复compile_monitor标识 See merge request: cann/pypto!5321 | 3 months ago | |
refactor(pass): Hide enable_slice from Python side Co-authored-by: zhaosenqiu<zhaosenqiu@huawei.com> # message auto-generated for no-merge-commit merge: !6516 merge noslice-9.2.0 into 9.2.0 refactor(pass): Hide enable_slice from Python side Created-by: zhaosenqiu Commit-by: zhaosenqiu Merged-by: cann-robot Description: refactor(pass): Hide enable_slice from Python side enable_slice is a debug-only switch for the 9.2.0 commercial release and must not be visible or configurable from outside. Changes: - Hide enable_slice from Python side and config files - Remove enable_slice usage from tests and examples Related Issues: #3390 See merge request: cann/pypto!6516 | 2 months ago | |
fix(interface): Reduce UT time and resolve code style. Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !3697 merge review into master fix(interface): Reduce UT time and resolve code style. Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: 1. 减少ut耗时 2. 整改代码规范 See merge request: cann/pypto!3697 | 5 months ago | |
fix(pass): Fix nested-loop InferMultiIterOverlap and refine local-tensor create detection Include dump function attribute support for rebuildable attrs. Co-authored-by: Cursor <cursoragent@cursor.com> | 2 months ago | |
compilation issue fixed Co-authored-by: hsqnb<heshouqi@h-partners.com> # message auto-generated for no-merge-commit merge: !5798 merge master into master compilation issue fixed Created-by: hsqnb Commit-by: hsqnb Merged-by: cann-robot Description: fix(interface): Add missing cstdint header in pre_def The pre_def.h uses uint8_t (via BinDataPtr typedef) but does not include <cstdint> that defines it. This causes compilation failures on strict toolchains where <cstdint> is not transitively included. Changes: - Add #include <cstdint> to framework/src/interface/inner/pre_def.h Related Issue: #3172 See merge request: cann/pypto!5798 | 2 months ago | |
fix(interpreter): Interpreter clean codecheck Co-authored-by: dingbo929<dingbo24@h-partners.com> # message auto-generated for no-merge-commit merge: !6526 merge 9.2.0 into 9.2.0 fix(interpreter): Interpreter clean codecheck Created-by: dingbo929 Commit-by: dingbo929 Merged-by: cann-robot Description: cleancode清理 See merge request: cann/pypto!6526 | 2 months ago | |
fix(pass): Fix nested-loop InferMultiIterOverlap and refine local-tensor create detection Include dump function attribute support for rebuildable attrs. Co-authored-by: Cursor <cursoragent@cursor.com> | 2 months ago | |
fix(machine): Execount optimize Co-authored-by: yanggen<yanggen4@hisilicon.com> Co-authored-by: sunhaoxuan2024<sunhaoxuan3@h-partners.com> # message auto-generated for no-merge-commit merge: !5954 merge master into master fix(machine): Execount optimize Created-by: yanggen Commit-by: sunhaoxuan2024;yanggen 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!5954 | 2 months ago | |
fix(operation): Validate GatherInUB inputs and vector tile shapes Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !6531 merge codex/fix-gather-in-ub-validation-9.2.0 into 9.2.0 fix(operation): Validate GatherInUB inputs and vector tile shapes Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: gatherinub 添加校验拦截,以及 scatterupdate 更新文档 Related Issue: https://gitcode.com/cann/pypto/issues/3395 https://gitcode.com/cann/pypto/issues/3396 See merge request: cann/pypto!6531 | 2 months ago | |
refactor(all): Remove trailing whitespace Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !2188 merge pre-commit into master refactor(all): Remove trailing whitespace Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Introduce pre-commit tools, and remove trailing white space with default plugin Related Issue: #1017 See merge request: cann/pypto!2188 | 7 months ago | |
feat(interpreter): Interpreter recently fix Co-authored-by: dingbo929<dingbo24@h-partners.com> # message auto-generated for no-merge-commit merge: !6122 merge 9.2.0 into 9.2.0 feat(interpreter): Interpreter recently fix Created-by: dingbo929 Commit-by: dingbo929 Merged-by: cann-robot Description: 1. RUNTIME_GetTensorDataInt32 符号求值防御性校验加固 2. 精度工具产物output空目录修复 3. RANGE 算子 支持DYN_SCALAR 动态值解析 4. 日志规范 5. view和assemble展开时,要和其他计算op一样,重置一下展开后logicaltensor的raw 6. 展开view时,把自身的toDynValidshape属性切分到各个slice上 See merge request: cann/pypto!6122 | 2 months ago | |
fix(pypto_pro): use int64 for dynamic shape parameters Co-authored-by: fa<yangzf993@163.com> # message auto-generated for no-merge-commit merge: !6527 merge 9.2.0 into 9.2.0 fix(pypto_pro): use int64 for dynamic shape parameters 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!6527 | 2 months ago | |
style(all): Apply additional clang-format corrections across codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4883 merge style-cpp into master style(all): Apply additional clang-format corrections across codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Apply additional clang-format corrections across codebase See merge request: cann/pypto!4883 | 4 months ago | |
fix(frontend): resolve CodeCheck G.FMT/G.STD/G.CNS/G.PRE/G.EXP/G.SCRIPT warnings Co-authored-by: HuYiSheng01<hys123456aaa@163.com> # message auto-generated for no-merge-commit merge: !6523 merge 9.2.0 into 9.2.0 fix(frontend): resolve CodeCheck G.FMT/G.STD/G.CNS/G.PRE/G.EXP/G.SCRIPT warnings Created-by: HuYiSheng01 Commit-by: HuYiSheng01 Merged-by: cann-robot Description: ## 背景 CodeCheck代码规范缺陷列表,共 3 个检查任务、去重后 13 处缺陷、9 个文件(C/C++ 双扫导致的重复项已合并)。 ## 改动概览 涉及模块: framework/src/interface/{utils,tensor,function}、python/src/bindings ## 已修复项 | 规范 | 文件 | 修复方式 | |---|---|---| | G.FMT.17-CPP | torch_tensor_converter.cpp | 删除返回值判断前的多余空行 | | G.CNS.02-CPP | symbolic_scalar_simplify.h | magic number 4/2/3 → 0x4/2/3 | | G.CNS.02-CPP | function.cpp | magic number 62 → 具名常量 | | G.CNS.02-CPP | controller.cpp | magic number 2 → 0x2 | | G.PRE.09 | rebuildable_attribute.h | 宏末尾去除分号(调用处已带分号,3 处调用已验证) | | G.EXP.09-CPP | symbolic_scalar.cpp | 递归 lambda 变量声明即初始化 | See merge request: cann/pypto!6523 | 2 months ago | |
fix(operation): Topk RadixSelect Opt Dirty Data Co-authored-by: Creeeeper<liuyizhe6@huawei.com> # message auto-generated for no-merge-commit merge: !6562 merge topk-fix-9.2.0 into 9.2.0 fix(operation): Topk RadixSelect Opt Dirty Data Created-by: Creeeeper Commit-by: Creeeeper Merged-by: cann-robot Description: ## 描述 TopK RadixSelect算子在清理脏数据时设置的行数不足,导致脏数据进入算法流程,进一步导致TGATHER读取的index过大而UB越界 ## 测试 完成A5冒烟测试 ## 关联Issue [#3405](https://gitcode.com/cann/pypto/issues/3405) ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!6562 | 2 months ago | |
feat(machine): Support ASCEND_RT_LAUNCH_BLOCKING for AICPU scheduling blocking Co-authored-by: wan_jianfen<wanjianfen@hisilicon.com> # message auto-generated for no-merge-commit merge: !5823 merge br_blocking into master feat(machine): Support ASCEND_RT_LAUNCH_BLOCKING for AICPU scheduling blocking Created-by: wan_jianfen Commit-by: wan_jianfen Merged-by: cann-robot Description: ## 修改意图 支持通过环境变量 ASCEND_RT_LAUNCH_BLOCKING=1 控制 AICPU 调度流阻塞下发,用于调试和时序问题排查场景。 ## 修改内容 ### 1. Adapter 层新增 API 加载 - AclRtNoBlockingLaunchBegin/End:从 libruntime.so 加载 aclrtNoBlockingLaunchBeginImpl/EndImpl(libascendcl.so 未导出这两个符号,实际实现位于 libruntime.so) - AclRtSetStreamAttribute:从 libascendcl.so 加载 aclrtSetStreamAttribute ### 2. 运行时阻塞控制 - common.h 新增 IsLaunchBlockingEnabled(),读取 ASCEND_RT_LAUNCH_BLOCKING 环境变量(static 缓存) - device_launcher.cpp 中 LaunchKernel:当 !IsCaptureMode() && IsLaunchBlockingEnabled() 时,用 AclRtNoBlockingLaunchBegin/End 包裹 sche stream 上的 AICPU 调度下发 ### 3. ST 测试用例 - 新增 test_blocking_launch.py,通过 spawn 子进程在 import torch 前继承环境变量验证功能 ## 改动文件 | 文件 | 说明 | |------|------| | framework/src/adapter/api/acl_api.cpp / acl_api.h | 新增 AclRtSetStreamAttribute、AclRtNoBlockingLaunchBegin/End 实现 | | framework/src/adapter/manager/types/acl_adapter_types.h | 新增 RtSetStreamAttribute 枚举与符号映射 | | framework/src/adapter/manager/types/runtime_adapter_types.h | 新增 NoBlockingLaunchBegin/End 枚举,映射到 aclrtNoBlockingLaunchBeginImpl/EndImpl | | framework/src/adapter/stubs/acl_stubs.cpp / acl_stubs.h | 新增 StubRtSetStreamAttribute stub | | framework/src/interface/utils/common.h | 新增 IsLaunchBlockingEnabled() | | framework/src/machine/runtime/launcher/device_launcher.cpp | LaunchKernel 中接入阻塞下发控制 | | python/tests/st/test_blocking_launch.py | 新增 ST 用例 | ## 验证 - 环境变量未设置时:行为不变(走原有 ring event / RunPreSync 同步) - ASCEND_RT_LAUNCH_BLOCKING=1 时:sche stream 非阻塞下发 - CANN 版本不兼容时(缺少符号)打印 warning 但不中断执行 Related Issue: #3188 See merge request: cann/pypto!5823 | 2 months ago | |
feat(pypto_pro):unified error codes Co-authored-by: huanyongben<huanyongben1@hisilicon.com> # message auto-generated for no-merge-commit merge: !6508 merge 9.2.0 into 9.2.0 feat(pypto_pro):unified error codes Created-by: huanyongben Commit-by: huanyongben Merged-by: cann-robot Description: pypto统一错误码和日志规范 See merge request: cann/pypto!6508 | 2 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 3 months ago | ||
| 3 months ago | ||
| 2 months ago | ||
| 5 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 7 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 4 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago |