| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix(pypto_pro): reject static tile slice ends beyond bounds Co-authored-by: fa<yangzf993@163.com> # message auto-generated for no-merge-commit merge: !7571 merge new into master fix(pypto_pro): reject static tile slice ends beyond bounds 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!7571 | 1 天前 | |
feat(pypto_pro): Support conv data movement via ConvTile for load/img2col/move/store Co-authored-by: Zehai<wangzehai3@huawei.com> Co-authored-by: zhouxuan78<zhouxuan78@huawei.com> # message auto-generated for no-merge-commit merge: !7575 merge dev_conv into master feat(pypto_pro): Support conv data movement via ConvTile for load/img2col/move/store Created-by: Zehai Commit-by: Zehai;zhouxuan78 Merged-by: cann-robot Description: Enable the PyPTO Pro conv data path on A5 (3510): pl.load moves framework-native NCHW/NCDHW global tensors into L1 ConvTiles with the format conversion done by the conv DMA during the transfer, and the companion img2col/move/store ops complete the L1 -> L0 -> GM pipeline for conv2d and conv3d. Changes: 1. pl.load / pl.load_tile: accept a conv-layout destination Tile (NC1HWC0 / NDC1HWC0 / FRACTAL_Z / FRACTAL_Z_3D) carrying the window semantics; load_tile block-indexes the fmap layouts and the weight layouts fall back to element offsets 2. pl.img2col: expand one L1 feature-map window into the L0A matrix driven by the compile-time Img2ColConfig window geometry (kernel/stride/dilation/padding/pad_value) 3. pl.move: fold a 4-D packed FRACTAL_Z / FRACTAL_Z_3D weight tile into the L0B Right matrix through the format-converting TEXTRACT path 4. pl.store: write the Acc matrix back to NCHW/NCDHW annotated output tensors via the Fixpipe TStoreAccNCHW/NCDHW path 5. Frontend validation, IR type derivation (HardwareInfo.convLayout encoding) and CCE codegen (ConvTile declarations, per-call conv GlobalTensors with window shapes, TIMG2COL/TEXTRACT/TSTORE emission) 6. Add NCHW/NCDHW to the Layout enum and the Tensor layout annotation 7. Add UTs for the four ops (load/img2col/move/store, 55 cases over conv2d and conv3d) and document all new APIs in the SIMD-API docs See merge request: cann/pypto!7575 | 8 天前 | |
feat(pypto_pro): Add pl.array support Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !7763 merge array_type into master feat(pypto_pro): Add pl.array support Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: support pl.array(N, pl.DT_INT32) type syntax, currently only 1 dim is support See merge request: cann/pypto!7763 | 3 天前 | |
fix(pypto_pro):fix bug of img2ColConfig and convTile load Co-authored-by: Zehai<wangzehai3@huawei.com> # message auto-generated for no-merge-commit merge: !7805 merge fix_img2colConfig into master fix(pypto_pro):fix bug of img2ColConfig and convTile load Created-by: Zehai Commit-by: Zehai Merged-by: cann-robot Description: 1.修复img2ColConfig中的padding参数的错误 Changes:将padding从编译期常量修改为运行期参数 2.修复convTile load中cin向上cin0对齐的错误 Changes:将cin从向上cin0对齐修改为非cin0对齐 See merge request: cann/pypto!7805 | 1 天前 | |
feat(pypto_pro): Support simt cooperative groups Co-authored-by: wuzhongxin<wuzhongxin1@huawei.com> # message auto-generated for no-merge-commit merge: !6826 merge group into master feat(pypto_pro): Support simt cooperative groups Created-by: wuzhongxin Commit-by: wuzhongxin Merged-by: cann-robot Description: Pro新增SIMT协作组功能,支持创建线程组对象,比如当前线程块、Warp 内的活动线程,或从父组划分子组,再通过 group.method() 的形式对某个线程组内的所有线程执行相应操作。 1.支持 ThreadBlock、 ThreadBlockTile、CoalescedGroup 和 GridGroup四种线程组以及对应的创建接口; 2.支持通过 group.method() 调用线程组接口,包括组信息查询(size()、thread_rank()、group_dim() 等)、组内同步(sync())、线程间数据交换(shfl()、shfl_up()、shfl_down()、shfl_xor())及投票(any()、all()、ballot())等。 **用法示例** 启动一个 32 线程的 block,将它划分为 4 个 8 线程子组。每个子组通过 tile.shfl() 广播该组 rank 0 的线程编号。 python import pypto_pro.language as pl import torch @pl.jit(mode="simt", max_threads=32) def broadcast_tile_rank(out: pl.Tensor[[32], pl.DT_UINT32]): block = pl.simt.this_thread_block() #当前线程块对象 tile = pl.simt.tiled_partition(block, 8) #将当前线程块划分为四个8线程子组 tid = block.thread_rank() #当前线程线程块内的编号 out[tid] = tile.shfl(tid, 0) # 当前线程获取其所在子组内编号为0的线程的数据 out = torch.empty((32,), dtype=torch.uint32, device="npu:0") broadcast_tile_rank[1, 32](out) block.thread_rank() 提供块内输出下标,tile.shfl(tid, 0) 中的 0 则是**子组内**的编号。输出依次为 8 个 0、8 个 8、8 个 16 和 8 个 24。 See merge request: cann/pypto!6826 | 9 天前 | |
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 | 10 天前 | |
fix(pypto_pro): Upload for vf load_align Co-authored-by: liuyu<liuyu205@hisilicon.com> # message auto-generated for no-merge-commit merge: !7476 merge master_sub into master fix(pypto_pro): Upload for vf load_align Created-by: liuyu205 Commit-by: liuyu Merged-by: cann-robot Description: 本PR解决问题单相关问题: - vf load_align问题修复 See merge request: cann/pypto!7476 | 12 天前 | |
refactor(dist): Fold window memory registration and connect into create_window Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !7776 merge channel1 into master refactor(dist): Fold window memory registration and connect into create_window Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: The previous window setup required a strict 3-step protocol (create_window -> register_memory -> connect), which was easy to misuse: a temporary tensor passed to register_memory could be garbage-collected while the window still referenced its address, region names had to be kept identical across ranks by hand, a not-yet-connected window had to be rejected at launch time, and the jetty table was allocated and copied to device even when no region used the URMA plane (kernels never touch it there). This PR simplifies the flow to a single collective call and skips the useless jetty work. See merge request: cann/pypto!7776 | 3 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 天前 | ||
| 8 天前 | ||
| 3 天前 | ||
| 1 天前 | ||
| 9 天前 | ||
| 10 天前 | ||
| 12 天前 | ||
| 3 天前 |