| Files | Last commit | Last update |
|---|---|---|
feat(function): Support reshape copy for cube Co-authored-by: 2501_92924845<niulinkai@huawei.com> Co-authored-by: yr12318<yangrui231@huawei.com> Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !3857 merge reshape_loc_68 into master feat(function): Support reshape copy for cube Created-by: zhaojunhan Commit-by: zhaojunhan;2501_92924845;yr12318 Merged-by: cann-robot Description: ## 背景 当前动态 valid shape reshape 场景中,cube 路径下 reshape 前后的 copy in / copy out 在拷贝时会包括无效数据,导致 matmul/L0C/L1 等场景无法正确reshape。 ## 修改内容 - 支持 cube reshape copy 操作 - 新增/完善 TReshapeLoad,支持 GM -> L1 的 reshape copy in (补上无效数据) - 新增/完善 TReshapeStore,支持 L0C -> GM 的 reshape copy out (仅搬运有效数据) - 统一 reshape copy tile op 命名和调用方式 - 完善 RemoveUnalignedReshape pass - 支持将 L0C -> GM 的 COPY_OUT 转换为 OP_L0C_RESHAPE_COPY_OUT - 支持将 GM -> L1 的 COPY_IN 转换为 OP_L1_RESHAPE_COPY_IN - 修复多 copy out、静态/动态 valid shape 场景下 reshape copy 改写遗漏的问题 - 补齐 reshape copy valid shape attr 设置逻辑 - 完善 function 侧 COA 归一化 - 将 OP_L0C_RESHAPE_COPY_OUT / OP_L1_RESHAPE_COPY_IN 纳入 reshape copy dyn valid shape 归一化流程 - 增加测试覆盖 - 补充 pass UT,覆盖 L0C copy out、L1 copy in、静态 valid shape 等场景 - 增加 reshape valid shape + matmul 相关 ST 用例 ## 验证 - 已补充/修复相关 UT 和 ST 用例 - 重点覆盖 cube reshape copy in/out 与 matmul 后 reshape valid shape 场景 See merge request: cann/pypto!3857 | 5 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 | |
style(all): Remove trailing whitespace and add missing EOF newlines | 4 months ago | |
style(all): Remove trailing whitespace and add missing EOF newlines | 4 months ago | |
style(all): Remove trailing whitespace and add missing EOF newlines | 4 months ago | |
Initial commit | 10 months ago | |
fix(CI): Add set_device Co-authored-by: W4termy<wangmingyang21@huawei.com> # message auto-generated for no-merge-commit merge: !4482 merge conftest into master fix(CI): Add set_device Created-by: W4termy Commit-by: W4termy Merged-by: cann-robot Description: 解决未调用set_device的用例pass后仍异常报错的问题 See merge request: cann/pypto!4482 | 4 months ago | |
feat(build): Optimize the parallel execution implementation of STest Co-authored-by: DCGDDD<yangxu14@huawei.com> # message auto-generated for no-merge-commit merge: !36 merge master into master feat(build): Optimize the parallel execution implementation of STest Created-by: DCGDDD Commit-by: DCGDDD Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ***Support C++ STest parallel execution*** 1. Remove redundant outputs for certain test cases during Golden comparison to reduce overall log size; 2. Adjust the maximum parallelism for Golden's parallel generation from 4 to 16; 3. Close the test cases that Golden fails to generate correctly; 4. Closing Part Unusual Examples; 5. Optimize the parallel execution script to support displaying the execution process by Device in STest scenarios; ***Support parallel execution of STest/Example in Python scenarios*** 1. Fixed some use case DeviceId settings, from forcing the use of 0 cards, to obtaining them from the environment variable TILE_FWK_DEVICE_ID for multi card parallelism; 2. Revise the original Example parallel logic from using all available cards in the environment to supporting the device parameter specified by build_ci.py; 3. Migration of examples/models/conftest. py to the project root directory so that it can control the multi card parallelism of Stest and Examples; 4. Enhance the function of conftest. py, support specifying parallel execution case card parameters (-- device), support Worker to execute cases on the corresponding Device based on the assigned DeviceId, support modifying Worker and Case execution process names so that ps axf can accurately view task execution status; ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [x] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!36 | 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 | |
Initial commit | 10 months ago | |
perf(machine): Optimize dynamic cell match memory pool address passsing Co-authored-by: Songyangyang18<songyangyang18@huawei.com> # message auto-generated for no-merge-commit merge: !4280 merge addr-pass into master perf(machine): Optimize dynamic cell match memory pool address passsing Created-by: songyangyang18 Commit-by: Songyangyang18 Merged-by: cann-robot Description: # Dynamic Cell Match 内存池地址传递优化 ## 1. 背景与目标 动态算子在每次 launch 时,host 侧会为 **dynamic cell match(dynCm)** 元数据池分配 device 内存,并将 dynamicCellMatchAddr / dynamicCellMatchCapacity 写入 DevAscendProgram::devArgs,供 AICPU InitDyn 使用。 **原方案**:通过 RuntimeMemcpy 将地址/容量 patch 到 device 侧 cfgdata(DevAscendProgram 镜像)的 devArgs 字段。 **问题**: - 每次 launch 多两次 H2D memcpy,开销不必要; - ST / cost model / Python JIT 三处各自维护重复的 patch 逻辑; - CachedOperator 中预留的 dynamicCellMatchDevAddr_ 从未接入,属于无效代码。 **目标**: 1. 经 DeviceKernelArgs(kArgs)在 launch 时传递 dynCm 地址/容量,由 AICPU 写入 devProg->devArgs; 2. 消除三处重复 patch 代码,抽取公共模板函数; 3. 删除未使用的 CachedOperator::dynamicCellMatchDevAddr_ 及相关 holder; 4. 补充 ST 用例覆盖 multi-L 跨 launch 场景。 --- ## 2. 核心设计 ### 2.1 kArgs 传址路径 Host alloc dynCm pool ↓ hostProg->devArgs.dynamicCellMatchAddr/Capacity (host 镜像,供 workspace 预算等) kArgs.runtimeDynamicCellMatchAddr/Capacity (launch 参数,device 地址) ↓ AICPU InitDyn:若 kArgs.runtimeDynamicCellMatchCapacity != 0 → devProg->devArgs.dynamicCellMatchAddr/Capacity = kArgs 值 新增 DeviceKernelArgs 字段(machine_ws_intf.h): cpp uint64_t runtimeDynamicCellMatchAddr{0}; uint64_t runtimeDynamicCellMatchCapacity{0}; ### 2.2 公共模板函数 cell_match_dynamic.h 新增: cpp template <typename MemoryHelperTy> inline void PatchRuntimeDynamicCellMatchMeta( MemoryHelperTy& memoryHelper, DevAscendProgram* hostProg, DeviceKernelArgs& kArgs); - ST(test_dev_func_runner.h)与 cost model(cost_model_launcher.h)删除本地重复实现,统一调用上述模板; - 使用 AllocDev(非 AllocZero),dynCm 内容由 runtime 填充,无需零初始化; - 模板保留在 .h:两处 MemoryHelper 为各自局部类型,无公共基类,header 内联是合理 dedup 方式。 ### 2.3 Python JIT 路径 | 变更前 | 变更后 | |--------|--------| | PatchRuntimeDynamicCellMatchAddrToCfgData + device RuntimeMemcpy | PatchHostDynamicCellMatchAddr 仅写 host devProg->devArgs | | — | Launch() 设置 kArgs.runtimeDynamicCellMatchAddr/Capacity | | GetWorkspaceSize 中未使用的 aicpuArgs | 已删除 | RefreshRuntimeDynamicCellMatchMeta 逻辑不变:跨 launch 复用/扩容 dynCm 池,Launch() 时将 **device 地址** 经 kArgs 下发。 ### 2.4 死代码清理 删除 CachedOperator 中从未接入的 dynCm 缓存槽位(device_launcher_types.h): - GetDynamicCellMatchDevAddrHolder() - 成员 dynamicCellMatchDevAddr_ 该字段在 fb9364fe 引入时即未接线;dynCm 地址现由 kArgs / KernelBinary 成员变量管理,不再走 CachedOperator holder 模式。 --- ## 3. 文件变更清单 | 文件 | 变更类型 | 说明 | |------|----------|------| | framework/src/machine/utils/machine_ws_intf.h | 扩展 | DeviceKernelArgs 增加 runtimeDynamicCellMatchAddr/Capacity | | framework/src/machine/device/dynamic/device_ctrl.h | 逻辑 | InitDyn 从 kArgs 覆盖 devProg->devArgs dynCm 字段 | | framework/src/machine/runtime/launcher/cell_match_dynamic.h | 新增 | 公共模板 PatchRuntimeDynamicCellMatchMeta;引入 machine_ws_intf.h | | framework/tests/st/utils/include/test_dev_func_runner.h | 删除/替换 | 移除本地 patch + memcpy;改调公共模板 + kArgs | | framework/src/cost_model/simulation/cost_model_launcher.h | 删除/替换 | 同上 | | python/src/bindings/runtime.cpp | 重构 | 删 device memcpy;Launch 填 kArgs;host-only patch | | framework/src/machine/runtime/launcher/device_launcher_types.h | 清理 | 删除未使用的 dynCm dev addr holder | | python/tests/st/test_cellmatch_case.py | 新增 | multi-L ST 用例(64 → 2000 → 125) | **统计**: 8 files changed, +144 / −122 lines --- --- ## 4. 行为对比(Before / After) ### Before Host: AllocDev/AllocZero → 写 hostProg->devArgs Host: RuntimeMemcpy → cfgdata(dev) devArgs.dynamicCellMatchAddr/Capacity AICPU InitDyn: 使用 cfgdata 中已 patch 的值 ### After Host: AllocDev → 写 hostProg->devArgs + kArgs.runtimeDynamicCellMatch* Launch: kArgs 随 kernel 参数下发(无 device cfgdata memcpy) AICPU InitDyn: 从 kArgs 写入 devProg->devArgs --- See merge request: cann/pypto!4280 | 5 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(test): Add core limit assertions and fix stream limit in control_cores Co-authored-by: chengding888<chengding1@hisilicon.com> # message auto-generated for no-merge-commit merge: !4538 merge 0701 into master fix(test): Add core limit assertions and fix stream limit in control_cores Created-by: chengding888 Commit-by: chengding888 Merged-by: cann-robot Description: 完善 test_control_cores.py 测试用例:补充核心数量限制的断言验证,修复 test_rts_device_stream_control_cores 中 stream limit 值不匹配的问题,并添加 setup_function 实现测试隔离(清除 kernel module cache、重置 set_device_limit.called 标志)。 See merge request: cann/pypto!4538 | 4 months ago | |
fix(conv): Conv dyn set l0c res validshape Co-authored-by: xinweiliu<liuxinwei12@huawei.com> # message auto-generated for no-merge-commit merge: !4132 merge l0C_res_validshape_set into master fix(conv): Conv dyn set l0c res validshape Created-by: xinweiliu Commit-by: xinweiliu Merged-by: cann-robot Description: 解决conv api动态轴调用尾块处理数据错误问题,配置l0c res tensor dyn validshape See merge request: cann/pypto!4132 | 5 months ago | |
feat(dfx): Non-debug mode cleans non-official build artifacts by default. Co-authored-by: meiqing2<meiqing2@hisilicon.com> # message auto-generated for no-merge-commit merge: !3850 merge output into master feat(dfx): Non-debug mode cleans non-official build artifacts by default. Created-by: meiqing2 Commit-by: meiqing2 Merged-by: cann-robot Description: 1、非调试模式,output_xxx目录默认只保留可视化需要的program.json,包含kernel源码和二进制的kernel_aicore,kernel_aicpu built_in落盘条件:使能自定义算子模式,该特性尚未对外 dyn_topo.txt落盘条件:eslmodel或者runtime_debug_mode=1或者runmode=sim 删除topo.json,没有用 2、compile_debug_mode=1时,增加print program 3、runtime debug配置,增加RUNTIME前缀 CFG_DEBUG_AICORE_MODEL-》CFG_RUINTIME_DEBUG_AICORE_MODEL CFG_DEBUG_VERIFY-》CFG_RUNTIME_DEBUG_VERIFY CFG_DEBUG_GM_OUT_OF_BOUNDS-》CFG_RUNTIME_DEBUG_GM_OUT_OF_BOUNDS See merge request: cann/pypto!3850 | 5 months ago | |
style(all): Remove trailing whitespace and add missing EOF newlines | 4 months ago | |
test(machine): Add dump analyze st Co-authored-by: quadrate<anyangle@huawei.com> # message auto-generated for no-merge-commit merge: !3969 merge perf_enhance into master test(machine): Add dump analyze st Created-by: quadrate Commit-by: quadrate Merged-by: cann-robot Description: 1、dump perf统计优化:消除重复排序,降低时间复杂度; 2、dump perf工具增加看护,拦截校验异常统计值 See merge request: cann/pypto!3969 | 5 months ago | |
fix(reshape): Fix reshape inplace address reuse for assemble dst Co-authored-by: zhaojunhan<zhaojunhan1@huawei.com> # message auto-generated for no-merge-commit merge: !3731 merge fix_reshape_inplace_63 into master fix(reshape): Fix reshape inplace address reuse for assemble dst Created-by: zhaojunhan Commit-by: zhaojunhan Merged-by: cann-robot Description: ## 修复 reshape(inplace=True) 输入输出地址不共享问题 本次修复针对以下链路: out_tensor -> reshape(inplace=True) -> tmp -> assemble 写 tmp 预期行为是 tmp 与 out_tensor 共享地址,assemble 写入 tmp 后,out_tensor 能够获得相同结果。 修改点如下: 1. function.cpp 在 CleanRedundantOutCast 的冗余 outcast 清理逻辑中增加保护条件: - 当前 outcast 的 slot 是 assemble dst slot。 - 全局 function map 中存在 reshape(inplace=True) 产生的 linked outcast,且二者属于同一 slot。 因此,仅当 assemble(dst=tmp) 且 tmp 对应 inplace reshape linked outcast 时保留该 outcast。普通 assemble outcast 仍按原逻辑清理,避免影响范围扩大。 2. dev_workspace.h 在 ResolveOutcastAddress 中调整地址解析优先级,使 linkedIncastId 分支优先于 assemble 分支。 当 tmp 同时是 reshape inplace outcast 和 assemble dst 时,优先复用 out_tensor 的运行时地址,避免进入 assemble slot 临时地址路径。 3. function.cpp 对 reshape(inplace=True) 产生的 linked outcast,不设置 needRuntimeAlloc 标记。 该修改避免 assemble need slot 逻辑为该 slot 补发 RUNTIME_SlotMarkNeedAlloc,防止 runtime 重新分配地址并破坏 tmp 与 out_tensor 的地址共享关系。 最终效果: tmp = reshape(out_tensor, inplace=True) 后,tmp 会保留 outcast 身份,并在 runtime 阶段复用 out_tensor 地址。assemble 写入 tmp 后,out_tensor 可获得正确结果,同时普通冗余 outcast 清理逻辑保持不变。 See merge request: cann/pypto!3731 | 5 months ago | |
style(all): Remove trailing whitespace and add missing EOF newlines | 4 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 | |
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 | |
style(all): Remove trailing whitespace and add missing EOF newlines | 4 months ago | |
test(machine): Add mix swimlane guard Co-authored-by: quadrate<anyangle@huawei.com> # message auto-generated for no-merge-commit merge: !4556 merge mix_prof_st into master test(machine): Add mix swimlane guard Created-by: quadrate Commit-by: quadrate Merged-by: cann-robot Description: 新增A5 mix泳道图功能的看护用例 See merge request: cann/pypto!4556 | 4 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 | |
feat(machine): Simplify runtime config stage 2 Co-authored-by: LordOfMysteries<duhongxiang@huawei.com> # message auto-generated for no-merge-commit merge: !2440 merge fix into master feat(machine): Simplify runtime config stage 2 Created-by: LordOfMysteries Commit-by: LordOfMysteries Merged-by: cann-robot Description: https://gitcode.com/cann/pypto/issues/983 (1)这几个stitch的配置彻底下掉 stitch_function_inner_memory stitch_function_outcast_memory stitch_function_num_initial stitch_function_num_step (2)三级流水开关和二级流水的源码下掉,后面只有三级流水一套流程 (2)stitch_function_size 默认值先改成20000。 这里配成60000时遇到个极限场景2mb的DUPPED_STITCH空间不够,会把READY_QUE的空间挤占光,导致一个devTask都下发不了。 后续DUPPED_STITCH的空间要考虑下改成根据stitch_function_size的值评估,不能写死2mb。 See merge request: cann/pypto!2440 | 7 months ago | |
style(all): Remove trailing whitespace and add missing EOF newlines | 4 months ago | |
fix(perf): Fix mix info sync event mismatch Co-authored-by: quadrate<anyangle@huawei.com> Co-authored-by: gcw_bTlukKC6<xuxinlei1@huawei.com> # message auto-generated for no-merge-commit merge: !4423 merge mix_bugfix into master fix(perf): Fix mix info sync event mismatch Created-by: quadrate Commit-by: quadrate;gcw_bTlukKC6 Merged-by: cann-robot Description: 1、Mix新增了核间同步后,导致新增的跨核同步 opcode 参与了 OPEN_MIX_PERF 运行时打点,但没有同步写入 mix_event_info.json 的同步元信息,导致绘图脚本按等长数组匹配时越界。 2、增加PMU trace的看护用例 See merge request: cann/pypto!4423 | 4 months ago | |
feat(Operation): Update operation doc support Ascend 950PR/Ascend 950DT Co-authored-by: gguuaanngg<zhangguangjun2@huawei.com> # message auto-generated for no-merge-commit merge: !2326 merge master into master feat(Operation): Update operation doc support Ascend 950PR/Ascend 950DT Created-by: gguuaanngg Commit-by: gguuaanngg Merged-by: cann-robot Description: 1、Update operation doc support Ascend 950PR/Ascend 950DT 2、修改cast lastuse编译报错问题 See merge request: cann/pypto!2326 | 7 months ago | |
style(all): Remove trailing whitespace and add missing EOF newlines | 4 months ago | |
style(all): Remove trailing whitespace and add missing EOF newlines | 4 months ago | |
typo fix Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !25 merge typo-fix_ into master typo fix Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: ## 描述 修复一些拼写错误,还有clip的接口错误 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 修复了拼写错误,以及函数签名。完成冒烟测试。 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!25 | 10 months ago | |
typo fix Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !25 merge typo-fix_ into master typo fix Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: ## 描述 修复一些拼写错误,还有clip的接口错误 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 修复了拼写错误,以及函数签名。完成冒烟测试。 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!25 | 10 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 | |
fix(machine): Add st test case Co-authored-by: gaoxingwang<camuel.gao@huawei.com> # message auto-generated for no-merge-commit merge: !4150 merge rfw into master fix(machine): Add st test case Created-by: gaoxingwang Commit-by: gaoxingwang Merged-by: cann-robot Description: PR 应该避免没有描述信息, 描述信息的最重要的作用是描述修改意图,应该清晰明了. 例如: 标题中包含了 fix 标签, 如果没有描述信息,就需要Review人员猜测PR具体修复了哪些内容,或者怀疑修改的必要性. 如果PR和特定的Issue相关,可以单独包含一行 Related Issue: 放到描述信息最后. 下面是一个典型的PR描述信息: The origin issue template brings too many noise, it's not suitable for git message. eg: comments are not removed, labels are redundant as the PR tile already contains the tag. The guide gives a clear suggestion on how to write the PR body. Related Issue: #1234,#5678 更多描述信息见:[Commit Message 规范](../docs/zh/contribute/pull-request.md#commit-message) See merge request: cann/pypto!4150 | 5 months ago | |
test(machine): Add dump analyze st Co-authored-by: quadrate<anyangle@huawei.com> # message auto-generated for no-merge-commit merge: !3969 merge perf_enhance into master test(machine): Add dump analyze st Created-by: quadrate Commit-by: quadrate Merged-by: cann-robot Description: 1、dump perf统计优化:消除重复排序,降低时间复杂度; 2、dump perf工具增加看护,拦截校验异常统计值 See merge request: cann/pypto!3969 | 5 months ago | |
Initial commit | 10 months ago | |
feat(operation): Add Ceil&Floor&Trunc operation Co-authored-by: guoliwei<guoliwei10@huawei.com> # message auto-generated for no-merge-commit merge: !384 merge master into master feat(operation): Add Ceil&Floor&Trunc operation Created-by: lijunze Commit-by: guoliwei Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!384 | 9 months ago | |
typo fix Co-authored-by: bynshard<zhangbingshuai@huawei.com> # message auto-generated for no-merge-commit merge: !25 merge typo-fix_ into master typo fix Created-by: bynshard Commit-by: bynshard Merged-by: cann-robot Description: ## 描述 修复一些拼写错误,还有clip的接口错误 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 修复了拼写错误,以及函数签名。完成冒烟测试。 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/pypto!25 | 10 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 5 months ago | ||
| 5 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 10 months ago | ||
| 4 months ago | ||
| 10 months ago | ||
| 8 months ago | ||
| 10 months ago | ||
| 5 months ago | ||
| 8 months ago | ||
| 4 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 4 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 4 months ago | ||
| 7 months ago | ||
| 7 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 7 months ago | ||
| 7 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 7 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 10 months ago | ||
| 10 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 10 months ago | ||
| 9 months ago | ||
| 10 months ago |