| Files | Last commit | Last update |
|---|---|---|
feat(kirin9050): Support matmul macro instruction with pre-stage quant/dequant Co-authored-by: m0_71310678<lizhexun2@huawei.com> # message auto-generated for no-merge-commit merge: !7126 merge kirin9050-matmul-mergepr into master feat(kirin9050): Support matmul macro instruction with pre-stage quant/dequant Created-by: m0_71310678 Commit-by: m0_71310678 Merged-by: cann-robot Description: feat(kirin9050): Support matmul macro instruction with pre-stage quant/dequant Support Kirin9050 matmul macro instruction bring-up: - macro matmul codegen/tileop (attrs, quant, inplace, infer), decoupled from generic path - route quant_pre through macro matmul; GEMV routing and fp16/int8 K-slice clamps - L1->GM TSTORE direct store, l12ub/ub2l1 support - rework matmul quant UT ids, shapes and tile-split coverage (Q16.16 semantics) Changes: - Add Kirin9050 (NCH) LiteNPU platform support and matmul macro instruction codegen/tileop - Add l12ub/ub2l1 data path and per-channel quant_pre routing through macro matmul - Add Kirin9030/Kirin9050/KirinX90 codegen UT coverage for matmul, attention and other single operations See merge request: cann/pypto!7126 | 1 month ago | |
feat(operation): Update kirin supported op dtypes check Co-authored-by: GBowen666<libowen58@huawei.com> # message auto-generated for no-merge-commit merge: !6884 merge master into master feat(operation): Update kirin supported op dtypes check Created-by: GBowen666 Commit-by: GBowen666 Merged-by: cann-robot Description: Related Issue: [[Requirement|需求建议]: 算子 dtype 校验改为按输入维度的 JSON 配置,并补齐 Kirin 校验](https://gitcode.com/cann/pypto/issues/3547) 1、feat(operation): Update kirin supported op dtypes check See merge request: cann/pypto!6884 | 1 month ago | |
feat(machine): Support BN parallel for DRCO Co-authored-by: gaoxingwang<camuel.gao@huawei.com> # message auto-generated for no-merge-commit merge: !7246 merge drco-bn-parallel-final into master feat(machine): Support BN parallel for DRCO Created-by: gaoxingwang Commit-by: gaoxingwang Merged-by: cann-robot Description: feat(machine): Support BN parallel for DRCO Add a device-side parallel window for DRCO devTask execution under BN parallel mode (device_sched_parallelism > 1) on 2201: block0 acts as the single admission/handover/recycle/stop leader while all cores visit slots in try-mode rotation, replacing the legacy SyncAllMix barrier per devTask. Squashed from the window feature, its cross-core visibility fixes, the minimal atomic protocol reduction, and two late hardening changes (per-slot activation now issues the ENTIRE_DATA_CACHE invalidation before loading queue/matrix read sets; ready-queue entries are published via atomic release stores ahead of the tail gateway). BN parallel mode and DRCO L2-affinity scheduling are temporarily made mutually exclusive (BN wins): enabling both together exposes a stale-data window between the L2 affinity dispatch order and the BN window admit/handover protocol. Proper fusion is left for a follow-up. Changes: - Add DrcoParallelWindow slot ring, per-slot activation/visit/exit protocol and leader poll loop - Encode stop as cross-launch epoch with entry barrier clear for non-block0 cores - Guard stale slot activation with posId validation and invalidate freed slots on idle - Reset window cursors and BN link fields deterministically across launches and replays - Publish ready-queue entries (func/root/forId/wsId) with atomic release stores - Move UpdateCacheDevTask entire-cache dcci ahead of activation read-set loads - Force DRCO_FLAG_L2_CLOSE=0 when ENABLE_AICORE_BN_PARALLEL=1 (temporary mutex) Related Issues: #7147 See merge request: cann/pypto!7246 | 1 month ago | |
feat(Operation): Add pypto.conv_backward_filter and its 2D implementation on A2/A3 Co-authored-by: Zehai<wangzehai3@huawei.com> Co-authored-by: hongyiliu111<liuhongyi1@huawei.com> Co-authored-by: yuxin5<yuxin5@huawei.com> Co-authored-by: xutianlong1<xutianlong1@huawei.com> Co-authored-by: zhouxuan78<zhouxuan78@huawei.com> # message auto-generated for no-merge-commit merge: !6752 merge dev into master feat(Operation): Add pypto.conv_backward_filter and its 2D implementation on A2/A3 Created-by: yuxin5 Commit-by: Zehai;yuxin5;zhouxuan78;xutianlong1;royccc;hongyiliu111 Merged-by: cann-robot Description: feat(Operation): Add pypto.conv_backward_filter and its 2D implementation on A2/A3 Add pypto.conv_backward_filter interface to compute the gradient of convolution with respect to the weight tensor, and implement its 2D support spanning the frontend interface, backend operation implementation and MTE codegen Changes: - Add pypto.conv_backward_filter frontend interface with parameter validation - Implement ConvBackwardFilter 2D backend operation and codegen - Add UT/ST test cases for the 2D implementation See merge request: cann/pypto!6752 | 1 month ago | |
feat(dfx): Simplify compiler monitor timeout reporting Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !7343 merge new_monitor into master feat(dfx): Simplify compiler monitor timeout reporting Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 删除compile_timeout_stage 和 compile_monitor_print_interval 两个超时检测的配置项 以及相关内容 See merge request: cann/pypto!7343 | 23 days ago | |
refactor(pass): Simplify auto mix partition to on/off switch and enable by default Co-authored-by: bytecode<dubingjia1@huawei.com> # message auto-generated for no-merge-commit merge: !7411 merge auto-mix-partition-switch into master refactor(pass): Simplify auto mix partition to on/off switch and enable by default Created-by: bytecode Commit-by: bytecode Merged-by: cann-robot Description: #3796 ## 问题 ReduceCopyMerge::MapAutoMixPartitionToLimits 仍按多档位(2=default、3~100 回退、>100 自定义总 op 数)解释 auto_mix_partition,与 Python API/schema 已收敛的 0/1 开关语义不一致,且 tile_fwk_config.json 默认 0 导致自动 CV Mix 合图默认关闭。 ## 修复 - MapAutoMixPartitionToLimits:删除档位映射,恢复 autoMixPartition != 0 开关语义,上限固定 kMaxSubgraphAICOpNum=2000/kMaxSubgraphAIVOpNum=2240 - MergeInput::maxSubgraphTotalOpNum:删除自定义档总 op 数字段,CheckLatencyConstraint/WarnIfEnforceOpNumExceeds 移除总 op 数检查与单侧 >0 哨兵 - tile_fwk_config.json/tile_fwk_config_schema.json:auto_mix_partition 默认值 0→1,未配置时默认开启自动 CV Mix 合图 - auto_mix_partition() docstring 与 precision-pass SKILL.md 同步默认开启表述 - 删除档位专属 UT(映射/总 op 限/default 档/回退/自定义/零哨兵),保留 0/1 端到端用例并更名 RunOnFunction_AutoMixEnabledMerges ## 涉及文件 - reduce_copy.cpp/reduce_copy.h:删除档位映射与总 op 数检查 - test_reduce_copy.cpp:删除 6 个档位用例,保留 0/1 用例 - tile_fwk_config.json/tile_fwk_config_schema.json:默认值开 1 - pass_config.py/SKILL.md:默认值文档同步 See merge request: cann/pypto!7411 | 21 days ago | |
refactor(pass): Simplify auto mix partition to on/off switch and enable by default Co-authored-by: bytecode<dubingjia1@huawei.com> # message auto-generated for no-merge-commit merge: !7411 merge auto-mix-partition-switch into master refactor(pass): Simplify auto mix partition to on/off switch and enable by default Created-by: bytecode Commit-by: bytecode Merged-by: cann-robot Description: #3796 ## 问题 ReduceCopyMerge::MapAutoMixPartitionToLimits 仍按多档位(2=default、3~100 回退、>100 自定义总 op 数)解释 auto_mix_partition,与 Python API/schema 已收敛的 0/1 开关语义不一致,且 tile_fwk_config.json 默认 0 导致自动 CV Mix 合图默认关闭。 ## 修复 - MapAutoMixPartitionToLimits:删除档位映射,恢复 autoMixPartition != 0 开关语义,上限固定 kMaxSubgraphAICOpNum=2000/kMaxSubgraphAIVOpNum=2240 - MergeInput::maxSubgraphTotalOpNum:删除自定义档总 op 数字段,CheckLatencyConstraint/WarnIfEnforceOpNumExceeds 移除总 op 数检查与单侧 >0 哨兵 - tile_fwk_config.json/tile_fwk_config_schema.json:auto_mix_partition 默认值 0→1,未配置时默认开启自动 CV Mix 合图 - auto_mix_partition() docstring 与 precision-pass SKILL.md 同步默认开启表述 - 删除档位专属 UT(映射/总 op 限/default 档/回退/自定义/零哨兵),保留 0/1 端到端用例并更名 RunOnFunction_AutoMixEnabledMerges ## 涉及文件 - reduce_copy.cpp/reduce_copy.h:删除档位映射与总 op 数检查 - test_reduce_copy.cpp:删除 6 个档位用例,保留 0/1 用例 - tile_fwk_config.json/tile_fwk_config_schema.json:默认值开 1 - pass_config.py/SKILL.md:默认值文档同步 See merge request: cann/pypto!7411 | 21 days ago | |
feat(ir): Support pypto.loop_unroll Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !4643 merge nested_func into master feat(ir): Support pypto.loop_unroll Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: 1. Support pypto.loop_unroll 2. Support and/or for symbolic_scalar Related Issue: #1185 See merge request: cann/pypto!4643 | 4 months ago | |
style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 4 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 1 month ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 23 days ago | ||
| 21 days ago | ||
| 21 days ago | ||
| 4 months ago | ||
| 4 months ago |