| 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 | |
Initial commit | 10 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 | |
refactor(config): Reimplement the interface of set_host_options, such as only_tensor_graph, only_host_compiled, and only_codegen. Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !287 merge local into master refactor(config): Reimplement the interface of set_host_options, such as only_tensor_graph, only_host_compiled, and only_codegen. Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: 重构set_host_option, 把配置项only_tensor_graph, only_host_compiled, 和only_codegen 整合为一个配置项compile_stage控制 且python前端 @pypto.jit使用原only_codegen做默认值(现compile_stage = pypto.CompStage.CODEGEN) See merge request: cann/pypto!287 | 10 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 | |
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 | |
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(machine): Support triple stream schedule Co-authored-by: yinjie27<yinjie27@huawei.com> Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !883 merge feat/triple-stream into master feat(machine): Support triple stream schedule Created-by: tsungl4 Commit-by: tsungl4;yinjie27 Merged-by: cann-robot Description: kernel launch is a hot path, the most logic in origin launch are mostly implement in python which takes about 100-200us, duiring this patch all implementation are move to cpp code the overall time is about 20us. time for pybind launch api still takes about 8-10us, compare to the total launch time is still too high, maybe nanobind will be better See merge request: cann/pypto!883 | 9 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 | |
feat(interpreter): Dump leaf func input and out tensors Co-authored-by: zhuqingbo<zhuqingbo@huawei.com> # message auto-generated for no-merge-commit merge: !431 merge master into master feat(interpreter): Dump leaf func input and out tensors Created-by: gcw_zcOFYzUr Commit-by: zhuqingbo Merged-by: cann-robot Description: 支持core task的输入输出tensor dump See merge request: cann/pypto!431 | 9 months ago | |
fix(frontend): Support HF8 via uint8 and standardize dtype rules Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !1917 merge fix_dtype_0321 into master fix(frontend): Support HF8 via uint8 and standardize dtype rules Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: fix: standardize tensor dtype conversion for PyTorch-Pypto interaction - Support HF8 via torch.uint8 in PyTorch tensor - Set kernel annotation as dtype priority during conversion - Enforce standard dtype for special tensor types See merge request: cann/pypto!1917 | 8 months ago | |
feat(interpreter): Dump leaf func input and out tensors Co-authored-by: zhuqingbo<zhuqingbo@huawei.com> # message auto-generated for no-merge-commit merge: !431 merge master into master feat(interpreter): Dump leaf func input and out tensors Created-by: gcw_zcOFYzUr Commit-by: zhuqingbo Merged-by: cann-robot Description: 支持core task的输入输出tensor dump See merge request: cann/pypto!431 | 9 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 10 months ago | ||
| 8 months ago | ||
| 10 months ago | ||
| 8 months ago | ||
| 10 months ago | ||
| 8 months ago | ||
| 8 months ago | ||
| 8 months ago | ||
| 9 months ago | ||
| 8 months ago | ||
| 10 months ago | ||
| 10 months ago | ||
| 9 months ago | ||
| 8 months ago | ||
| 9 months ago |