| 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 | |
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(utils): Refactor file_utils.h Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !4130 merge refactor/file_utils1 into master refactor(utils): Refactor file_utils.h Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Refactor file_utils.h Related Issue: #1185 See merge request: cann/pypto!4130 | 5 months ago | |
feat(platform): Add L0A and L0B mx size Co-authored-by: 2501_92924845<niulinkai@huawei.com> # message auto-generated for no-merge-commit merge: !6741 merge code0928 into master feat(platform): Add L0A and L0B mx size Created-by: 2501_92924845 Commit-by: 2501_92924845 Merged-by: cann-robot Description: 本次变更在平台配置解析链路中新增了 L0A/L0B MX 缓冲区大小配置项 l0_a_mx_size 与 l0_b_mx_size。Platform::SetMemoryLimit 不再对 MEM_L0AMX 和 MEM_L0BMX 固定使用默认值 kDefaultL0mxSize,而是优先从 INI 的 AICoreSpec 段读取对应配置,读取失败时回退到默认值。同时为 Ascend950 系列平台配置文件补充了这两个配置项,并新增单元测试覆盖配置读取与内存上限设置行为。 主要改动 新增配置项常量与读取逻辑: 在 platform.cpp 中新增 l0aMxSize、l0bMxSize 常量,并在 SetMemoryLimit 中通过 parser.GetSizeVal 从 AICoreSpec 读取 l0_a_mx_size、l0_b_mx_size,分别用于 MEM_L0AMX 与 MEM_L0BMX 的内存上限。 默认值回退机制: 当 INI 中不存在对应配置时,l0aMxLimit/l0bMxLimit 回退为 kDefaultL0mxSize,保持原有行为兼容。 Ascend950 系列平台配置补充: 在 Ascend950DT_9572、Ascend950DT_9581、Ascend950DT_9581X、Ascend950DT_9582、Ascend950PR_9579、Ascend950PR_9589 等 INI 文件中新增 l0_a_mx_size=4096 与 l0_b_mx_size=4096。 新增单元测试: 在 test_device_platform_config.cpp 中新增 L0MxSizeOnlyConfiguredFor950Series 与 SetMemoryLimitL0MxSizeIniOrDefault,验证 Ascend950 系列读取 4096、非 MX 系列读取失败,以及 SetMemoryLimit 使用 INI 值或默认值 2048 的行为。 See merge request: cann/pypto!6741 | 1 month ago | |
feat(platform): Add L0A and L0B mx size Co-authored-by: 2501_92924845<niulinkai@huawei.com> # message auto-generated for no-merge-commit merge: !6741 merge code0928 into master feat(platform): Add L0A and L0B mx size Created-by: 2501_92924845 Commit-by: 2501_92924845 Merged-by: cann-robot Description: 本次变更在平台配置解析链路中新增了 L0A/L0B MX 缓冲区大小配置项 l0_a_mx_size 与 l0_b_mx_size。Platform::SetMemoryLimit 不再对 MEM_L0AMX 和 MEM_L0BMX 固定使用默认值 kDefaultL0mxSize,而是优先从 INI 的 AICoreSpec 段读取对应配置,读取失败时回退到默认值。同时为 Ascend950 系列平台配置文件补充了这两个配置项,并新增单元测试覆盖配置读取与内存上限设置行为。 主要改动 新增配置项常量与读取逻辑: 在 platform.cpp 中新增 l0aMxSize、l0bMxSize 常量,并在 SetMemoryLimit 中通过 parser.GetSizeVal 从 AICoreSpec 读取 l0_a_mx_size、l0_b_mx_size,分别用于 MEM_L0AMX 与 MEM_L0BMX 的内存上限。 默认值回退机制: 当 INI 中不存在对应配置时,l0aMxLimit/l0bMxLimit 回退为 kDefaultL0mxSize,保持原有行为兼容。 Ascend950 系列平台配置补充: 在 Ascend950DT_9572、Ascend950DT_9581、Ascend950DT_9581X、Ascend950DT_9582、Ascend950PR_9579、Ascend950PR_9589 等 INI 文件中新增 l0_a_mx_size=4096 与 l0_b_mx_size=4096。 新增单元测试: 在 test_device_platform_config.cpp 中新增 L0MxSizeOnlyConfiguredFor950Series 与 SetMemoryLimitL0MxSizeIniOrDefault,验证 Ascend950 系列读取 4096、非 MX 系列读取失败,以及 SetMemoryLimit 使用 INI 值或默认值 2048 的行为。 See merge request: cann/pypto!6741 | 1 month ago | |
feat(platform): Support Kirin9050 (NCH) platform config and passes Co-authored-by: m0_71310678<lizhexun2@huawei.com> # message auto-generated for no-merge-commit merge: !6970 merge kirin9050-feature-branch-part1 into master feat(platform): Support Kirin9050 (NCH) platform config and passes Created-by: m0_71310678 Commit-by: m0_71310678 Merged-by: cann-robot Description: pypto项目需要支持kirin9050平台,适配kirin9050的相关基础设施代码。本pr合入kirin9050相关平台支持代码和pass修改代码 Related Issue: [#3593](https://gitcode.com/cann/pypto/issues/3593) See merge request: cann/pypto!6970 | 1 month ago |
| Files | Last commit | Last update |
|---|---|---|
| 1 month ago | ||
| 4 months ago | ||
| 5 months ago | ||
| 1 month ago | ||
| 1 month ago | ||
| 1 month ago |