| Files | Last commit | Last update |
|---|---|---|
feat(pro): Add public HF32 and TF32 mode controls Support Ascend950 Cube precision and RNE/RNA rounding Test mode arithmetic, state restoration and invalid targets Refs: #3932 | 9 days ago | |
feat(pypto_pro): Add system and SIMT NOP delay primitives Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !7570 merge nop into master feat(pypto_pro): Add system and SIMT NOP delay primitives Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Add pl.system.nop(n) and pl.simt.nop(n) for execution-timing control and polling backoff. n is a compile-time constant in [0, INT32_MAX]; NOP is a delay primitive and does not provide synchronization or memory ordering. See merge request: cann/pypto!7570 | 13 days ago | |
feat(pypto_pro): Support conv tile valid_shape and N-dim set_validshape Co-authored-by: h9718w<wangchaoyuan10@huawei.com> # message auto-generated for no-merge-commit merge: !7545 merge feat-conv-valid-shape into master feat(pypto_pro): Support conv tile valid_shape and N-dim set_validshape Created-by: h9718w Commit-by: h9718w Merged-by: cann-robot Description: ## 概述 - conv 布局的 pl.TileType 现支持 valid_shape(逐维为编译期常量或 -1),并将其 lower 为 pto ConvTile 可选的第 6 个模板参数 ValidShape_。 - pl.set_validshape 从 (tile, row, col) 泛化为 conv tile 上每个 shape 维各对应一个值:block.set_validshape 的 IR 类型推导按 tile rank 精确校验元数(tile + rank 个值——2-D 保持 (row, col) 3 参,conv rank 4-6 为 5..7 参;空参数、首参非 TileType 亦在 IR 构建期报错),codegen 生成带 int64_t 转换的 ConvTile::SetValidShape(...) 并 CHECK 相同元数(pto 的变长参数模板会对参数类型做 static_assert)。 - 语义遵循现有 IR 不变式(TileType 构造函数将省略的 valid_shape 归一化为全 -1,与 2-D 的“省略即动态”规则一致):除非声明了静态维,每个 conv tile 均可在运行时设置;前端拒绝设置含静态有效维的 tile,并将每个运行时值约束在 (0, declared] 内(不产生 0 宽度空区域:conv tile 没有 fillpad 语义)。 - 布局 shape 契约(rank/C0/fixed 16/N%16)与 valid_shape 声明契约(维度个数、-1 或 [1, declared])仅在 Python 前端校验(_validate_conv_tile_type 与 TileType 构造校验);shape 维的编译期常量性由 block.make_mutex_tile 分配路径的类型推导保证(逐维 CHECK ConstInt),codegen 直接假设该不变式,仅保留 set_validshape 元数检查。 See merge request: cann/pypto!7545 | 10 days ago | |
fix(pypto_pro): fix l2hint Co-authored-by: fa<yangzf993@163.com> # message auto-generated for no-merge-commit merge: !7463 merge fixdocs into master fix(pypto_pro): fix l2hint Created-by: fafafafafa Commit-by: fa Merged-by: cann-robot Description: PR 应该避免没有描述信息,描述信息的最重要的作用是描述修改意图,应该清晰明了。例如:标题中包含了 fix 标签,如果没有描述信息,就需要Review人员猜测PR具体修复了哪些内容,或者怀疑修改的必要性。如果PR和特定的Issue相关,可以单独包含一行 Related Issue: 放到描述信息最后。 下面是一个典型的PR描述信息: The origin issue template brings too many noise, it's not suitable for git message. eg: comments are not removed, labels are redundant as the PR tile already contains the tag. The guide gives a clear suggestion on how to write the PR body. Related Issue: #1234,#5678 更多描述信息见:[Commit Message 规范](../docs/zh/contribute/pull-request.md#commit-message) See merge request: cann/pypto!7463 | 19 days ago | |
docs(fix): Fix the docs bug Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !7642 merge master into master docs(fix): Fix the docs bug Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: Fix the docs bug See merge request: cann/pypto!7642 | 11 days ago | |
aicpu kerneltype bugfix Co-authored-by: chen-yongkang16<chenyongkang16@huawei.com> # message auto-generated for no-merge-commit merge: !7659 merge master into master aicpu kerneltype bugfix Created-by: huangyuqian Commit-by: chen-yongkang16 Merged-by: cann-robot Description: PR 应该避免没有描述信息,描述信息的最重要的作用是描述修改意图,应该清晰明了。例如:标题中包含了 fix 标签,如果没有描述信息,就需要Review人员猜测PR具体修复了哪些内容,或者怀疑修改的必要性。如果PR和特定的Issue相关,可以单独包含一行 Related Issue: 放到描述信息最后。 下面是一个典型的PR描述信息: The origin issue template brings too many noise, it's not suitable for git message. eg: comments are not removed, labels are redundant as the PR tile already contains the tag. The guide gives a clear suggestion on how to write the PR body. Related Issue: #1234,#5678 更多描述信息见:[Commit Message 规范](../docs/zh/contribute/pull-request.md#commit-message) See merge request: cann/pypto!7659 | 9 days ago | |
aicpu kerneltype bugfix Co-authored-by: chen-yongkang16<chenyongkang16@huawei.com> # message auto-generated for no-merge-commit merge: !7659 merge master into master aicpu kerneltype bugfix Created-by: huangyuqian Commit-by: chen-yongkang16 Merged-by: cann-robot Description: PR 应该避免没有描述信息,描述信息的最重要的作用是描述修改意图,应该清晰明了。例如:标题中包含了 fix 标签,如果没有描述信息,就需要Review人员猜测PR具体修复了哪些内容,或者怀疑修改的必要性。如果PR和特定的Issue相关,可以单独包含一行 Related Issue: 放到描述信息最后。 下面是一个典型的PR描述信息: The origin issue template brings too many noise, it's not suitable for git message. eg: comments are not removed, labels are redundant as the PR tile already contains the tag. The guide gives a clear suggestion on how to write the PR body. Related Issue: #1234,#5678 更多描述信息见:[Commit Message 规范](../docs/zh/contribute/pull-request.md#commit-message) See merge request: cann/pypto!7659 | 9 days ago | |
docs(fix): Repair the docs bug Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !7245 merge master into master docs(fix): Repair the docs bug Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: ## 修改说明 对 docs/zh/api 全量文档(718 个 md)做质量自检,并按自检结论修复以下文档问题。所有改动均为行级文本修正,不改变文档结构与章节内容。 ### 产品支持情况与芯片标签 - **index_hiascend.md**:补登记 3 个缺失文档——pypto-conv_backward_filter、SIMT-API 同步控制简介(synchronization_intro)、Warp函数简介(warp_intro),插入位置与各目录 index.md 的 toctree 顺序保持一致 - **pypto-conv.md**:修复约束说明中 npu 标签 id4/id5 与产品支持情况章节重复的问题,改为 id10/id11,保证 id 在文件内唯一 - **pypto-get_convbp_filter_tile_shapes.md / pypto-set_convbp_filter_tile_shapes.md / pypto-conv_backward_filter.md**:产品型号名标准化——Ascend 950PR/Ascend 950DT → Ascend 950PR&950DT系列产品、Atlas A3 训练系列产品/Atlas A3 推理系列产品 → Atlas A3系列产品、Atlas A2 训练系列产品/Atlas A2 推理系列产品 → Atlas A2系列产品 ### 术语规范 - **PyPto → PyPTO**:pypto-assemble.md(3 处)、pypto-view.md(1 处) - **TileShape 变体统一**(tileshape / tile shape / Tile shape → TileShape):15 个文件、36 处 - **存储单元名称补全**(L1/L0A/L0B/L0C 单独使用 → L1 Buffer / L0A Buffer / L0B Buffer / L0C Buffer):16 个文件、41 处,含 move.md 小节标题 ### L1->L0A/L0B → ### L1 Buffer->L0A/L0B Buffer、matmul.md Kirin9050 切分约束段等 ### 参数表规范 - **参数说明表头统一**:| 参数 | → | 参数名 |,共 319 个文件;仅替换参数说明章节内的表头行,sum.md 约束说明中的数据类型矩阵(| 参数 | dim=0 | dim=1 |)不属于参数表,保持不动 ### 其他 - 批量修改保持各文件原有行尾风格(仓内 CRLF/LF 混合),未引入行尾变化 See merge request: cann/pypto!7245 | 1 month ago | |
aicpu kerneltype bugfix Co-authored-by: chen-yongkang16<chenyongkang16@huawei.com> # message auto-generated for no-merge-commit merge: !7659 merge master into master aicpu kerneltype bugfix Created-by: huangyuqian Commit-by: chen-yongkang16 Merged-by: cann-robot Description: PR 应该避免没有描述信息,描述信息的最重要的作用是描述修改意图,应该清晰明了。例如:标题中包含了 fix 标签,如果没有描述信息,就需要Review人员猜测PR具体修复了哪些内容,或者怀疑修改的必要性。如果PR和特定的Issue相关,可以单独包含一行 Related Issue: 放到描述信息最后。 下面是一个典型的PR描述信息: The origin issue template brings too many noise, it's not suitable for git message. eg: comments are not removed, labels are redundant as the PR tile already contains the tag. The guide gives a clear suggestion on how to write the PR body. Related Issue: #1234,#5678 更多描述信息见:[Commit Message 规范](../docs/zh/contribute/pull-request.md#commit-message) See merge request: cann/pypto!7659 | 9 days ago | |
feat(dist): Add batch channel support Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !7666 merge urma1 into master feat(dist): Add batch channel support Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: 1. Distributed Buffer Channels, Remote Tensors and Channel Locks (Frontend) - Added pld.buffer_channel: a UB staging ring that batches WQEs and publishes them with a single doorbell. - Added dist.remote_tensor: build a peer tensor from a window. - Replaced dist.notify/dist.wait with pl.atomic_* plus explicit channel.lock/channel.unlock. - Frontend validation of write_notify's submit flag, WQE size limits and CQE handling. 2. CCE Codegen for Buffer Channels and Channel Locks (Backend) - Emit buffer-channel staging calls and channel lock/unlock, sharing the SQE word builders with the standalone channel path. - Assert the SQE option, atomic word width, reduce dtype and 256 MiB WQE limits in sanitizer builds. - Corrected staged SQE encoding and publish order (submit before drain); validated buffer-channel payloads and reduced enums. - Dropped the now-unused notify/wait codegen helpers. See merge request: cann/pypto!7666 | 10 days ago | |
docs(fix): Fix the docs bug Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !7642 merge master into master docs(fix): Fix the docs bug Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: Fix the docs bug See merge request: cann/pypto!7642 | 11 days ago | |
docs(fix): Fix the docs bug Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !7642 merge master into master docs(fix): Fix the docs bug Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: Fix the docs bug See merge request: cann/pypto!7642 | 11 days ago | |
aicpu kerneltype bugfix Co-authored-by: chen-yongkang16<chenyongkang16@huawei.com> # message auto-generated for no-merge-commit merge: !7659 merge master into master aicpu kerneltype bugfix Created-by: huangyuqian Commit-by: chen-yongkang16 Merged-by: cann-robot Description: PR 应该避免没有描述信息,描述信息的最重要的作用是描述修改意图,应该清晰明了。例如:标题中包含了 fix 标签,如果没有描述信息,就需要Review人员猜测PR具体修复了哪些内容,或者怀疑修改的必要性。如果PR和特定的Issue相关,可以单独包含一行 Related Issue: 放到描述信息最后。 下面是一个典型的PR描述信息: The origin issue template brings too many noise, it's not suitable for git message. eg: comments are not removed, labels are redundant as the PR tile already contains the tag. The guide gives a clear suggestion on how to write the PR body. Related Issue: #1234,#5678 更多描述信息见:[Commit Message 规范](../docs/zh/contribute/pull-request.md#commit-message) See merge request: cann/pypto!7659 | 9 days ago | |
docs(fix): Fix the docs bug Co-authored-by: lyz0328<liyanzhen@huawei.com> # message auto-generated for no-merge-commit merge: !7642 merge master into master docs(fix): Fix the docs bug Created-by: lyz0328 Commit-by: lyz0328 Merged-by: cann-robot Description: Fix the docs bug See merge request: cann/pypto!7642 | 11 days ago | |
feat(pypto_pro): Add pl.atomic_* scalar atomics on GM Tensors Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !7502 merge atomic-rmw into master feat(pypto_pro): Add pl.atomic_* scalar atomics on GM Tensors Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Add atomic add/sub/exch/max/min/inc/dec/and/or/xor/cas on one GM Tensor element, located by a linear offset like getval/setval. The family lowers to two IR ops -- block.atomic_rmw with an AtomicRMWMode kind, and block.atomic_cas -- so the CCE backend implements two instruction families and emits the device intrinsics (atomicAdd ... atomicXOr, atomicCAS) directly. Element dtype support follows the device scalar-atomic interface: add/sub/exch/max/min/cas accept i32/u32/f32/i64/u64, the bitwise ops i32/u32/i64/u64, and the wrapping counters u32/u64. The returned pre-op value has the element dtype, so the atomic result needs no extra cast. See merge request: cann/pypto!7502 | 18 days ago |
| Files | Last commit | Last update |
|---|---|---|
| 9 days ago | ||
| 13 days ago | ||
| 10 days ago | ||
| 19 days ago | ||
| 11 days ago | ||
| 9 days ago | ||
| 9 days ago | ||
| 1 month ago | ||
| 9 days ago | ||
| 10 days ago | ||
| 11 days ago | ||
| 11 days ago | ||
| 9 days ago | ||
| 11 days ago | ||
| 18 days ago |