| Files | Last commit | Last update |
|---|---|---|
feat(Machine): Remove redundant _ Co-authored-by: Jie Yin<yinjie27@huawei.com> # message auto-generated for no-merge-commit merge: !5938 merge change-output-order into master feat(Machine): Remove redundant _ Created-by: yinjie27_ Commit-by: Jie Yin Merged-by: cann-robot Description: Remove redundant _ See merge request: cann/pypto!5938 | 2 months ago | |
feat(platform): Modify Platform config Co-authored-by: 2501_92924845<niulinkai@huawei.com> # message auto-generated for no-merge-commit merge: !6227 merge sfplatform into 9.2.0 feat(platform): Modify Platform config Created-by: 2501_92924845 Commit-by: 2501_92924845 Merged-by: cann-robot Description: 背景: 原始的platform信息并沿用了机器层面命名。 本 PR 对平台配置域做概念规范化,统一到三个标准概念: soc_series:原 short_soc_version(ini 键 Short_SoC_version),如 Ascend950; soc_version:芯片分 bin(ini 键 SoC_version,每个 soc_version 一个 ini 文件),如 Ascend950PR_9589; NPU_ARCH:核架构名称(ini 键 NpuArch),如 3510/2201。 A2/A3/A5 属于整机(chip + host CPU/网卡/机箱)层面的机器概念,不再用于平台配置选择。 Changes: platform_config 精简为实际交付的 13 个 soc_version ini(69 -> 13),规格与 CANN 9.2.0 包内文件一致;Ascend910_9363、Ascend950DT_9581X 按交付需求保留 DPlatform 枚举适配真实 soc_version,不再自定义枚举值:删除与实际芯片不符的 ASCEND_950DT_9579/ASCEND_950PR_9582(对应真实 bin 为 Ascend950DT_9572/Ascend950PR_9589), 补充 ASCEND_910_9363/ASCEND_950DT_9581X platform.h 新增 DPlatformToNPUArch(),统一 soc_version -> NPU_ARCH 映射 (910B 系列 -> 2201,950 系列 -> 3510,Kirin -> 3113/3003) GetCyclesForPass 仿真器选择改为按 NPU_ARCH 判断(3510 -> "A5",其余 -> "A2A3"), 不再按 A2A3/A5 机器名前缀匹配;A2A3/A5 仅作为 cost model 内部实现类型名保留 默认 device_platform 统一为标准格式 Ascend910B2(config_manager.h / tile_fwk_config.json) CMakeLists 安装清单与交付 ini 清单保持一致 UT 同步更新:枚举映射、legacy 格式兼容、NPU_ARCH 映射、ini 规格加载用例, 新增 Ascend910_9363 / Ascend950DT_9581X 用例 兼容性: 旧格式 device_platform(如 "ASCEND_910B2")仍可识别,自动归一化为标准 soc_version 并打印告警; 其中 ASCEND_950DT_9579 -> Ascend950DT_9572、ASCEND_950PR_9582 -> Ascend950PR_9589, 与其原先实际加载的 ini 规格保持一致 ASCEND_910C4 为无效值,回落默认 Ascend910B2(与原行为一致) Tests: TestDevicePlatformConfig(16 例)、TestConfigManager、CostModelTest 相关用例全部通过; See merge request: cann/pypto!6227 | 2 months ago | |
refactor(pass): Hide enable_slice from Python side Co-authored-by: zhaosenqiu<zhaosenqiu@huawei.com> # message auto-generated for no-merge-commit merge: !6516 merge noslice-9.2.0 into 9.2.0 refactor(pass): Hide enable_slice from Python side Created-by: zhaosenqiu Commit-by: zhaosenqiu Merged-by: cann-robot Description: refactor(pass): Hide enable_slice from Python side enable_slice is a debug-only switch for the 9.2.0 commercial release and must not be visible or configurable from outside. Changes: - Hide enable_slice from Python side and config files - Remove enable_slice usage from tests and examples Related Issues: #3390 See merge request: cann/pypto!6516 | 2 months ago | |
refactor(pass): Hide enable_slice from Python side Co-authored-by: zhaosenqiu<zhaosenqiu@huawei.com> # message auto-generated for no-merge-commit merge: !6516 merge noslice-9.2.0 into 9.2.0 refactor(pass): Hide enable_slice from Python side Created-by: zhaosenqiu Commit-by: zhaosenqiu Merged-by: cann-robot Description: refactor(pass): Hide enable_slice from Python side enable_slice is a debug-only switch for the 9.2.0 commercial release and must not be visible or configurable from outside. Changes: - Hide enable_slice from Python side and config files - Remove enable_slice usage from tests and examples Related Issues: #3390 See merge request: cann/pypto!6516 | 2 months ago | |
refactor(pass): Hide enable_slice from Python side Co-authored-by: zhaosenqiu<zhaosenqiu@huawei.com> # message auto-generated for no-merge-commit merge: !6516 merge noslice-9.2.0 into 9.2.0 refactor(pass): Hide enable_slice from Python side Created-by: zhaosenqiu Commit-by: zhaosenqiu Merged-by: cann-robot Description: refactor(pass): Hide enable_slice from Python side enable_slice is a debug-only switch for the 9.2.0 commercial release and must not be visible or configurable from outside. Changes: - Hide enable_slice from Python side and config files - Remove enable_slice usage from tests and examples Related Issues: #3390 See merge request: cann/pypto!6516 | 2 months ago | |
refactor(pass): Hide enable_slice from Python side Co-authored-by: zhaosenqiu<zhaosenqiu@huawei.com> # message auto-generated for no-merge-commit merge: !6516 merge noslice-9.2.0 into 9.2.0 refactor(pass): Hide enable_slice from Python side Created-by: zhaosenqiu Commit-by: zhaosenqiu Merged-by: cann-robot Description: refactor(pass): Hide enable_slice from Python side enable_slice is a debug-only switch for the 9.2.0 commercial release and must not be visible or configurable from outside. Changes: - Hide enable_slice from Python side and config files - Remove enable_slice usage from tests and examples Related Issues: #3390 See merge request: cann/pypto!6516 | 2 months 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 |
|---|---|---|
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 4 months ago | ||
| 4 months ago |