| Files | Last commit | Last update |
|---|---|---|
Initial commit | 10 months ago | |
fix(frontend): Delte usless code for return statement process Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !1618 merge front_2.0 into master fix(frontend): Delte usless code for return statement process Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: Delte usless code for return statement process See merge request: cann/pypto!1618 | 8 months ago | |
fix(front): Adapting to the new paradigm of the frontend for ST Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !1448 merge front_2.0 into master fix(front): Adapting to the new paradigm of the frontend for ST Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: # PyPTO Frontend JIT 测试用例范式修改 ## 修改意图 将 python/tests/st 目录下使用 pypto.frontend.jit 的测试用例从旧编程范式迁移到新范式,以适配 PyPTO frontend 的新接口规范。 ## 主要变更 ### 1. 去除 wrapper 函数 - **旧写法**:在测试函数内部定义 kernel,或通过 factory 函数动态创建 kernel - **新写法**:kernel 函数直接定义在模块顶层 ### 2. Shape 参数声明 - **旧写法**:pypto.Tensor((32, 32), dtype) 或 pypto.Tensor(shape, dtype) - **新写法**:pypto.Tensor([pypto.STATIC, pypto.STATIC], dtype) ### 3. 输出方式 - **旧写法**:使用 return 返回计算结果 - **新写法**:添加输出参数,使用 out.move() 方式输出 ### 4. 调用方式 - **旧写法**:result = kernel(a, b) - **新写法**:预先创建输出 tensor,kernel(a, b, out) ## 修改文件列表 | 文件 | 修改内容 | |------|----------| | test_matmul.py | 去除 wrapper,shape 改为 STATIC,添加输出参数 | | test_dynamic_reshape_new_front.py | 去除 wrapper,shape 改为 STATIC | | test_clone_new_front.py | 去除 wrapper,添加输出参数 | | test_aclgraph_new_front.py | 去除 wrapper,shape 改为 STATIC | | test_debug_mode_new_front.py | 去除 wrapper,添加输出参数 | | test_is_loop_begin_new_front.py | 去除 wrapper,shape 改为 STATIC | | test_verify_frontend_jit.py | 去除 wrapper,添加输出参数 | | test_onboard_new_front.py | 去除 wrapper,shape 改为 STATIC | | test_iter.py | 去除 wrapper,添加输出参数 | | test_hidden_loop_new_front.py | 去除 wrapper,shape 改为 STATIC | | test_loop_unroll_variable_scope.py | 去除 wrapper,添加输出参数 | | test_multi_jit_new_front.py | 去除 wrapper,shape 改为 STATIC | | test_profiling.py | 去除 wrapper,添加输出参数 | | test_options_new_front.py | 去除 wrapper,shape 改为 STATIC | | test_infershape_new_front.py | 去除 wrapper,添加输出参数 | | test_use_cache.py | 去除 wrapper,shape 改为 STATIC | See merge request: cann/pypto!1448 | 8 months ago | |
feat(error): Add unified error wrapping decorator Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !3358 merge fix into master feat(error): Add unified error wrapping decorator Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: - Add _catch_and_wrap_error decorator for consistent error handling - Improve PyptoError to avoid duplicate ErrCode in error messages - Apply decorator to JitCallableWrapper.__call__ and compile methods - Add comprehensive unit tests for error handling - Move input tensor reassign tests to test_error.py 示例:  See merge request: cann/pypto!3358 | 6 months ago | |
refactor(all): Remove trailing whitespace Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !2188 merge pre-commit into master refactor(all): Remove trailing whitespace Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Introduce pre-commit tools, and remove trailing white space with default plugin Related Issue: #1017 See merge request: cann/pypto!2188 | 7 months ago | |
refactor(all): Remove trailing whitespace Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !2188 merge pre-commit into master refactor(all): Remove trailing whitespace Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Introduce pre-commit tools, and remove trailing white space with default plugin Related Issue: #1017 See merge request: cann/pypto!2188 | 7 months ago | |
refactor(all): Remove trailing whitespace Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !2188 merge pre-commit into master refactor(all): Remove trailing whitespace Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Introduce pre-commit tools, and remove trailing white space with default plugin Related Issue: #1017 See merge request: cann/pypto!2188 | 7 months ago | |
fix(front): Adapting to the new paradigm of the frontend for ST Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !1448 merge front_2.0 into master fix(front): Adapting to the new paradigm of the frontend for ST Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: # PyPTO Frontend JIT 测试用例范式修改 ## 修改意图 将 python/tests/st 目录下使用 pypto.frontend.jit 的测试用例从旧编程范式迁移到新范式,以适配 PyPTO frontend 的新接口规范。 ## 主要变更 ### 1. 去除 wrapper 函数 - **旧写法**:在测试函数内部定义 kernel,或通过 factory 函数动态创建 kernel - **新写法**:kernel 函数直接定义在模块顶层 ### 2. Shape 参数声明 - **旧写法**:pypto.Tensor((32, 32), dtype) 或 pypto.Tensor(shape, dtype) - **新写法**:pypto.Tensor([pypto.STATIC, pypto.STATIC], dtype) ### 3. 输出方式 - **旧写法**:使用 return 返回计算结果 - **新写法**:添加输出参数,使用 out.move() 方式输出 ### 4. 调用方式 - **旧写法**:result = kernel(a, b) - **新写法**:预先创建输出 tensor,kernel(a, b, out) ## 修改文件列表 | 文件 | 修改内容 | |------|----------| | test_matmul.py | 去除 wrapper,shape 改为 STATIC,添加输出参数 | | test_dynamic_reshape_new_front.py | 去除 wrapper,shape 改为 STATIC | | test_clone_new_front.py | 去除 wrapper,添加输出参数 | | test_aclgraph_new_front.py | 去除 wrapper,shape 改为 STATIC | | test_debug_mode_new_front.py | 去除 wrapper,添加输出参数 | | test_is_loop_begin_new_front.py | 去除 wrapper,shape 改为 STATIC | | test_verify_frontend_jit.py | 去除 wrapper,添加输出参数 | | test_onboard_new_front.py | 去除 wrapper,shape 改为 STATIC | | test_iter.py | 去除 wrapper,添加输出参数 | | test_hidden_loop_new_front.py | 去除 wrapper,shape 改为 STATIC | | test_loop_unroll_variable_scope.py | 去除 wrapper,添加输出参数 | | test_multi_jit_new_front.py | 去除 wrapper,shape 改为 STATIC | | test_profiling.py | 去除 wrapper,添加输出参数 | | test_options_new_front.py | 去除 wrapper,shape 改为 STATIC | | test_infershape_new_front.py | 去除 wrapper,添加输出参数 | | test_use_cache.py | 去除 wrapper,shape 改为 STATIC | See merge request: cann/pypto!1448 | 8 months ago | |
Initial commit | 10 months ago | |
Initial commit | 10 months ago | |
fix(operation): Add UNSUPPORT_FP16_ARCH35_OPS for fp16 MUL/MULS precision on A5 Co-authored-by: wkkk0528<wangkai578@huawei.com> # message auto-generated for no-merge-commit merge: !3768 merge fix_fp16_mul_arch35_precision into master fix(operation): Add UNSUPPORT_FP16_ARCH35_OPS for fp16 MUL/MULS precision on A5 Created-by: wkkk0528 Commit-by: wkkk0528 Merged-by: cann-robot Description: 修改pypto中add/mul/sub的bf16/fp16处理流程: 在A2A3/A5中,对于add/mul/sub的bf16/fp16场景,都进行升精度处理,以对标Ascendc的处理方式,解决三方比对fail的问题 See merge request: cann/pypto!3768 | 5 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 10 months ago | ||
| 8 months ago | ||
| 8 months ago | ||
| 6 months ago | ||
| 7 months ago | ||
| 7 months ago | ||
| 7 months ago | ||
| 8 months ago | ||
| 10 months ago | ||
| 10 months ago | ||
| 5 months ago |