| Files | Last commit | Last update |
|---|---|---|
feat(conv): Support conv tileshape infer transdata vec tileshape Co-authored-by: Catherie<mayuan33@huawei.com> # message auto-generated for no-merge-commit merge: !5148 merge conv_tile_to_vec_tile into master feat(conv): Support conv tileshape infer transdata vec tileshape Created-by: xinweiliu Commit-by: Catherie Merged-by: cann-robot Description: 支持A2A3 通过Conv tileshape 内部推导Transdata Vec TileShape,用户不需要前端显示配置 See merge request: cann/pypto!5148 | 3 months ago | |
feat(Operation): Add pypto.conv_backward_input and its 2D implementation on A2/A3 Co-authored-by: hongyiliu111<liuhongyi1@huawei.com> Co-authored-by: xutianlong1<xutianlong1@huawei.com> Co-authored-by: wangshenhao<wangshenhao1@huawei.com> # message auto-generated for no-merge-commit merge: !5528 merge dev into master feat(Operation): Add pypto.conv_backward_input and its 2D implementation on A2/A3 Created-by: hongyiliu111 Commit-by: wangshenhao;hongyiliu111;xutianlong1 Merged-by: cann-robot Description: feat(Operation): Add pypto.conv_backward_input and its 2D implementation on A2/A3 Add pypto.conv_backward_input interface to compute the gradient of convolution with respect to the input tensor, and implement its 2D support spanning the frontend interface, backend operation implementation and MTE codegen Changes: - Add pypto.conv_backward_input frontend interface with parameter validation - Implement ConvBackwardInput 2D backend operation and codegen - Add UT/ST test cases for the 2D implementation See merge request: cann/pypto!5528 | 3 months ago | |
style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 4 months ago | |
fix(operation): Change scaleA/B to per-batch when using scaleMM+BatchMatmul. Co-authored-by: y00957431<yangrui231@huawei.com> # message auto-generated for no-merge-commit merge: !5571 merge scaleBMM into master fix(operation): Change scaleA/B to per-batch when using scaleMM+BatchMatmul. Created-by: yr12318 Commit-by: y00957431 Merged-by: cann-robot Description: 此前 scaled_mm 与 BatchMatmul 组合时,scaleA/scaleB 采用共享 batch的方案: 无论矩阵的 batch 维度如何,scale 始终固定为 3-D,并在所有 batch 间广播同一组 scale。 这不符合按 batch 缩放的语义,当各 batch 携带不同 scale 时会导致结果错误。 本 PR 将 scaleA/scaleB 改为按 batch 语义:每个 scale 的维度需比其配对矩阵多一维, 且 scale 的 batch 维度必须与配对矩阵的 batch 维度一致。 Changes: - Python(matmul.py):要求 scale_dim == input_dim + 1;校验 scale 的 batch 维 等于配对矩阵的 batch 维;scale 元素索引由固定 [0/1/2] 改为 [-3/-2/-1] 以支持 2-D/3-D/4-D 矩阵;收紧 __validate_scale_k1_dimensions(AND 改为 OR,要求所有 k1 维均等于 2);更新 docstring,补充 2-D/3-D/4-D scale 形状示例 - C++(cube_operation_impl.cpp):CheckMXMatmulShape 增加 inputDim∈[2,4]、 scaleDim==inputDim+1 及逐轴 batch 配对校验;通过 scaleDimOffset 泛化 scale 偏移 索引;新增 GetBatchScaleTensor3D/GetBatchScaleTensor4D(按 batch 做 View+Reshape 切片,含 ASSERT 空指针保护,与 GetBatchTensor3D/4D 模式一致),并接入 ConstructBatchMatmulMXTensorGraph3D/4D - 测试:新增 UT test_scaled_mm_batch_scale.py(3-D 拒绝 / 4-D 接受 / 4-D 拒绝); 更新 C++ UT test_operation_impl.cpp、ST test_scaled_bmm.py 与 scaled_bmm_test_case.py See merge request: cann/pypto!5571 | 3 months ago | |
feat(operation): Support int64/uint64 for vector operations Co-authored-by: junnyleo<lijun580@huawei.com> # message auto-generated for no-merge-commit merge: !5572 merge feat/dtype into master feat(operation): Support int64/uint64 for vector operations Created-by: junnyleo Commit-by: junnyleo Merged-by: cann-robot Description: 本 PR 旨在为向量(vector)算子补充 int64/uint64 数据类型支持。改动主要为: 1. 通过 GetSupportedDataTypesByArch 在 A5 架构(DAV_3510)的算子支持类型集合中加入 DT_INT64/DT_UINT64; 2. 新增 CheckInt64Broadcast 校验以禁止 int64/uint64 输入的 broadcast;同时修正标量 Element 的构造/转换路径(int64 不经 float、uint64 不经 int64 中转),避免大数值精度丢失或符号翻转; 3. 在 tile-op 内核层为 int64 补齐 FloorDiv、compare、logicalnot、unary 等实现; 4. 配套更新了 Python 侧与测试用例及md文档。 Related Issue: #3141 See merge request: cann/pypto!5572 | 2 months ago | |
style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 4 months ago | |
style(all): Fix ruff-check lint errors across the codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4934 merge style-python-format into master style(all): Fix ruff-check lint errors across the codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Fix ruff-check lint errors across the codebase See merge request: cann/pypto!4934 | 4 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 3 months ago | ||
| 3 months ago | ||
| 4 months ago | ||
| 3 months ago | ||
| 2 months ago | ||
| 4 months ago | ||
| 4 months ago |