| Files | Last commit | Last update |
|---|---|---|
fix(machine): Adjust blocking mode Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !6735 merge br_blocking into master fix(machine): Adjust blocking mode Created-by: wan_jianfen Commit-by: LordOfMysteries 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!6735 | 2 months ago | |
refactor(build): Reuse the common compilation options from common cmake. Co-authored-by: Feiteng Zheng<zhengfeiteng1@h-partners.com> # message auto-generated for no-merge-commit merge: !5292 merge 20260728-intf-pub-2 into master refactor(build): Reuse the common compilation options from common cmake. Created-by: zhengfeiteng Commit-by: Feiteng Zheng Merged-by: cann-robot Description: 切换使用 cann/cmake 仓规定的 intf_pub。 - 通过CANN_GLIBCXX_USE_CXX11_ABI属性设置tile_fwk_calculator的_GLIBCXX_USE_CXX11_ABI Related Issue: #2650 See merge request: cann/pypto!5292 | 3 months ago | |
fix(codegen): Add bisheng compile cmd Co-authored-by: anyangle<anyangle@huawei.com> # message auto-generated for no-merge-commit merge: !6596 merge bisheng into master fix(codegen): Add bisheng compile cmd Created-by: quadrate Commit-by: anyangle Merged-by: cann-robot Description: codegen补充编译命令选项 See merge request: cann/pypto!6596 | 1 month ago | |
fix(simulation): Fix memory leak in DynPvModelImpl InitPv Co-authored-by: zhiweiyuan<zhiweiyuan@huawei.com> # message auto-generated for no-merge-commit merge: !6783 merge fix/pv-initpv-memory-leak into master fix(simulation): Fix memory leak in DynPvModelImpl InitPv Created-by: zhiweiyuan Commit-by: zhiweiyuan Merged-by: cann-robot Description: fix(simulation): Fix memory leak in DynPvModelImpl InitPv InitPv allocated three uint64_t buffers on the heap (new uint64_t(0), new uint64_t(1), new uint64_t(34603008)) and passed them to pv_reg_write_ as read-only register value buffers. The pointers were neither stored as members nor deleted, so every precision simulation initialization leaked all three allocations. Changes: - Replace the three heap allocations with stack uint64_t locals and pass their addresses, matching the existing idiom used for HBM_PARA_BASE - Verified by rebuild and softmax run in SIM mode covering the RunPvModel -> InitPv call chain Related Issues: #3478 See merge request: cann/pypto!6783 | 1 month ago | |
fix(operation): Fix Temp Offset Co-authored-by: Creeeeper<liuyizhe6@huawei.com> # message auto-generated for no-merge-commit merge: !6918 merge layout into master fix(operation): Fix Temp Offset Created-by: Creeeeper Commit-by: Creeeeper Merged-by: cann-robot Description: ## 描述 算子的输入输出tensor的rawShape在pass阶段从tile切分后到最后一个pass之间会改变,而临时空间大小由tileshape得到,临时空间中的小块偏移不能直接由输入或输出的rawShape计算而是应由validshape计算 ## 测试 完成 A3 A5 冒烟测试 ## 关联Issue [#3574](https://gitcode.com/cann/pypto/issues/3574) ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!6918 | 1 month ago | |
refactor(machine): Remove unused DevicePerf::RunPrepare Co-authored-by: Jie Yin<yinjie27@huawei.com> # message auto-generated for no-merge-commit merge: !6924 merge pgo-framework into master refactor(machine): Remove unused DevicePerf::RunPrepare Created-by: yinjie27_ Commit-by: Jie Yin Merged-by: cann-robot Description: DevicePerf::RunPrepare has no production caller: its only call site was removed together with the legacy DeviceRunner launch path in 34770d5bd ("Unify C++ launch path to use KernelBinary and LaunchKernel"). The per-launch refresh of the perf data pointers is already handled by DeviceLauncher::SetDevPerfAddr -> DevicePerf::SetDebugEnable, which runs on every launch (device_launcher.cpp), so RunPrepare is dead code. Changes: - Remove the unused DevicePerf::RunPrepare definition and declaration - Remove the DevicePerfTest.RunPrepare_DebugMode unit test - Remove the include that became unused after the deletion Verification: - device_perf.cpp syntax-checked with the project's own compile flags (build/compile_commands.json), UT file checked with the same flags + gtest - pre-commit checks passed on commit See merge request: cann/pypto!6924 | 1 month ago | |
feat(pass): Combine Mva logic for token and legal Co-authored-by: 2501_92924845<niulinkai@huawei.com> # message auto-generated for no-merge-commit merge: !6840 merge code1008 into master feat(pass): Combine Mva logic for token and legal Created-by: 2501_92924845 Commit-by: 2501_92924845 Merged-by: cann-robot Description: ## 简要描述 MergeViewAssemble 此前按前端开关 create_new_logical_tensor(IRContext::AssembleNewLogicalTensor) 分发到两套完全独立的实现: - merge_view_assemble_legal.{h,cpp}:原始 legal 语义(966 行) - merge_view_assemble_token.{h,cpp}:token 语义(1843 行) 两套实现各自维护了一份几乎相同的链遍历(MergeViewChain / MergeAssembleChain)、 偏移累加(From/To offset)与"先记录后创建"的 append 逻辑,仅在停链门控、 链删除策略、token 依赖维护等少数分歧点不同。同一段逻辑双份维护, 修 bug 需要双处同步,长期存在行为漂移风险。 ## 改动内容 1. 将 legal 与 token 两套实现合并为统一的 MergeViewAssembleUtils (merge_view_assemble_utils.{h,cpp}): - 入口每次调用读取一次 tokenMode_,运行期间固定,选择本次语义; - 链遍历、偏移合并、消费者缓存(ConsumerCacheEntry)、两阶段 append 全程共用; - 分歧收敛为门控点: a. stopper 停链规则(view/assemble 两侧,保留 DAV_3510 例外); b. 链删除策略(legal 仅删链尾 vs token 按 side-consumer/survivor 精细删除); c. 收尾清理(EraseRedundantAssemble vs EraseOperations + DCE); d. token 依赖维护(收集/过滤/清理/重建/扫尾)。 2. 删除 merge_view_assemble_legal 与 merge_view_assemble_token 四个文件, 原 utils 的纯分发层一并移除。 See merge request: cann/pypto!6840 | 1 month ago | |
fix(pypto_pro): add Scaling and Bias capacity mappings Co-authored-by: fa<yangzf993@163.com> # message auto-generated for no-merge-commit merge: !6915 merge fixdocs into master fix(pypto_pro): add Scaling and Bias capacity mappings 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!6915 | 1 month ago | |
test(dfx): validate log calendar conversion against libc across 101 years Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !6701 merge fix/log_localtime into master test(dfx): validate log calendar conversion against libc across 101 years Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 日期算法补充前后50年与libc接口结果对比ut See merge request: cann/pypto!6701 | 2 months ago | |
refactor(operator): Remove tile_fwk_operator library and associated tests. Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5704 merge delete_test into master refactor(operator): Remove tile_fwk_operator library and associated tests. Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 整改库上代码,删除 framework/src/operator python/tests/st/operator/glm python/tests/st/operator/test_page_attention.py 以及相关涉及文件 See merge request: cann/pypto!5704 | 3 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 2 months ago | ||
| 3 months ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 2 months ago | ||
| 3 months ago |