| Files | Last commit | Last update |
|---|---|---|
fix(tileop): Fix 32-bit unsigned multiplication wraparound in DynL1CopyInNZ2NZ Co-authored-by: li_qingyan<liqingyan10@h-partners.com> # message auto-generated for no-merge-commit merge: !7727 merge fix/issue-3899-nz2nz-offset-overflow into master fix(tileop): Fix 32-bit unsigned multiplication wraparound in DynL1CopyInNZ2NZ Created-by: li_qingyan Commit-by: li_qingyan Merged-by: cann-robot Description: fix(tileop): Fix 32-bit unsigned multiplication wraparound in DynL1CopyInNZ2NZ In DynL1CopyInNZ2NZ of framework/src/interface/tileop/arch32/dynamic/cube_dyn.h, the parameters curH, curW, GmOffset0, GmShape1 and GmOffset1 are 32-bit unsigned. Although batchSize, offsetElem and srcOffset are declared as int64_t, the products curH*curW, GmOffset0*GmShape1 and GmOffset1*curH are evaluated in 32-bit unsigned arithmetic first and wrap around before promotion to int64_t. For large tensors this leads to out-of-range GM source addresses, and a wrapped batchSize of zero causes division by zero when computing batchIndex. Changes: - Cast the left operand of the three products to int64_t so that all offset arithmetic is evaluated in 64-bit precision Related Issues: #3899 See merge request: cann/pypto!7727 | 4 days ago | |
fix(conv): clamp nSize to dst C space to stop UB overflow and round mSize to full fractal to ensure AIC-AIV visibility Co-authored-by: rhineriver23<liyouhui1@huawei.com> # message auto-generated for no-merge-commit merge: !7771 merge bugfix_1 into master fix(conv): clamp nSize to dst C space to stop UB overflow and round mSize to full fractal to ensure AIC-AIV visibility Created-by: rhineriver23 Commit-by: rhineriver23 Merged-by: cann-robot Description: ## 描述 L0C -> UB搬运的宽度完全由源侧分形几何决定,没有与目的端UB tile的剩余空间和分形对齐约束做一致性处理,导致部分用例精度失败。 ## 修改内容 framework/src/interface/tileop/conv/impl/arch35/conv_store_nz2dn_impl.h:N方向宽度和M方向宽度都改为整分形对齐,并进行目的端剩余空间钳制。 See merge request: cann/pypto!7771 | 3 days ago | |
fix(kirin9050): Adapt L1 copies and matmul macro to batch dims Co-authored-by: m0_71310678<lizhexun2@huawei.com> # message auto-generated for no-merge-commit merge: !7606 merge adaptPr7094 into master fix(kirin9050): Adapt L1 copies and matmul macro to batch dims Created-by: m0_71310678 Commit-by: m0_71310678 Merged-by: cann-robot Description: fix(kirin9050): Adapt L1 copies and matmul macro to batch dims PR #7094 removed the reshape-based batchmatmul path and feeds A_MUL_B directly with 3D/4D tensors. The Kirin9050 L1->GM store, L1->UB copy, and macro matmul still read the first two shape/stride entries, so batch inputs could write to the wrong GM location or treat the batch axis as M/K/N. Changes: - Use the tail two shape/stride entries for matrix dimensions in the Kirin9050 L1->GM, L1->UB and macro matmul paths. - Fold the leading batch offset into the GM address for 3D/4D stores. - Accept 2D/3D/4D coordinates in the L1->GM store check. Related PR: #7094 See merge request: cann/pypto!7606 | 8 days ago | |
style(all): Apply additional clang-format corrections across codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4883 merge style-cpp into master style(all): Apply additional clang-format corrections across codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Apply additional clang-format corrections across codebase See merge request: cann/pypto!4883 | 4 months ago | |
feat(operation): Support A6 vector operations Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7173 merge A6-vec into master feat(operation): Support A6 vector operations Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: pypto 支持 A6 vector 操作 1. 主要修改了每个算子支持类型 2. 部分算子需要添加 A6宏 3. simt 类算子,dcache 大小重新配置 See merge request: cann/pypto!7173 | 9 days ago | |
fix(operation): Quantize -2轴量化直接移除transpose路径 Co-authored-by: 黄志航<huangzhihang3@huawei.com> # message auto-generated for no-merge-commit merge: !7725 merge quantize_axis_expand into master fix(operation): Quantize -2轴量化直接移除transpose路径 Created-by: qq_45040873 Commit-by: 黄志航 Merged-by: cann-robot Description: Quantize -2轴量化直接移除transpose路径,并重写tileOP不走isa TQuant接口 See merge request: cann/pypto!7725 | 3 days ago | |
feat(operation): Support A6 vector operations Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !7173 merge A6-vec into master feat(operation): Support A6 vector operations Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: pypto 支持 A6 vector 操作 1. 主要修改了每个算子支持类型 2. 部分算子需要添加 A6宏 3. simt 类算子,dcache 大小重新配置 See merge request: cann/pypto!7173 | 9 days ago | |
refactor(pypto_pro): address codecheck warnings Co-authored-by: fa<yangzf993@163.com> # message auto-generated for no-merge-commit merge: !7683 merge bugfix into master refactor(pypto_pro): address codecheck warnings 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!7683 | 4 days ago |
| Files | Last commit | Last update |
|---|---|---|
| 4 days ago | ||
| 3 days ago | ||
| 8 days ago | ||
| 4 months ago | ||
| 9 days ago | ||
| 3 days ago | ||
| 9 days ago | ||
| 4 days ago |