| Files | Last commit | Last update |
|---|---|---|
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): 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 | |
docs(pypto_pro): Declare same-start constraints and complete bitwise dtype list Co-authored-by: h9718w<wangchaoyuan10@huawei.com> # message auto-generated for no-merge-commit merge: !7422 merge docs-ub-same-start-constraints into master docs(pypto_pro): Declare same-start constraints and complete bitwise dtype list Created-by: h9718w Commit-by: h9718w Merged-by: cann-robot Description: ## 背景 1. **out 与输入同 UB 起始地址的约束声明**(7 个文档)——"结果未定义"口径(同 cuBLAS 等 out-of-place 接口惯例); 2. **运行时标量口径**(15 个文档的 rhs 参数描述)——按目标元素类型转换(同 C++ static_cast 语义,对齐 pto-isa 边界的统一行为),值域由用户保证;常量仍须可表示(值域检查保留在 #6984); 3. **and_/xor 的 INT64/UINT64 数据类型补齐**——实现早已支持,纯勘误。 ## 内容 ### 1. out 与输入同 UB 起始地址的约束声明(7 个文档) - ne/eq/ge/gt/le/lt/select 补充约束:out 与 lhs(或 Tile 类型的 rhs / mask)使用相同的 UB 起始地址时,写入会就地覆盖仍在读取的输入,**结果未定义**。 - 措辞采用"结果未定义"(使用契约),而非"会报错"(实现承诺)——与 cast.md 的"应为 out 和 src 分配互不重叠的 UB 存储区域"、transpose.md 既有的"不可与src为同一Tile"以及业界 out-of-place 接口(cuBLAS/CUDA)口径一致。 - 保留机制解释("掩码按位打包写入该地址后会就地覆盖输入"),告知用户为什么需要避开该用法。 ## 说明 - 同址行为构建期不做校验(判据只能是 allocation 基址,subview/动态槽位的实际起址静态不可推导); See merge request: cann/pypto!7422 | 20 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 | |
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(pypto_pro): Declare same-start constraints and complete bitwise dtype list Co-authored-by: h9718w<wangchaoyuan10@huawei.com> # message auto-generated for no-merge-commit merge: !7422 merge docs-ub-same-start-constraints into master docs(pypto_pro): Declare same-start constraints and complete bitwise dtype list Created-by: h9718w Commit-by: h9718w Merged-by: cann-robot Description: ## 背景 1. **out 与输入同 UB 起始地址的约束声明**(7 个文档)——"结果未定义"口径(同 cuBLAS 等 out-of-place 接口惯例); 2. **运行时标量口径**(15 个文档的 rhs 参数描述)——按目标元素类型转换(同 C++ static_cast 语义,对齐 pto-isa 边界的统一行为),值域由用户保证;常量仍须可表示(值域检查保留在 #6984); 3. **and_/xor 的 INT64/UINT64 数据类型补齐**——实现早已支持,纯勘误。 ## 内容 ### 1. out 与输入同 UB 起始地址的约束声明(7 个文档) - ne/eq/ge/gt/le/lt/select 补充约束:out 与 lhs(或 Tile 类型的 rhs / mask)使用相同的 UB 起始地址时,写入会就地覆盖仍在读取的输入,**结果未定义**。 - 措辞采用"结果未定义"(使用契约),而非"会报错"(实现承诺)——与 cast.md 的"应为 out 和 src 分配互不重叠的 UB 存储区域"、transpose.md 既有的"不可与src为同一Tile"以及业界 out-of-place 接口(cuBLAS/CUDA)口径一致。 - 保留机制解释("掩码按位打包写入该地址后会就地覆盖输入"),告知用户为什么需要避开该用法。 ## 说明 - 同址行为构建期不做校验(判据只能是 allocation 基址,subview/动态槽位的实际起址静态不可推导); See merge request: cann/pypto!7422 | 20 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): 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 | |
fix(pypto_pro): Enforce tile API doc constraints and guard ops Co-authored-by: h9718w<wangchaoyuan10@huawei.com> # message auto-generated for no-merge-commit merge: !7425 merge fix-vec-capacity into master fix(pypto_pro): Enforce tile API doc constraints and guard ops Created-by: h9718w Commit-by: h9718w Merged-by: cann-robot Description: ## 内容 ### 1. cast 校验( block_ops.py) - _CAST_SUPPORTED_PAIRS:按 cast API 文档支持表校验 (src, dst),不支持组合在 IR 构建期报 NotSupported; - f32→fp8 仅接受 CAST_RINT/CAST_NONE(硬件只支持 RNE,其他模式报错而非静默忽略);mode 显式传 None 与省略归一化; - src valid 区域须覆盖 out.valid_shape(仅双常量时静态比较,动态跳过)。 ### 2. transpose 严格性 - dtype 精确一致(原先只比位宽,fp16/bf16 漏过);out.shape = src.shape 末两维互换。 ### 3. 常量值域(保留部分) - 常量按 check_const_expr_fits_dtype 查"能用目标元素类型表示"(如 fp16 路径的 70000.0 被拒)。 See merge request: cann/pypto!7425 | 18 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 | |
fix(pypto_pro): Validate fillpad memory space, mode and Mat pad rules Co-authored-by: gcw_bTlukKC6<xuxinlei1@huawei.com> # message auto-generated for no-merge-commit merge: !7470 merge master into master fix(pypto_pro): Validate fillpad memory space, mode and Mat pad rules Created-by: gcw_bTlukKC6 Commit-by: gcw_bTlukKC6 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!7470 | 13 days ago | |
docs(pypto_pro): Restore and update tile API documentation Co-authored-by: gcw_bTlukKC6<xuxinlei1@huawei.com> # message auto-generated for no-merge-commit merge: !7130 merge master into master docs(pypto_pro): Restore and update tile API documentation Created-by: gcw_bTlukKC6 Commit-by: gcw_bTlukKC6 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!7130 | 1 month ago |
| Files | Last commit | Last update |
|---|---|---|
| 11 days ago | ||
| 1 month ago | ||
| 20 days ago | ||
| 11 days ago | ||
| 11 days ago | ||
| 11 days ago | ||
| 20 days ago | ||
| 11 days ago | ||
| 1 month ago | ||
| 18 days ago | ||
| 1 month ago | ||
| 13 days ago | ||
| 1 month ago |