| Files | Last commit | Last update |
|---|---|---|
fix(Pass): Fix compiler monitor pass detail switch Co-authored-by: xujiayi1999<xujiayi28@huawei.com> # message auto-generated for no-merge-commit merge: !3532 merge switch into master fix(Pass): Fix compiler monitor pass detail switch Created-by: xujiayi1999 Commit-by: xujiayi1999 Merged-by: cann-robot Description: 这次 compile_monitor_enable 的更改是把原来的两个开关合并成一个三态开关。 原来是: "compile_monitor_enable": false, "compile_monitor_pass_detail_enable": false 语义是: compile_monitor_enable: 总开关 compile_monitor_pass_detail_enable: Pass 明细开关,只有总开关开启时才生效 现在改成: "compile_monitor_enable": 0 语义是: 0: Compiler Monitor 关闭 1: Compiler Monitor 开启,Pass 明细关闭 2: Compiler Monitor 开启,Pass 明细开启 See merge request: cann/pypto!3532 | 5 months ago | |
feat(function): Add CHECK error code to ExternalError Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !4002 merge error_code into master feat(function): Add CHECK error code to ExternalError Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: 1. config,tensor,function中的CHECK宏的错误码改为ExternalError,改为0x0开头 2. python中的错误码,移到cpp中统一维护 See merge request: cann/pypto!4002 | 5 months ago | |
refactor(function): Refactor MakeIncasts/Outcasts Co-authored-by: tsungl4<lidongsheng4@huawei.com> Co-authored-by: Immutable01<gaoqiancheng@huawei.com> # message auto-generated for no-merge-commit merge: !3376 merge pr_3211 into master refactor(function): Refactor MakeIncasts/Outcasts Created-by: Immutable01 Commit-by: Immutable01;tsungl4 Merged-by: cann-robot Description: incast/outcast could not be part of a whole tensor now, origin incastWithSameRaw and outcastWithSameRaw are to complicated now. after refactor the relationship as follows: 1. inArgument <-> incastSymbol, newIncast is a view of incastSymbol 2. outArgument <-> outcastSymbol, newIncast assemble to outcastSymbol, if already a assemble output, directly assemble to outcastSymbol Related Issue: #1185 See merge request: cann/pypto!3376 | 6 months ago | |
refactor(python): Remove redundant ast to doc translation Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !1051 merge refactor/doc_core into master refactor(python): Remove redundant ast to doc translation Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: doc_core is one to one mapping from python ast to user defined ast, too redundant here See merge request: cann/pypto!1051 | 9 months ago | |
refactor(frontend): Move default loop wrapper from controller to parser Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !3078 merge fix into master refactor(frontend): Move default loop wrapper from controller to parser Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: - Remove loop(1, name='__main__') wrapper from _controller.py - Add default loop wrapper in parser during function body visit - Fix error types from ValueError to NotImplementedError for unsupported features - Add unit test cases for error characteristics of control flow statements. See merge request: cann/pypto!3078 | 6 months ago | |
fix(reshape): Reshape(inplace=true) is not supported for tensors derived from dynamic view Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !3607 merge fix_reshape_inplace into master fix(reshape): Reshape(inplace=true) is not supported for tensors derived from dynamic view Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: 1. view出的tensor,如果有valishape, 有效数据可能不连续,不能使用reshape(inplace = true) python ##错误示例 t_b = pypto.view(t_a, shape, valid_shape = validshape) t_c = pypto.reshape(t_b, new_shape, valid_shape = new_vshape, inplace = true) 2. 支持对kernel的输入使用reshape(inplace = true) See merge request: cann/pypto!3607 | 5 months ago | |
fix(docs): Support pypto.element expression. Keep consistent with docs Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !1636 merge master into master fix(docs): Support pypto.element expression. Keep consistent with docs Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: Support pypto.element expression. Keep consistent with docs Related Issue: #659 See merge request: cann/pypto!1636 | 8 months ago | |
feat(Operation): Add Radix Select Algo In TopK. Co-authored-by: 刘奕哲<liuyizhe6@huawei.com> # message auto-generated for no-merge-commit merge: !2333 merge radix-merge into master feat(Operation): Add Radix Select Algo In TopK. Created-by: Creeeeper Commit-by: 刘奕哲 Merged-by: cann-robot Description: ## 描述 为TopK添加新的算法RadixSelect,该算法仅支持A5。 该算法通过先选择第k个数,再取出大于或小于该数的其他元素,最后排序得到结果。 ## 测试 A5上完成泛化用例测试 ## 关联Issue [#1499](https://gitcode.com/cann/pypto/issues/1499) ## 类型标签 - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!2333 | 6 months ago | |
feat(function): Add CHECK error code to ExternalError Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !4002 merge error_code into master feat(function): Add CHECK error code to ExternalError Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: 1. config,tensor,function中的CHECK宏的错误码改为ExternalError,改为0x0开头 2. python中的错误码,移到cpp中统一维护 See merge request: cann/pypto!4002 | 5 months ago | |
feat(test): Add fp4x2 and fp4 frontend cases Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !3329 merge optimize_st into master feat(test): Add fp4x2 and fp4 frontend cases Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: 1. Add fp4x2 and fp4 frontend cases 2. Transform ST into UT using **pypto.RunMode.SIM** without uploading to the board. - runtime_options={"run_mode": pypto.RunMode.SIM}, - host_options={"compile_stage": pypto.CompStage.TENSOR_GRAPH}) See merge request: cann/pypto!3329 | 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 | |
fix(front): Optimal delete tensor var rules Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !3203 merge front_2.0 into master fix(front): Optimal delete tensor var rules Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: Optimal delete tensor variable rules See merge request: cann/pypto!3203 | 6 months ago | |
feat(ir): Add misc creator in irbuilder Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !3385 merge pil into master feat(ir): Add misc creator in irbuilder Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: add irbuilder implementation See merge request: cann/pypto!3385 | 6 months ago | |
feat(frontend): Auto-convert min()/max() to pypto.min()/pypto.max() inside @jit kernels. Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !2767 merge min_2 into master feat(frontend): Auto-convert min()/max() to pypto.min()/pypto.max() inside @jit kernels. Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: kernel 中 min () 分发规则: 1. 满足两个入参、无关键字参数、且包含无具体值的 SymbolicScalar时,调用 pypto.min; 2. 其余场景,调用 Python 原生 min。 See merge request: cann/pypto!2767 | 7 months ago | |
fix(config): Merge _by_func/_by_label back into parent keys in get_pass_options Co-authored-by: bytecode<dubingjia1@huawei.com> # message auto-generated for no-merge-commit merge: !3446 merge dfx/getoption into master fix(config): Merge _by_func/_by_label back into parent keys in get_pass_options Created-by: bytecode Commit-by: bytecode Merged-by: cann-robot Description: 修复 get_pass_options 返回的 _by_func/_by_label 内部字段泄漏问题,将这些拆分字段合并回父 key,使返回的 key 集合与 set_pass_options 参数一致。 Related Issues: #1872 See merge request: cann/pypto!3446 | 6 months ago | |
feat(frontend): Fix compile support Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !3360 merge pil into master feat(frontend): Fix compile support Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: Related Issue: [#1797](https://gitcode.com/cann/pypto/issues/1797) See merge request: cann/pypto!3360 | 6 months ago | |
feat(frontend): Fix compile support Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !3360 merge pil into master feat(frontend): Fix compile support Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: Related Issue: [#1797](https://gitcode.com/cann/pypto/issues/1797) See merge request: cann/pypto!3360 | 6 months ago | |
feat(frontend): Fix compile support Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !3360 merge pil into master feat(frontend): Fix compile support Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: Related Issue: [#1797](https://gitcode.com/cann/pypto/issues/1797) See merge request: cann/pypto!3360 | 6 months ago | |
feat(frontend): Fix compile support Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !3360 merge pil into master feat(frontend): Fix compile support Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: Related Issue: [#1797](https://gitcode.com/cann/pypto/issues/1797) See merge request: cann/pypto!3360 | 6 months ago | |
feat(frontend): Fix compile support Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !3360 merge pil into master feat(frontend): Fix compile support Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: Related Issue: [#1797](https://gitcode.com/cann/pypto/issues/1797) See merge request: cann/pypto!3360 | 6 months ago | |
feat(frontend): Fix compile support Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !3360 merge pil into master feat(frontend): Fix compile support Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: Related Issue: [#1797](https://gitcode.com/cann/pypto/issues/1797) See merge request: cann/pypto!3360 | 6 months ago | |
feat(frontend): Fix compile support Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !3360 merge pil into master feat(frontend): Fix compile support Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: Related Issue: [#1797](https://gitcode.com/cann/pypto/issues/1797) See merge request: cann/pypto!3360 | 6 months ago | |
feat(frontend): Fix compile support Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !3360 merge pil into master feat(frontend): Fix compile support Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: Related Issue: [#1797](https://gitcode.com/cann/pypto/issues/1797) See merge request: cann/pypto!3360 | 6 months ago | |
fix(Config): Add range check for map type config Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !2740 merge fix_config_check into master fix(Config): Add range check for map type config Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: - 为map类型的config增加范围校验,包括key和value - 修复ut中TestParser类被pytest识别为测试函数 See merge request: cann/pypto!2740 | 6 months ago | |
feat(frontend): Pypto frontend support parallel loop Co-authored-by: HuangYuqian<huangyuqian2@huawei.com> # message auto-generated for no-merge-commit merge: !1765 merge parallel_loop_new into master feat(frontend): Pypto frontend support parallel loop Created-by: huangyuqian Commit-by: HuangYuqian Merged-by: cann-robot Description: Related Issue: https://gitcode.com/cann/pypto/issues/486 See merge request: cann/pypto!1765 | 8 months ago | |
fix(operation): Matmul interface rectification and unified use of bulk transfer interface. Co-authored-by: chen-yongkang16<chenyongkang16@huawei.com> # message auto-generated for no-merge-commit merge: !1429 merge remove_db_machine into master fix(operation): Matmul interface rectification and unified use of bulk transfer interface. Created-by: chen-yongkang16 Commit-by: chen-yongkang16 Merged-by: cann-robot Description: 收编enable_multi_data_load(大包搬运)开关,即在调用matmul计算时,默认开启大包搬运功能。同步整改库上调用非大包场景的ST以及UT See merge request: cann/pypto!1429 | 8 months ago | |
Initial commit | 10 months ago | |
refactor(frontend): Move default loop wrapper from controller to parser Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !3078 merge fix into master refactor(frontend): Move default loop wrapper from controller to parser Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: - Remove loop(1, name='__main__') wrapper from _controller.py - Add default loop wrapper in parser during function body visit - Fix error types from ValueError to NotImplementedError for unsupported features - Add unit test cases for error characteristics of control flow statements. See merge request: cann/pypto!3078 | 6 months ago | |
feat(ir): Add misc creator in irbuilder Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !3385 merge pil into master feat(ir): Add misc creator in irbuilder Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: add irbuilder implementation See merge request: cann/pypto!3385 | 6 months ago | |
feat(interface): Add symbolic_scalar simplifier Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !2695 merge simpler into master feat(interface): Add symbolic_scalar simplifier Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: 1. Add symbolic_scalar_simplify to replace sympy 2. simply valid-shape with new simpiler Related Issue: #1373 See merge request: cann/pypto!2695 | 7 months ago | |
refactor(function): Decuple operation from tensormap Co-authored-by: Immutable01<gaoqiancheng@huawei.com> # message auto-generated for no-merge-commit merge: !3418 merge pr_3407 into master refactor(function): Decuple operation from tensormap Created-by: Immutable01 Commit-by: Immutable01 Merged-by: cann-robot Description: 前端和pass取消对tensor map的依赖 See merge request: cann/pypto!3418 | 5 months ago | |
feat(python): Tensor should not be iterable Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !2389 merge fix/tensor into master feat(python): Tensor should not be iterable Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: 1. Disable __iter__ support for Tensor Iterable of Tensor is meaningless, In origin code __iter__ are not support, python will try __getitem__ until IndexError, as offset of __getitem__ maybe SymbolicScalar, it's not easy to detect IndexError, so we implement the __iter__ with an exception raised to forbid this. 2. Add default loop(1) in pypto.function, such that hidden loop feature could be used directly 3. TileShape should be only in TENSOR_GRAPH Related Issue: [#1157](https://gitcode.com/cann/pypto/issues/1157) See merge request: cann/pypto!2389 | 7 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 | |
fix(DFX): Rename Errcode to ErrCode Co-authored-by: sunhaoxuan2024<sunhaoxuan3@h-partners.com> # message auto-generated for no-merge-commit merge: !3114 merge master into master fix(DFX): Rename Errcode to ErrCode Created-by: sunhaoxuan2024 Commit-by: sunhaoxuan2024 Merged-by: cann-robot Description: 1、部分Errcode小写改成大写 2、对python侧无Errcode赋默认值 See merge request: cann/pypto!3114 | 6 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 5 months ago | ||
| 5 months ago | ||
| 6 months ago | ||
| 9 months ago | ||
| 6 months ago | ||
| 5 months ago | ||
| 8 months ago | ||
| 6 months ago | ||
| 5 months ago | ||
| 6 months ago | ||
| 7 months ago | ||
| 6 months ago | ||
| 6 months ago | ||
| 7 months ago | ||
| 6 months ago | ||
| 6 months ago | ||
| 6 months ago | ||
| 6 months ago | ||
| 6 months ago | ||
| 6 months ago | ||
| 6 months ago | ||
| 6 months ago | ||
| 6 months ago | ||
| 6 months ago | ||
| 8 months ago | ||
| 8 months ago | ||
| 10 months ago | ||
| 6 months ago | ||
| 6 months ago | ||
| 7 months ago | ||
| 5 months ago | ||
| 7 months ago | ||
| 6 months ago | ||
| 6 months ago |