| Files | Last commit | Last update |
|---|---|---|
feat(ir): Represent configuration changes as ConfigStmt Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !6899 merge add_configStmt into master feat(ir): Represent configuration changes as ConfigStmt Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: 使用 OP_CONFIG 记录配置变更,统一配置的 IR 文本序列化 - 使用 TensorOpStmt 承载 OP_CONFIG,显式记录配置变更,为后续 token 依赖支持打基础,本次暂不添加 token。 - 实现各类 Tile 与 vector<int64_t> 的双向转换,复用整数列表的 Load/Dump,并校验长度、布尔值及数值范围。 - 字符串 key 的 map 使用嵌套属性 #name(value),整数 key 的 map 使用二元整数列表 [[key, value], ...],移除独立的 map 文法和冒号 token。 - 补充配置记录、序列化往返及典型异常场景测试,同步更新 IR 快照和中英文文档。 See merge request: cann/pypto!6899 | 1 month ago | |
fix(pypto-pro): Fix tiletype in IR and keep camelCase code style Co-authored-by: poorwill<wangbing110@huawei.com> # message auto-generated for no-merge-commit merge: !7348 merge vf_fusion into master fix(pypto-pro): Fix tiletype in IR and keep camelCase code style Created-by: wangbing110 Commit-by: poorwill Merged-by: cann-robot Description: fix(pypto-pro): Fix tiletype in IR and keep camelCase code style See merge request: cann/pypto!7348 | 25 days ago | |
feat(pypto_pro): Add ConvTile declaration and allocation support Co-authored-by: h9718w<wangchaoyuan10@huawei.com> # message auto-generated for no-merge-commit merge: !7061 merge feat-conv-tile into master feat(pypto_pro): Add ConvTile declaration and allocation support Created-by: h9718w Commit-by: h9718w Merged-by: cann-robot Description: 扩展 pypto_pro 前端支持卷积数据布局(NC1HWC0、NDC1HWC0、FRACTAL_Z、FRACTAL_Z_3D):多维 Tile 不再生成为 2-D 的 pto::Tile,而是生成为 L1 中的 pto::ConvTile,并支持通过 make_tile_group 对 ConvTile 进行声明与分配。 目前该接口只提供 ConvTile 的声明与分配能力,卷积数据搬运路径(GM 装载、im2col 折叠等)不在本次范围内。 主要变更: - IR 枚举、io_text 映射与 Python 绑定新增四个卷积 TensorLayout 取值 - 前端对多维卷积布局 TileType 提前校验:仅限 L1、按布局约束 rank,固定 16 与 C0 规则、dtype 白名单均镜像 pto-isa - 卷积布局由 HardwareInfo.conv_layout 承载,CCE codegen 发射 ConvTile<...>,且不携带 pto::ConvTile 所拒绝的 2-D (rows, cols) 构造实参 - 结构相等、哈希、IR 打印与 io_text 往返对新 conv_layout 字段保持一致 - 新增 parser/codegen 单元测试(全文 .pypto golden 对比)、C++ io_text 往返单元测试以及声明与分配的 NPU 上板系统测试 - 更新 SIMD-API 中 TileType 与 TensorLayout 的卷积布局文档 See merge request: cann/pypto!7061 | 19 days ago | |
fix(pypto-pro): Fix tiletype in IR and keep camelCase code style Co-authored-by: poorwill<wangbing110@huawei.com> # message auto-generated for no-merge-commit merge: !7348 merge vf_fusion into master fix(pypto-pro): Fix tiletype in IR and keep camelCase code style Created-by: wangbing110 Commit-by: poorwill Merged-by: cann-robot Description: fix(pypto-pro): Fix tiletype in IR and keep camelCase code style See merge request: cann/pypto!7348 | 25 days ago | |
feat(pypto-pro): Introduce PGOVFRunOnProgram pass Co-authored-by: poorwill<wangbing110@huawei.com> # message auto-generated for no-merge-commit merge: !7474 merge master into master feat(pypto-pro): Introduce PGOVFRunOnProgram pass Created-by: wangbing110 Commit-by: poorwill Merged-by: cann-robot Description: feat(pypto-pro): Introduce PGOVFRunOnProgram pass See merge request: cann/pypto!7474 | 18 days ago |
| Files | Last commit | Last update |
|---|---|---|
| 1 month ago | ||
| 25 days ago | ||
| 19 days ago | ||
| 25 days ago | ||
| 18 days ago |