| Files | Last commit | Last update |
|---|---|---|
fix(interface): Prevent dynamic kernel hash collision after reset Co-authored-by: Immutable01<gaoqiancheng@huawei.com> # message auto-generated for no-merge-commit merge: !5617 merge 0822_hash into master fix(interface): Prevent dynamic kernel hash collision after reset Created-by: Immutable01 Commit-by: Immutable01 Merged-by: cann-robot Description: 将DYNAMIC类型的Function magic与其他function分开管理,并且在复跑时不复用,避免在这一层计算哈希时哈希冲突 See merge request: cann/pypto!5617 | 3 months ago | |
feat(interpreter): Fix op range of Interpreter Co-authored-by: dingbo929<dingbo24@h-partners.com> # message auto-generated for no-merge-commit merge: !6030 merge master into master feat(interpreter): Fix op range of Interpreter Created-by: dingbo929 Commit-by: dingbo929 Merged-by: cann-robot Description: 1. RANGE 算子 支持DYN_SCALAR 动态值解析 2. 日志规范 See merge request: cann/pypto!6030 | 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 | |
refactor(interface|tests): Remove some dead code Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !4928 merge temp into master refactor(interface|tests): Remove some dead code Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: 1. removed unused static tests 2. remove data_ field from tensor Related Issue: #2672 See merge request: cann/pypto!4928 | 4 months ago | |
fix(interface): Prevent dynamic kernel hash collision after reset Co-authored-by: Immutable01<gaoqiancheng@huawei.com> # message auto-generated for no-merge-commit merge: !5617 merge 0822_hash into master fix(interface): Prevent dynamic kernel hash collision after reset Created-by: Immutable01 Commit-by: Immutable01 Merged-by: cann-robot Description: 将DYNAMIC类型的Function magic与其他function分开管理,并且在复跑时不复用,避免在这一层计算哈希时哈希冲突 See merge request: cann/pypto!5617 | 3 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(pass): Preserve normalized validshape when restoring inplace VIEW Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !6722 merge fix_subgraph_master into master fix(pass): Preserve normalized validshape when restoring inplace VIEW Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: 修复 inplace VIEW 恢复时丢失 validshape 归一化结果的问题 ## 背景: https://gitcode.com/cann/pypto/pull/6587 function会对所有的copy in/out 做归一化(包括leaf function内部的,以及和incast outcast相连的) ## 问题: subgraph_to_function 将 inplace VIEW 临时转换为 COPY_IN,归一化后生成并复用子函数。恢复 VIEW 时直接使用原始属性,导致归一化后的 validshape 丢失,子函数复用时可能使用错误的有效范围, 引发 A5 尾块精度异常。 ## 修改: 恢复 VIEW 前,将 COPY_IN 的 toDynValidShape 写回 VIEW 属性,使函数归一化结果与恢 复后的算子属性一致。补充 UT,看护 validshape 参数化及恢复流程。 See merge request: cann/pypto!6722 | 2 months ago | |
feat(ir): Update consumer and producer of token by RefreshVarDependency. Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !5574 merge add_token_0820 into master feat(ir): Update consumer and producer of token by RefreshVarDependency. Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: Update consumer and producer of token by RefreshVarDependency. See merge request: cann/pypto!5574 | 3 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 | |
fix(function): Prevent coredump when JIT loop recording aborts mid-path Co-authored-by: Immutable01<gaoqiancheng@huawei.com> # message auto-generated for no-merge-commit merge: !4996 merge 0720_seg into master fix(function): Prevent coredump when JIT loop recording aborts mid-path Created-by: Immutable01 Commit-by: Immutable01 Merged-by: cann-robot Description: ## Summary 修复 JIT 录制在 loop 中途失败后继续编译/运行导致的 heap corruption( corrupted size vs. prev_size / double free),并完善异常路径下的 Program 生命周期管理。 ## Problem 上一个kernal 在 pypto.loop 录制中途失败(如 transpose 参数校验)时: 1. 异常路径若仍走 EndFunction() 或 Reset() 析构不完整 loop-path 图,会破坏堆; 2. RecordLoopFunc 在异常 unwind 与进程退出 frame 清理时被二次析构,对空 loopStack_ 执行 pop_back() 触发 coredump。 ## Solution - **录制 abort**:pypto.function 异常时改调 AbortRecording(),不再 EndFunction() - **不完整图保活**:AbandonIncompleteRecording() 将半成品图泄漏至 AbandonedGraphPool,避免 ~Function - **成功编译 pin**:RegisterLastCompiledKernel() 通过 KernelBinary::pinnedGraph_ 持有 functionmap,Reset() 可安全 clear() - **Python 缓存**:JIT __call__ 失败时 _drop_kmodule_cache(),避免复用脏 KernelModule - **Loop 析构**:RecordLoopFunc::~RecordLoopFunc() 仅在仍为 stack 顶时才 pop(幂等) - **优化**:HasIncompleteRecordingState() 使 abort 路径幂等;CompileIfNeeded 仅在状态仍脏时清理 ## Changed Files | 层 | 文件 | |----|------| | C++ | program.cpp/h, recorder.cpp, tensor_slot.h, kernel_binary.cpp/h | | Bindings | runtime.cpp, controller.cpp | | Python | _controller.py, frontend/parser/entry.py | See merge request: cann/pypto!4996 | 4 months ago | |
feat(ir): Support dump function attribute Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !6675 merge attr into master feat(ir): Support dump function attribute Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Related Issue: #2559 See merge request: cann/pypto!6675 | 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 | |
feat(front): Add Var tracker class in Function Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !3473 merge master into master feat(front): Add Var tracker class in Function Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: 1. Replace make_shared logicaltensor with IRbuilder 2. feat(front): Add Var tracker class in Function See merge request: cann/pypto!3473 | 6 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 3 months ago | ||
| 2 months ago | ||
| 7 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 2 months ago | ||
| 3 months ago | ||
| 7 months ago | ||
| 4 months ago | ||
| 2 months ago | ||
| 4 months ago | ||
| 6 months ago |