| Files | Last commit | Last update |
|---|---|---|
feat(python): Support customize of vf options Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !4212 merge feat/cce_options into master feat(python): Support customize of vf options Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Support customize of vf options, it's a scoped option Related Issue: #2390 See merge request: cann/pypto!4212 | 5 months ago | |
fix(pass): Compile debug mode add switch for choosing one pass to print json and ir Co-authored-by: xujiayi1999<xujiayi28@huawei.com> # message auto-generated for no-merge-commit merge: !4697 merge debugmode into master fix(pass): Compile debug mode add switch for choosing one pass to print json and ir Created-by: xujiayi1999 Commit-by: xujiayi1999 Merged-by: cann-robot Description: dump_pass_graph 支持按 Pass 标识符列表选择性输出编译期计算图和 IR。 用户可在 debug.dump_pass_graph 中配置一个或多个 Pass identifier,例如: "dump_pass_graph": ["RemoveRedundantReshape", "InferMemoryConflict"] 当列表非空时,仅对列表中命中的 Pass 开启 dump_graph 和 print_graph,其它 Pass 不输出计算图和 IR;当列表为空时,不启用该定向过滤逻辑,继续使用默认 Pass DFX 配置。若配置了当前策略中不存在的 Pass identifier,该名称会被忽略, 并输出 warning 提示。compile_debug_mode=1 优先级更高,开启后仍会强制输出所有 Pass 的计算图和 IR。 其中原dump_graph、print_graph为false也可以打开单pass的计算图和ir See merge request: cann/pypto!4697 | 4 months ago | |
fix(pass): Compile debug mode add switch for choosing one pass to print json and ir Co-authored-by: xujiayi1999<xujiayi28@huawei.com> # message auto-generated for no-merge-commit merge: !4697 merge debugmode into master fix(pass): Compile debug mode add switch for choosing one pass to print json and ir Created-by: xujiayi1999 Commit-by: xujiayi1999 Merged-by: cann-robot Description: dump_pass_graph 支持按 Pass 标识符列表选择性输出编译期计算图和 IR。 用户可在 debug.dump_pass_graph 中配置一个或多个 Pass identifier,例如: "dump_pass_graph": ["RemoveRedundantReshape", "InferMemoryConflict"] 当列表非空时,仅对列表中命中的 Pass 开启 dump_graph 和 print_graph,其它 Pass 不输出计算图和 IR;当列表为空时,不启用该定向过滤逻辑,继续使用默认 Pass DFX 配置。若配置了当前策略中不存在的 Pass identifier,该名称会被忽略, 并输出 warning 提示。compile_debug_mode=1 优先级更高,开启后仍会强制输出所有 Pass 的计算图和 IR。 其中原dump_graph、print_graph为false也可以打开单pass的计算图和ir See merge request: cann/pypto!4697 | 4 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 | |
style(all): Remove trailing whitespace and add missing EOF newlines | 4 months ago | |
feat(Assemble): Add valid for Assemble Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !4221 merge valid_assemble into master feat(Assemble): Add valid for Assemble Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: 增加Assemble接口校验:src tensor不允许动态轴,(shape[dim] > 0) See merge request: cann/pypto!4221 | 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(build): Support whl into cann pipeline compile Co-authored-by: DCGDDD<yangxu14@huawei.com> # message auto-generated for no-merge-commit merge: !4471 merge 9.1.0 into master feat(build): Support whl into cann pipeline compile Created-by: DCGDDD Commit-by: DCGDDD Merged-by: cann-robot Description: feat(build): Support whl into cann pipeline compile See merge request: cann/pypto!4471 | 4 months ago | |
style(all): Remove trailing whitespace and add missing EOF newlines | 4 months ago | |
feat(ir): Add fa test Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !3964 merge master into master feat(ir): Add fa test Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: fix(function): Move to outputs should be assemble fear(ir): Support repr for symbolic_scalar fear(ir): Add tokens for get_tensor_data/assemble fear(ir): Add binding api for pass feat(ir): Add aggresive_dce pass fix order of yield args maybe random refactor(ir): Add canonicalize pass fear(ir): Remove empty controlflow fear(ir): Support yield list/tuple args fear(ir): Support yield list/tuple args fear(ir): Support get_tensor_data for pil fear(ir): Make ctx as first arguments test(ir): Add fa test Related Issue: [#1185](https://gitcode.com/cann/pypto/issues/1185) See merge request: cann/pypto!3964 | 5 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 | |
style(all): Remove trailing whitespace and add missing EOF newlines | 4 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(runtime): Use cached debug mode for profile sync Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !4309 merge fix_config_0625 into master fix(runtime): Use cached debug mode for profile sync Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: ## 背景 JIT kernel 首次调用会创建 jit_scope 并将 debug 配置写入配置树;二次调用命中已编译的 KernelBinary 时不会重新进入该配置作用域。此时 runtime launch 路径如果继续从配置树读取 runtime_debug_mode,拿不到 JIT 上配置的 debug 模式。 ## 修改内容 - 将 DeviceRunner::SyncProfData / DevicePerf::SyncProfData 改为接收 debugEnable 参数。 - LaunchAicoreKernel 使用 KernelModule 中已缓存的 debug 状态向下传递,不再在 DevicePerf::SyncProfData 中读取配置树。 - 保持旧的 RunWithProfile 路径行为不变。 See merge request: cann/pypto!4309 | 5 months ago | |
feat(pass): Add set tunevf mode Co-authored-by: GaoZiXuan61<gaozixuan3@huawei.com> # message auto-generated for no-merge-commit merge: !4589 merge vf into master feat(pass): Add set tunevf mode Created-by: GaoZiXuan61 Commit-by: GaoZiXuan61 Merged-by: cann-robot Description: 此 PR 新增了 sg_set_tunevf_mode 配置项,用于控制 VF(Vector Fusion)调优 Pass 的行为模式。通过该配置,用户可以选择三种模式:默认行为(0)、完全旁路 TuneTileOpSeqForVF 和 TuneSyncForVF 两个 Pass(1)、以及在 TuneSyncForVF 中忽略性能建模以最大化融合(2)。同时同步添加了 Python API 的对应参数及校验逻辑。 主要改动 - 新增配置常量与默认值: 在 config_manager_ng.h 中添加 SG_SET_TUNEVF_MODE 常量,并在 tile_fwk_config.json 中设置默认值为 0,同时在 tile_fwk_config_schema.json 中定义该字段的取值范围(0–2)及中英文标签说明。 - TuneTileOpSeqForVF 旁路支持: 在 TuneTileOpSeqForVF::RunOnFunction 中读取 sg_set_tunevf_mode 配置,当值为 1 时直接跳过该 Pass,不再执行 TileOp 序列调优。 - TuneSyncForVF 旁路与最大化融合支持: 在 TuneSyncForVF::RunOnFunction 中增加模式 1 的旁路逻辑;在 ChangeOpSeq 中,当 tunevfMode == 2 时跳过 NeedAdjustOpSeq 性能收益判断,直接进行融合操作以实现最大化融合。 - Python API 扩展: 在 set_pass_options() 函数中新增 sg_set_tunevf_mode 参数,仅接受 0、1、2 三个整数值,非法值会抛出 ValueError。 See merge request: cann/pypto!4589 | 4 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(ir): Add fa test Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !3964 merge master into master feat(ir): Add fa test Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: fix(function): Move to outputs should be assemble fear(ir): Support repr for symbolic_scalar fear(ir): Add tokens for get_tensor_data/assemble fear(ir): Add binding api for pass feat(ir): Add aggresive_dce pass fix order of yield args maybe random refactor(ir): Add canonicalize pass fear(ir): Remove empty controlflow fear(ir): Support yield list/tuple args fear(ir): Support yield list/tuple args fear(ir): Support get_tensor_data for pil fear(ir): Make ctx as first arguments test(ir): Add fa test Related Issue: [#1185](https://gitcode.com/cann/pypto/issues/1185) See merge request: cann/pypto!3964 | 5 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 | |
style(all): Remove trailing whitespace and add missing EOF newlines | 4 months ago | |
feat(ir): Support pypto.loop_unroll Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !4643 merge nested_func into master feat(ir): Support pypto.loop_unroll Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: 1. Support pypto.loop_unroll 2. Support and/or for symbolic_scalar Related Issue: #1185 See merge request: cann/pypto!4643 | 4 months ago | |
feat(ir): Support pypto.loop_unroll Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !4643 merge nested_func into master feat(ir): Support pypto.loop_unroll Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: 1. Support pypto.loop_unroll 2. Support and/or for symbolic_scalar Related Issue: #1185 See merge request: cann/pypto!4643 | 4 months ago | |
fear(ir): Support path prune for merge_stmt pass Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !4849 merge path/prune into master fear(ir): Support path prune for merge_stmt pass Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: feat(ir): Add SymbolicScalar::From api fix(ir): MopCall should be treated as symbol fear(ir): Support path prune for merge_stmt pass Related Issue: #1185 See merge request: cann/pypto!4849 | 4 months ago | |
feat(ir): Add fa test Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !3964 merge master into master feat(ir): Add fa test Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: fix(function): Move to outputs should be assemble fear(ir): Support repr for symbolic_scalar fear(ir): Add tokens for get_tensor_data/assemble fear(ir): Add binding api for pass feat(ir): Add aggresive_dce pass fix order of yield args maybe random refactor(ir): Add canonicalize pass fear(ir): Remove empty controlflow fear(ir): Support yield list/tuple args fear(ir): Support yield list/tuple args fear(ir): Support get_tensor_data for pil fear(ir): Make ctx as first arguments test(ir): Add fa test Related Issue: [#1185](https://gitcode.com/cann/pypto/issues/1185) See merge request: cann/pypto!3964 | 5 months ago | |
feat(ir): Add fa test Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !3964 merge master into master feat(ir): Add fa test Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: fix(function): Move to outputs should be assemble fear(ir): Support repr for symbolic_scalar fear(ir): Add tokens for get_tensor_data/assemble fear(ir): Add binding api for pass feat(ir): Add aggresive_dce pass fix order of yield args maybe random refactor(ir): Add canonicalize pass fear(ir): Remove empty controlflow fear(ir): Support yield list/tuple args fear(ir): Support yield list/tuple args fear(ir): Support get_tensor_data for pil fear(ir): Make ctx as first arguments test(ir): Add fa test Related Issue: [#1185](https://gitcode.com/cann/pypto/issues/1185) See merge request: cann/pypto!3964 | 5 months ago | |
style(all): Remove trailing whitespace and add missing EOF newlines | 4 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 | ||
| 4 months ago | ||
| 4 months ago | ||
| 9 months ago | ||
| 4 months ago | ||
| 5 months ago | ||
| 8 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 5 months ago | ||
| 7 months ago | ||
| 4 months ago | ||
| 6 months ago | ||
| 7 months ago | ||
| 5 months ago | ||
| 4 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 | ||
| 5 months ago | ||
| 8 months ago | ||
| 10 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 4 months ago | ||
| 6 months ago |