| Files | Last commit | Last update |
|---|---|---|
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 | |
refactor(ci): Adapt common cmake build process. Co-authored-by: Feiteng Zheng<zhengfeiteng1@h-partners.com> # message auto-generated for no-merge-commit merge: !5145 merge 20260728-add-pre-package into master refactor(ci): Adapt common cmake build process. Created-by: zhengfeiteng Commit-by: Feiteng Zheng Merged-by: cann-robot Description: 适配通过cmake公共仓的build.sh拉起pypto编译,打出pypto的run包。该场景为“全量源码构建”的一个子场景。 - install命令添加COMPONENT参数,在通过cmake公共仓拉起多个子包编译时,用于区分不同子包的编译产物。 - add_pypto_device_project使用add_cann_device_project公共函数替换。 - ENABLE_UNIFIED_BUILD场景set_cann_cpack_config添加PRE_PKG参数,打包前调用pre_package.cmake脚本,打出whl包。 Related Issue: #2573 See merge request: cann/pypto!5145 | 4 months ago | |
fix(machine): Increase max resolve tasknum to 144 Co-authored-by: duanhaotian<duanhaotian@huawei.com> # message auto-generated for no-merge-commit merge: !4136 merge code0617 into master fix(machine): Increase max resolve tasknum to 144 Created-by: duanhaotian Commit-by: duanhaotian Merged-by: cann-robot Description: A5上总共72个AIV,考虑pending与runing的话,同时schedCpuNum=1的话,核用满,resloveCtx就需要144 See merge request: cann/pypto!4136 | 5 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): Cleancode: Header File Splitting Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !3648 merge cleancode into master fix(machine): Cleancode: Header File Splitting Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 头文件大小缩减 See merge request: cann/pypto!3648 | 5 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 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 | |
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(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(machine): Add compile options Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !4938 merge cmake into master fix(machine): Add compile options Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 添加安全编译选项 See merge request: cann/pypto!4938 | 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 | |
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(machine): Cache AOT control-flow binaries in multi-slot LRU pool Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !5007 merge perf/aot-cf-code-pool into master feat(machine): Cache AOT control-flow binaries in multi-slot LRU pool Created-by: LordOfMysteries Commit-by: LordOfMysteries Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/2597 feat(machine): Cache AOT control-flow binaries in multi-slot LRU pool Replace single-slot AOT CF binary caching with a multi-slot LRU pool, plus coding micro-optimizations that share encode_program surfaces (RuntimeVerify moved out of header, workspace/start-args tidy). Commits: - feat(machine): Cache AOT control-flow binaries in multi-slot LRU pool - refactor(machine): Apply coding and style micro-optimizations Changes: - AOT_CODE_POOL multi-slot LRU - Encode hashKey assert for empty-slot sentinel - ST test_aot_code_pool - RuntimeVerify / workspace micro cleanups Related Issues: N/A See merge request: cann/pypto!5007 | 4 months ago | |
feat(machine): Cache AOT control-flow binaries in multi-slot LRU pool Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !5007 merge perf/aot-cf-code-pool into master feat(machine): Cache AOT control-flow binaries in multi-slot LRU pool Created-by: LordOfMysteries Commit-by: LordOfMysteries Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/2597 feat(machine): Cache AOT control-flow binaries in multi-slot LRU pool Replace single-slot AOT CF binary caching with a multi-slot LRU pool, plus coding micro-optimizations that share encode_program surfaces (RuntimeVerify moved out of header, workspace/start-args tidy). Commits: - feat(machine): Cache AOT control-flow binaries in multi-slot LRU pool - refactor(machine): Apply coding and style micro-optimizations Changes: - AOT_CODE_POOL multi-slot LRU - Encode hashKey assert for empty-slot sentinel - ST test_aot_code_pool - RuntimeVerify / workspace micro cleanups Related Issues: N/A See merge request: cann/pypto!5007 | 4 months ago | |
perf(machine): Mix pending general Co-authored-by: xuyi_37<xuyi37@huawei.com> # message auto-generated for no-merge-commit merge: !4855 merge master into master perf(machine): Mix pending general Created-by: xuyi_37 Commit-by: xuyi_37 Merged-by: cann-robot Description: perf(machine): Mix pending general Related Issue: [#2670](https://gitcode.com/cann/pypto/issues/2670) See merge request: cann/pypto!4855 | 4 months ago | |
fix(simulation): Fix bad perf bug and optimize pv code Co-authored-by: zhiweiyuan<zhiweiyuan@huawei.com> # message auto-generated for no-merge-commit merge: !2597 merge master into master fix(simulation): Fix bad perf bug and optimize pv code Created-by: zhiweiyuan Commit-by: zhiweiyuan Merged-by: cann-robot Description: 1、解决Inner tensor问题 2、优化PvModel代码 See merge request: cann/pypto!2597 | 7 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(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(machine): Convert DrcoDeviceTaskReadyQueue to ringbuffer Co-authored-by: rongziran<rongziran@huawei.com> # message auto-generated for no-merge-commit merge: !5802 merge aicore-reslove into master fix(machine): Convert DrcoDeviceTaskReadyQueue to ringbuffer Created-by: rongziran Commit-by: rongziran Merged-by: cann-robot Description: ## 问题描述 DrcoDeviceTaskReadyQueue 使用固定大小 100 的线性队列,Append() 直接以 size 为索引写入数组且无越界检查。当单个 RuntimeDataRingBuffer slot 内 device task 数量超过 100 时,静默写穿数组,踩踏相邻内存,且无任何报错。 ## 修改方案 将线性队列改为 ringbuffer:head/tail 保持单调递增计数器,数组访问加取模回绕。 See merge request: cann/pypto!5802 | 2 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 | |
perf(machine): Device CF hot path, tagSeq, and partial-stitch flags Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !5008 merge perf/device-cf-hotpath-bundle into master perf(machine): Device CF hot path, tagSeq, and partial-stitch flags Created-by: LordOfMysteries Commit-by: LordOfMysteries Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/2597 perf(machine): Device CF hot path, tagSeq, and partial-stitch flags Bundle device-side control-flow hot-path optimizations that share stitch/slot/ctrl surfaces. Commits: - perf(machine): Use cellMatchTagSeq and AICORE_TASK_INIT pool reset - perf(machine): Tighten device stitch, task build, and ctrl hot path Changes: - Monotonic cellMatchTagSeq instead of embedding taskId in tags - Word-wise AICORE_TASK_INIT pool reset / overflow clear - Device stitch / task / ctrl hot-path tightening See merge request: cann/pypto!5008 | 4 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 | |
dfx(machine): Add timeout flow Co-authored-by: qq_52905393<liuzhen180@huawei.com> # message auto-generated for no-merge-commit merge: !5213 merge dev-normalize-timeout into master dfx(machine): Add timeout flow Created-by: qq_52905393 Commit-by: qq_52905393 Merged-by: cann-robot Description: 1、调整了超时时间,aicpu sche侧除握手外,超时时间小于 aicore。dispatch 的流程中,~~aicore 的超时时间是 aicpu 的 1 - 2 倍之间~~,在 aicpu 超时时间的 80 % 处SetWarningStatus, 保证 aicpu 侧超时时,能拿到 aicore 的 warning status 信息 2、~~根据日志动态调整超时时间,不同日志级别设置了不同的超时倍率。对应的日志级别超时时间 × 对应的倍率~~ 3、新增 dfxBuffer,存储 Setstatus 标志,防止 aicpu 清零 shakeBuffer[0] 时,aicore 在写入最后的 stop 标记,导致读写冲突 See merge request: cann/pypto!5213 | 3 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 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 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 | |
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 | |
dfx(machine): Add timeout flow Co-authored-by: qq_52905393<liuzhen180@huawei.com> # message auto-generated for no-merge-commit merge: !5213 merge dev-normalize-timeout into master dfx(machine): Add timeout flow Created-by: qq_52905393 Commit-by: qq_52905393 Merged-by: cann-robot Description: 1、调整了超时时间,aicpu sche侧除握手外,超时时间小于 aicore。dispatch 的流程中,~~aicore 的超时时间是 aicpu 的 1 - 2 倍之间~~,在 aicpu 超时时间的 80 % 处SetWarningStatus, 保证 aicpu 侧超时时,能拿到 aicore 的 warning status 信息 2、~~根据日志动态调整超时时间,不同日志级别设置了不同的超时倍率。对应的日志级别超时时间 × 对应的倍率~~ 3、新增 dfxBuffer,存储 Setstatus 标志,防止 aicpu 清零 shakeBuffer[0] 时,aicore 在写入最后的 stop 标记,导致读写冲突 See merge request: cann/pypto!5213 | 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(machine): Add compile options Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !4938 merge cmake into master fix(machine): Add compile options Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 添加安全编译选项 See merge request: cann/pypto!4938 | 4 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 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): Drain die0/die1 ready queues when DIE_MIX default is empty Co-authored-by: Your Name<you@example.com> # message auto-generated for no-merge-commit merge: !5488 merge sche into master fix(machine): Drain die0/die1 ready queues when DIE_MIX default is empty Created-by: songyangyang18 Commit-by: Your Name Merged-by: cann-robot Description: ## 问题 A5( DAV_3510)多 die 场景下,控制流会对 cross-die 循环调用 RUNTIME_CalcLoopDieId,将 zero-pred leaf 放入 **die0 / die1 ready 队列**。 当 launch_sched_aicpu_num=1 时,唯一 schedule AICPU 在 WrapManager::InitDieId 中被标为 **DIE_MIX**。此时: - GetDieReadyQueue / GetDieReadyAicQue / GetDieReadyAivQue 对 DIE_MIX 回退到 **default** ready 队列; - DispatchAiCoreTask 原逻辑仅在 dieReadyQue != default 时发送 die 队列任务。 结果是:**任务在 die-ready 中,调度侧只轮询 default,die 队列永不被 drain**。 launch_sched_aicpu_num≥2(sche 绑定 DIE_0 / DIE_1)或非 A5(无 CalcLoopDieId)时无此问题。 ## 现象 | 层级 | 表现 | |------|------| | Host | HostLauncherErr::SYNC_FAILED;Runtime 507018 / execute kernel param invalid | | Device | F72001 ProcessTaskLoop timeout;finishedFunctionCnt=0,allsent=0,coreFunctionCnt 非 0 | | 队列 | default ready 空;die0 / die1 ready 积压任务 | | 复现条件 | A5 + launch_sched_aicpu_num=1(如 runtime_options_fusion case g2_early0_th1) | | 对照 | 同图 launch_sched_aicpu_num=2(g2_early1_th2)正常;与 launch_early_mode 无关 | 说明:Host 侧 507018 易被误判为入参非法;根因是 schedule **从未发出 leaf** 后超时。 ## 修改 原则:**尽量不改 DIE_0 / DIE_1 与 Resolve 路径语义**;仅在 DIE_MIX 兜底。 ### 1. wrap_manager.h 新增按 die 索引访问 die-ready 的入口: cpp ReadyCoreFunctionQueue* GetDieReadyQue(CoreType type, size_t dieIndex); ### 2. aicore_manager.h — DispatchAiCoreTask 发送顺序调整为: 1. **DIE_0 / DIE_1**:仍先发绑定 die 队列,再发 default(与原逻辑一致)。 2. **所有路径(含 DIE_MIX)**:先发 **default**。 3. **仅 DIE_MIX 且 default 已空**:再依次 drain die0、die1。 不改动: - ResolveDepForAllAiCore 原有 die 发送逻辑; - GetDieReadyQueue / 入队侧 EnableDieScheduling 行为。 ## 结果 | 用例 | 配置 | 结果 | |------|------|------| | g2_early0_th1(case 4) | launch_sched_aicpu_num=1 | **PASS**(修复前 ERROR / 超时) | | g2_early1_th2(case 5) | launch_sched_aicpu_num=2 | **PASS**(回归,语义未破坏) | See merge request: cann/pypto!5488 | 3 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 2 months ago | ||
| 4 months ago | ||
| 5 months ago | ||
| 2 months ago | ||
| 5 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 4 months ago | ||
| 7 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 7 months ago | ||
| 4 months ago | ||
| 7 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 4 months ago | ||
| 2 months ago | ||
| 3 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 3 months ago |