| Files | Last commit | Last update |
|---|---|---|
fix(machine): fix log level mismatch, magic number and grammar errors Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !5720 merge pyptolog_fix2 into master fix(machine): fix log level mismatch, magic number and grammar errors Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 日志规范性整改 See merge request: cann/pypto!5720 | 3 months ago | |
feat(dfx): Simplify compiler monitor timeout reporting Co-authored-by: chai-hw<chaizhengtong@huawei.com> # message auto-generated for no-merge-commit merge: !7343 merge new_monitor into master feat(dfx): Simplify compiler monitor timeout reporting Created-by: chai-hw Commit-by: chai-hw Merged-by: cann-robot Description: 删除compile_timeout_stage 和 compile_monitor_print_interval 两个超时检测的配置项 以及相关内容 See merge request: cann/pypto!7343 | 23 days ago | |
refactor(pass): Simplify auto mix partition to on/off switch and enable by default Co-authored-by: bytecode<dubingjia1@huawei.com> # message auto-generated for no-merge-commit merge: !7411 merge auto-mix-partition-switch into master refactor(pass): Simplify auto mix partition to on/off switch and enable by default Created-by: bytecode Commit-by: bytecode Merged-by: cann-robot Description: #3796 ## 问题 ReduceCopyMerge::MapAutoMixPartitionToLimits 仍按多档位(2=default、3~100 回退、>100 自定义总 op 数)解释 auto_mix_partition,与 Python API/schema 已收敛的 0/1 开关语义不一致,且 tile_fwk_config.json 默认 0 导致自动 CV Mix 合图默认关闭。 ## 修复 - MapAutoMixPartitionToLimits:删除档位映射,恢复 autoMixPartition != 0 开关语义,上限固定 kMaxSubgraphAICOpNum=2000/kMaxSubgraphAIVOpNum=2240 - MergeInput::maxSubgraphTotalOpNum:删除自定义档总 op 数字段,CheckLatencyConstraint/WarnIfEnforceOpNumExceeds 移除总 op 数检查与单侧 >0 哨兵 - tile_fwk_config.json/tile_fwk_config_schema.json:auto_mix_partition 默认值 0→1,未配置时默认开启自动 CV Mix 合图 - auto_mix_partition() docstring 与 precision-pass SKILL.md 同步默认开启表述 - 删除档位专属 UT(映射/总 op 限/default 档/回退/自定义/零哨兵),保留 0/1 端到端用例并更名 RunOnFunction_AutoMixEnabledMerges ## 涉及文件 - reduce_copy.cpp/reduce_copy.h:删除档位映射与总 op 数检查 - test_reduce_copy.cpp:删除 6 个档位用例,保留 0/1 用例 - tile_fwk_config.json/tile_fwk_config_schema.json:默认值开 1 - pass_config.py/SKILL.md:默认值文档同步 See merge request: cann/pypto!7411 | 20 days ago | |
fix(interface): Reduce UT time and resolve code style. Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !3697 merge review into master fix(interface): Reduce UT time and resolve code style. Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: 1. 减少ut耗时 2. 整改代码规范 See merge request: cann/pypto!3697 | 5 months ago | |
fix(pass): Keep INDEX_ADD token deps on the tile op Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !7487 merge fix_index_add_expand_token into master fix(pass): Keep INDEX_ADD token deps on the tile op Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: expand funciton时,将 index_add 的token 直接连接到实际 tile op上。而不是SLICE/CONTRACT上。 因为index_add的输出tensor是gm类型,后续CONTRACT会被删掉,导致依赖丢失。 See merge request: cann/pypto!7487 | 18 days ago | |
feat(dist): Support register memory_region Co-authored-by: tsungl4<lidongsheng4@huawei.com> # message auto-generated for no-merge-commit merge: !7421 merge win into master feat(dist): Support register memory_region Created-by: tsungl4 Commit-by: tsungl4 Merged-by: cann-robot Description: Related Issue: #3562 See merge request: cann/pypto!7421 | 20 days ago | |
feat(operation): Optimizing Fz Scene Data Loading Issues Co-authored-by: yangfulai<yangfulai3@huawei.com> # message auto-generated for no-merge-commit merge: !6367 merge fz2 into master feat(operation): Optimizing Fz Scene Data Loading Issues Created-by: yangfulai Commit-by: yangfulai Merged-by: cann-robot Description: feat(operation): Optimizing Fz Scene Data Loading Issues NCHW->Fractal_Z shape大多是[N, C, 1, 1]、[N, C, 3, 3]、[N, C, 5, 5]、[N, C, 7, 7],如果按照常规shape load,耗时比较久,因此我们会将后三根轴合并在load,C轴切分大小是C0倍数,按照2维输入时,尾轴已经32B对齐,tload效率较高。 约束: 最后几根轴的情况有:[1,W], [H,W], [D,H,W], D、H、W取值为[1,3,5,7....],而且这些轴不存在无效值,因此这些轴可以直接合并到C轴,为了避免不必要的精度问题,这些轴均不切分,即tileshape:[tileshapeN, tileshapeC * tileshapeH * tileshapeC] 在pad时,逻辑与之前一样:tileshape切分时只pad shape,不更新validshape,validshape的更新放到tileop中 See merge request: cann/pypto!6367 | 29 days ago | |
fix(pypto_pro): Upload for Tile pro Co-authored-by: liuyu<liuyu205@hisilicon.com> # message auto-generated for no-merge-commit merge: !7401 merge master_st into master fix(pypto_pro): Upload for Tile pro Created-by: liuyu205 Commit-by: liuyu Merged-by: cann-robot Description: Upload for Tile pro See merge request: cann/pypto!7401 | 19 days ago | |
fix(pypto_pro): improve MX load and move validation Co-authored-by: fa<yangzf993@163.com> # message auto-generated for no-merge-commit merge: !7393 merge fixdocs into master fix(pypto_pro): improve MX load and move validation Created-by: fafafafafa Commit-by: fa Merged-by: cann-robot Description: 本PR解决问题单相关问题: - 完善MX Scale Load的phase轴校验与解析。 - 修正Move的shape和数据类型约束。 - 增加Tile子视图地址对齐校验。 - 修复非完整分形行的Dump寻址。 - 补充相关UT、Codegen Golden和文档。 See merge request: cann/pypto!7393 | 20 days ago | |
fix(pass): Avoid null pointer errors. Co-authored-by: wangqun23<wangqun23@huawei.com> # message auto-generated for no-merge-commit merge: !7445 merge master into master fix(pass): Avoid null pointer errors. Created-by: wangqun23 Commit-by: wangqun23 Merged-by: cann-robot Description: ## 背景 由于框架的修改,在Token开启的情况下,存在与Assemble输出同RawMagic的Incast不与其他op相连接的情况,目前仅限于Incast存在类似情况,即Incast游离在其他连接关系之外。导致ReplaceTensor里的map的value存储空指针,后续使用空指针导致段错误。 ## 方案 针对map可能访问不存在的key做补充和校验。 对可能的空指针使用新增校验。 Related Issue: [#3806](https://gitcode.com/cann/pypto/issues/3806) See merge request: cann/pypto!7445 | 19 days ago | |
feat(pypto-pro): Introduce PGOVFRunOnProgram pass Co-authored-by: poorwill<wangbing110@huawei.com> # message auto-generated for no-merge-commit merge: !7474 merge master into master feat(pypto-pro): Introduce PGOVFRunOnProgram pass Created-by: wangbing110 Commit-by: poorwill Merged-by: cann-robot Description: feat(pypto-pro): Introduce PGOVFRunOnProgram pass See merge request: cann/pypto!7474 | 18 days ago | |
fix(interpreter): Fix bug of verify output have empty dir Co-authored-by: dingbo929<dingbo24@h-partners.com> # message auto-generated for no-merge-commit merge: !6095 merge master into master fix(interpreter): Fix bug of verify output have empty dir Created-by: dingbo929 Commit-by: dingbo929 Merged-by: cann-robot Description: 1. 修复开启精度工具后,产物output目录会有一个空目录 See merge request: cann/pypto!6095 | 2 months ago | |
fix(pypto_pro): Upload for Tile pro Co-authored-by: liuyu<liuyu205@hisilicon.com> # message auto-generated for no-merge-commit merge: !7401 merge master_st into master fix(pypto_pro): Upload for Tile pro Created-by: liuyu205 Commit-by: liuyu Merged-by: cann-robot Description: Upload for Tile pro See merge request: cann/pypto!7401 | 19 days ago | |
style(all): Apply additional clang-format corrections across codebase Co-authored-by: junjieHuang<huangjunjie38@h-partners.com> # message auto-generated for no-merge-commit merge: !4883 merge style-cpp into master style(all): Apply additional clang-format corrections across codebase Created-by: junjieHuang Commit-by: junjieHuang Merged-by: cann-robot Description: Apply additional clang-format corrections across codebase See merge request: cann/pypto!4883 | 4 months ago | |
fix(tensor): Restore SetSameMemId on extra loop incast Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !7486 merge restore_extra_incast_same_memid into master fix(tensor): Restore SetSameMemId on extra loop incast Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: !7431 在 BindExtraIncastStorage 中删除了 hiddenFunc->SetSameMemId(incast, output)。incast 和 outcast 已经共享同一个 RawTensor,但 SetSameMemId 同时写入 outIncastLinkMap。 需要回退代码,原因如下: 1. subgraph_to_function 的 partial-update 输入补登记依赖这条 map。找不到条目时补登记被跳过,设备调度遗漏读取依赖,出现精度问题。 2. 当outIncastLinkMap中incast 和 outcast 的rawtensor相同时,machine会为incast分配内存,outcast实现复用。 See merge request: cann/pypto!7486 | 18 days ago | |
feat(operation): Address the causes of degradation Co-authored-by: yangfulai<yangfulai3@huawei.com> # message auto-generated for no-merge-commit merge: !7286 merge fz2 into master feat(operation): Address the causes of degradation Created-by: yangfulai Commit-by: yangfulai Merged-by: cann-robot Description: feat(operation): Address the causes of degradation 临时空间的大小设置会影响isa ttrans的计算方式,需要修改为tilew* C0大小 See merge request: cann/pypto!7286 | 25 days ago | |
fix(ir): TerminateHandler init time change Co-authored-by: seu_chang<liuchang169@huawei.com> # message auto-generated for no-merge-commit merge: !7054 merge master into master fix(ir): TerminateHandler init time change Created-by: seu_chang Commit-by: seu_chang Merged-by: cann-robot Description: 修复:仅 import pypto 时候,即全局接管 std::terminate,从而导致的其他模块的未捕获异常被误记为 PyPTO 报错 See merge request: cann/pypto!7054 | 1 month ago | |
feat(Operation): Add pypto.conv_backward_filter and its 2D implementation on A2/A3 Co-authored-by: Zehai<wangzehai3@huawei.com> Co-authored-by: hongyiliu111<liuhongyi1@huawei.com> Co-authored-by: yuxin5<yuxin5@huawei.com> Co-authored-by: xutianlong1<xutianlong1@huawei.com> Co-authored-by: zhouxuan78<zhouxuan78@huawei.com> # message auto-generated for no-merge-commit merge: !6752 merge dev into master feat(Operation): Add pypto.conv_backward_filter and its 2D implementation on A2/A3 Created-by: yuxin5 Commit-by: Zehai;yuxin5;zhouxuan78;xutianlong1;royccc;hongyiliu111 Merged-by: cann-robot Description: feat(Operation): Add pypto.conv_backward_filter and its 2D implementation on A2/A3 Add pypto.conv_backward_filter interface to compute the gradient of convolution with respect to the weight tensor, and implement its 2D support spanning the frontend interface, backend operation implementation and MTE codegen Changes: - Add pypto.conv_backward_filter frontend interface with parameter validation - Implement ConvBackwardFilter 2D backend operation and codegen - Add UT/ST test cases for the 2D implementation See merge request: cann/pypto!6752 | 1 month ago |
| Files | Last commit | Last update |
|---|---|---|
| 3 months ago | ||
| 23 days ago | ||
| 20 days ago | ||
| 5 months ago | ||
| 18 days ago | ||
| 20 days ago | ||
| 29 days ago | ||
| 19 days ago | ||
| 20 days ago | ||
| 19 days ago | ||
| 18 days ago | ||
| 2 months ago | ||
| 19 days ago | ||
| 4 months ago | ||
| 18 days ago | ||
| 25 days ago | ||
| 1 month ago | ||
| 1 month ago |