| Files | Last commit | Last update |
|---|---|---|
fix(ir): Fix continue var not correct Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !5201 merge substitue into master fix(ir): Fix continue var not correct Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Fix continue var not correct for oi_update in fa test Related Issue: #1185 See merge request: cann/pypto!5201 | 3 months ago | |
feat(pypto_pro): Sync block master changes Co-authored-by: ChenYongji123<chenyongji6@huawei.com> # message auto-generated for no-merge-commit merge: !5073 merge master into master feat(pypto_pro): Sync block master changes Created-by: ChenYongji123 Commit-by: ChenYongji123 Merged-by: cann-robot Description: feat(pypto_pro): Sync block master changes See merge request: cann/pypto!5073 | 4 months ago | |
feat(ir): Add block bindings support Co-authored-by: wuzhongxin<wuzhongxin1@huawei.com> # message auto-generated for no-merge-commit merge: !3705 merge new into master feat(ir): Add block bindings support Created-by: wuzhongxin Commit-by: wuzhongxin Merged-by: cann-robot Description: support block bindings See merge request: cann/pypto!3705 | 5 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 | |
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(ir): Add block bindings support Co-authored-by: wuzhongxin<wuzhongxin1@huawei.com> # message auto-generated for no-merge-commit merge: !3705 merge new into master feat(ir): Add block bindings support Created-by: wuzhongxin Commit-by: wuzhongxin Merged-by: cann-robot Description: support block bindings See merge request: cann/pypto!3705 | 5 months ago | |
feat(ir): Add block bindings support Co-authored-by: wuzhongxin<wuzhongxin1@huawei.com> # message auto-generated for no-merge-commit merge: !3705 merge new into master feat(ir): Add block bindings support Created-by: wuzhongxin Commit-by: wuzhongxin Merged-by: cann-robot Description: support block bindings See merge request: cann/pypto!3705 | 5 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 | |
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(operation): New Operation Pack And Unpack Co-authored-by: 刘奕哲<liuyizhe6@huawei.com> # message auto-generated for no-merge-commit merge: !4998 merge pack into master feat(operation): New Operation Pack And Unpack Created-by: Creeeeper Commit-by: 刘奕哲 Merged-by: cann-robot Description: ## 描述 添加新算子Pack和UnPack分别用于打包和解包tile块 ## 测试 A2和A5上完成泛化用例测试 ## 关联Issue [#2699](https://gitcode.com/cann/pypto/issues/2699) ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!4998 | 4 months ago | |
feat(ir): Add block bindings support Co-authored-by: wuzhongxin<wuzhongxin1@huawei.com> # message auto-generated for no-merge-commit merge: !3705 merge new into master feat(ir): Add block bindings support Created-by: wuzhongxin Commit-by: wuzhongxin Merged-by: cann-robot Description: support block bindings See merge request: cann/pypto!3705 | 5 months ago | |
fix(pypto-pro): Revert Intercept out-of-bounds address indexing Co-authored-by: h9718w<wangchaoyuan10@huawei.com> # message auto-generated for no-merge-commit merge: !5163 merge revert-mr-5100-1785299708987-auto into master fix(pypto-pro): Revert Intercept out-of-bounds address indexing Created-by: h9718w Commit-by: h9718w Merged-by: cann-robot Description: Revert buffer address out-of-bounds checking See merge request: cann/pypto!5163 | 3 months ago | |
feat(cmake): Delete BUILD_WITH_CANN_MOBILE and fix kirin python ut Co-authored-by: GBowen666<libowen58@huawei.com> # message auto-generated for no-merge-commit merge: !5170 merge master into master feat(cmake): Delete BUILD_WITH_CANN_MOBILE and fix kirin python ut Created-by: GBowen666 Commit-by: GBowen666 Merged-by: cann-robot Description: Related Issue: [ [[Requirement|需求建议]: 删除BUILD_WITH_CANN_MOBILE宏,解决kirin ut设置soc问题](https://gitcode.com/cann/pypto/issues/2816) 1. feat(cmake): delete BUILD_WITH_CANN_MOBILE and fix kirin python ut See merge request: cann/pypto!5170 | 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 | |
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(simulation): Support camodel use npu tensor Co-authored-by: zhiweiyuan<zhiweiyuan@huawei.com> # message auto-generated for no-merge-commit merge: !5014 merge fix/simulation-camodel-npu-tensor into master fix(simulation): Support camodel use npu tensor Created-by: zhiweiyuan Commit-by: zhiweiyuan Merged-by: cann-robot Description: fix(simulation): Support camodel use npu tensor Support CAModel simulation with NPU device tensors directly, avoiding unnecessary host-to-device data copies. When input tensors are on NPU device, the simulation path now skips host data initialization and copyback, passing device tensors directly to the kernel launcher. Changes: - Add isDeviceData parameter to EslModelRunOnce, DynamicKernelLaunchEsl and EslModelLaunchDeviceTensorData - Skip CopyInputOutputData when using device data in DynamicKernelLaunchEsl - Detect NPU device tensors in EslModelLaunch and pass isDeviceData flag - Remove CPU-only device restriction in SIM mode tensor validation - Auto-switch to SIM mode when CAMODEL_LOG_PATH is set See merge request: cann/pypto!5014 | 4 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(ir): Add block bindings support Co-authored-by: wuzhongxin<wuzhongxin1@huawei.com> # message auto-generated for no-merge-commit merge: !3705 merge new into master feat(ir): Add block bindings support Created-by: wuzhongxin Commit-by: wuzhongxin Merged-by: cann-robot Description: support block bindings See merge request: cann/pypto!3705 | 5 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 3 months ago | ||
| 4 months ago | ||
| 5 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 5 months ago | ||
| 3 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 5 months ago |