| Files | Last commit | Last update |
|---|---|---|
feat(ir): Record the pypto_pro dialect in the dumped text Co-authored-by: HuYiSheng01<hys123456aaa@163.com> # message auto-generated for no-merge-commit merge: !7462 merge feat/io_text_pro_goldens into master feat(ir): Record the pypto_pro dialect in the dumped text Created-by: HuYiSheng01 Commit-by: HuYiSheng01 Merged-by: cann-robot Description: 同一段 IR 文本可能来自两套前端: | | tensor 侧 | pypto_pro 侧 | |---|---|---| | 计算语句 | TensorOpStmt:!10000 ADDS(%a@0) token() #SCALAR(...) | Call:block.make_mutex_tile(..., dtype=half) | | 类型 | v0_logical_tensor | tensor<> / tile<> / mutex_tile<> / tuple<> / ptr<> / reg<> | dumper 两套都能写,但**写出来的文本不含方言信息**,load 侧只能靠调用方传一个 pro 标志。本 PR 让文本自描述: text function cast_kernel incast(tensor<32 x 64, float, tensor_view<, , ND>> %a_0, ...) outcast() #dialect(pro) #entry(false) #type(Opaque) { ... } See merge request: cann/pypto!7462 | 20 days ago | |
fix(pypto_pro): validate Bias and Fixpipe tile alignment Co-authored-by: fa<yangzf993@163.com> # message auto-generated for no-merge-commit merge: !7467 merge new into master fix(pypto_pro): validate Bias and Fixpipe tile alignment 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!7467 | 19 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 | 19 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 | 19 days ago | |
refactor(pypto_pro): rename internal A5/A6 and drop A2/A3 remnants Co-authored-by: gcw_bTlukKC6<xuxinlei1@huawei.com> # message auto-generated for no-merge-commit merge: !7357 merge newbranch into master refactor(pypto_pro): rename internal A5/A6 and drop A2/A3 remnants 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!7357 | 24 days ago | |
feat(pypto_pro):refactor auto pipeline Co-authored-by: huanyongben<huanyongben1@hisilicon.com> # message auto-generated for no-merge-commit merge: !7349 merge master into master feat(pypto_pro):refactor auto pipeline Created-by: huanyongben Commit-by: huanyongben Merged-by: cann-robot Description: 重构自动pipeline解析框架,删除原来的前端ast扫描流程,改成由前置parse返回信息 See merge request: cann/pypto!7349 | 24 days ago | |
feat(pro): Improve frontend diagnostics and contract checks Co-authored-by: ddddwee1<chengyu996@gmail.com> # message auto-generated for no-merge-commit merge: !6868 merge codex/pro-diagnostics into master feat(pro): Improve frontend diagnostics and contract checks Created-by: ddddwe Commit-by: ddddwee1 Merged-by: cann-robot Description: Pro frontend errors and warnings carry DSL call and argument locations. Tile builder validation uses an explicit span when supplied and inherits current_span when omitted, including nested reinterpretation and capacity warnings. Capacity lookup failures produce located CapacityUnknown warnings for bounded on-chip buffers, including MX ScaleLeft/ScaleRight; DDR does not trigger this warning. Tile capacity checks raise OutOfRange immediately on the first over-capacity declaration, in both normal compilation and pipeline probe parsing. Error rendering can omit source previews while preserving error codes, locations, hints and notes. Tests explicitly inspect the error message or rendered diagnostic, keeping assertions independent of source previews and pytest internals. TileType equality checks effective MemRef presence and memory space. A known memory reference differs from an unspecified one; two unspecified references can match. Allocation addresses and sizes do not participate in type equality. Packed host shape binding normalizes the last axis of 4-bit tensors directly; explicit static_shapes already count logical elements. Compile-time binding and launch validation share accepted Torch storage dtypes: sub-byte data uses uint8, with native Torch FP4 also accepted for FP4E2M1. FP8 supports its matching Torch dtype or a uint8 carrier. INT16 and UINT16 each accept torch.int16 or torch.uint16 as bit-preserving 16-bit storage carriers. UINT32 accepts torch.uint32 or torch.int32 as 32-bit carriers. Integer carriers of the wrong width and unrelated floating-point dtypes remain invalid; no numerical dtype conversion is performed. The frontend also checks dynamic slot reinterpretation, MX data/scale slot layouts and manual mutex aliases. IR observation exposes versioned attribute snapshots and invocation-local parse observers. Existing scalar arithmetic aliases have public declarations and documentation. Capacity validation uses the upstream Bias/Scaling and MX buffer mappings. The existing gather comparison and gatherb STs use their original int32 storage directly. Their UINT32 arguments retain the same 32-bit bit patterns without a dtype conversion. This PR does not modify any ST case. Validation: - PR branch baseline: c8367c8ece9f031c2a22fa64ee2244d63c10bcb0. The earlier diagnostics validation below is recorded against cb13c5555; current carrier compatibility and A5 integration checks are listed separately. - Recorded Pro Python UT on cb13c5555: 2742 passed, 21 existing architecture skips, one expected MutexMismatch warning - Diagnostics and contract regressions with all conftest files disabled (--noconftest): 67 passed - ST bundle collection: 3 tests collected successfully; this covers the duration_estimate import in test_kernel_bundle.py - First-error regressions cover normal and pipeline probe parsing; the first capacity error and its source location are preserved - Current carrier and packed-shape regression: 157 passed, including 74 carrier cases across compile binding and launch. Both signed/unsigned 16-bit carrier combinations and UINT32/int32 are accepted in compile binding and launch. Wider 32-bit buffers remain rejected for 16-bit parameters; narrower storage and floating-point mismatches are rejected for UINT32. - The recorded full Pro UT used pytest 8.4.2; current targeted checks and A5 ST use pytest 9.1.1. - Existing validation of the unchanged production code: C++ structural comparison suite 63 passed, upstream MX/Bias/Scaling capacity regression 1 passed, generated CCE compilation probes 5 passed. These interface-specific native checks retain their recorded results; current A5 integration validation is listed separately below - Applicable pre-commit checks passed for the current patch. The previously recorded CodeCheck comparison found no new findings across seven affected Python test files. The external agent log-spec hook was not run - Current A5 integration with upstream c859e50090de549a226c4e1805b516cffd673993: validation tree 7dd5abf7d8fbd9b3171a715892e24a4d67b34ed3 matches PR head c718e2e12. Native build inputs are unchanged from the full A5 build, whose native payload is reused in an isolated wheel with the updated Python JIT and regenerated RECORD. All 5182 source files, 1359 native-source/binding files and 158 Python files were verified; no Python overlay is used. - Current 16-bit compatibility passed 8 on-device bit-pattern copy combinations across INT16/UINT16 declarations and signed/unsigned input/output carriers. The original quant-lightning-indexer ST passed on the current integration with its unchanged int16 score buffer. The unchanged UINT32 path had both original gather comparison and gatherb STs pass on PR head 3244fbab0. The Tensor API softmax example passed on the earlier integration. - The single-card A5 ST sweep covered all 1833 selected cases (524 excluded by existing SoC/world-size markers): 1675 passed, 137 failed, 19 skipped, 2 expected failures. Completed-prefix evidence is bound to its earlier snapshots, and the remaining sweep used head 3244fbab0; these totals are not a complete rerun on c718e2e12. The UINT16 carrier rejection found in that sweep is addressed by the current patch. No ST cases are modified. - Unmodified upstream c859e5009 was independently built with the same CANN/PTO setup and all 137 failed nodes were rerun on the same device. 132 also failed upstream: 87 merged-axis cases, 18 core-limit cases, 4 HF8 scatter cases, 3 L0C-to-L1 cases, 1 per-channel-scale case, 4 VF control-flow cases, 10 blocking-launch/affected following cases, 1 missing-msprof case and 4 device-ELF dump assertions. Representative merged-load and L0C TEXTRACT/TINSERT compiler failures have matching generated code. These upstream/environment failures are outside this PR and their tests are unchanged. - Of the other five nodes, three GM Gather cases passed on both upstream and the current PR integration. The UINT16 quant-lightning-indexer regression passed after the carrier fix. The online-softmax shape test passed alone on both installations; running it after the Gather cases reproduces the native GetGraphInfo crash on pristine upstream as well, establishing an existing order-dependent failure. There is no full-suite pass claim. See merge request: cann/pypto!6868 | 1 month ago | |
refactor(frontend): Clean up validation after op parsing refactor Co-authored-by: gcw_bTlukKC6<xuxinlei1@huawei.com> # message auto-generated for no-merge-commit merge: !7238 merge docs-pro-sync-0902 into master refactor(frontend): Clean up validation after op parsing refactor 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!7238 | 20 days ago | |
refactor(frontend): Clean up validation after op parsing refactor Co-authored-by: gcw_bTlukKC6<xuxinlei1@huawei.com> # message auto-generated for no-merge-commit merge: !7238 merge docs-pro-sync-0902 into master refactor(frontend): Clean up validation after op parsing refactor 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!7238 | 20 days ago |
| Files | Last commit | Last update |
|---|---|---|
| 20 days ago | ||
| 19 days ago | ||
| 19 days ago | ||
| 19 days ago | ||
| 24 days ago | ||
| 24 days ago | ||
| 1 month ago | ||
| 20 days ago | ||
| 20 days ago |