| Files | Last commit | Last update |
|---|---|---|
feat(dfx): Add errcode Co-authored-by: meiqing2<meiqing2@hisilicon.com> # message auto-generated for no-merge-commit merge: !1795 merge dev_err into master feat(dfx): Add errcode Created-by: meiqing2 Commit-by: meiqing2 Merged-by: cann-robot Description: Machine: 1. MACHINE_LOGE/DEV_ERROR/DEV_ASSERT添加错误码,2. dev_encode InitOperation超大函数拆分,3. 规范少量日志级别和内容 Distributed: 1. DEV_ERROR/DEV_ASSERT添加错误码,2. 添加distributed.md See merge request: cann/pypto!1795 | 8 months ago | |
Initial commit | 10 months ago | |
feat(machine): Add coa trace and leaf func memory check script Co-authored-by: qq_52905393<liuzhen180@huawei.com> # message auto-generated for no-merge-commit merge: !1331 merge dev-lz-open-shcema into master feat(machine): Add coa trace and leaf func memory check script Created-by: qq_52905393 Commit-by: qq_52905393 Merged-by: cann-robot Description: 根据 Schema Trace 对 LeafFunc 级别的输入与输出进行内存检查。 1、在 core task 任务下发前,增加对当前 task 输入输出的 rawtensor 范围、offset、validshape 进行 trace 记录 2、在脚本中解析日志,构建 leaftask、roottask、device task,对没有依赖关系的 core task 两两进行内存检查: (1)src 的 incast 与 dst 的 outcast (2)src 的 outcast 与 dst 的 incast (3)src 和 dst 的 outcast 冲突规则:rawtensor range 相同且 所有维度的 offset + shape 产生重叠。 使用方法: 1、当前需要 schema trace 日志 (代码中 ENABLE_COMPILE_VERBOSE_LOG 设置为 1,重新编译),开启泳道图采集(获取 dyn_topo.txt) 2、python3 tools/schema/schema_memory_check.py -d=device 日志文件夹 -t= topo 文件 注意: 1、脚本读取 device 日志时,会读取文件夹下所有日志,要保证所有日志来自同一次执行 2、当前只支持单次 launch,即日志中所有的 device task 来自同一次 launch,不能是多次 launch。 See merge request: cann/pypto!1331 | 8 months ago | |
Initial commit | 10 months ago | |
feat(machine): Add coa trace and leaf func memory check script Co-authored-by: qq_52905393<liuzhen180@huawei.com> # message auto-generated for no-merge-commit merge: !1331 merge dev-lz-open-shcema into master feat(machine): Add coa trace and leaf func memory check script Created-by: qq_52905393 Commit-by: qq_52905393 Merged-by: cann-robot Description: 根据 Schema Trace 对 LeafFunc 级别的输入与输出进行内存检查。 1、在 core task 任务下发前,增加对当前 task 输入输出的 rawtensor 范围、offset、validshape 进行 trace 记录 2、在脚本中解析日志,构建 leaftask、roottask、device task,对没有依赖关系的 core task 两两进行内存检查: (1)src 的 incast 与 dst 的 outcast (2)src 的 outcast 与 dst 的 incast (3)src 和 dst 的 outcast 冲突规则:rawtensor range 相同且 所有维度的 offset + shape 产生重叠。 使用方法: 1、当前需要 schema trace 日志 (代码中 ENABLE_COMPILE_VERBOSE_LOG 设置为 1,重新编译),开启泳道图采集(获取 dyn_topo.txt) 2、python3 tools/schema/schema_memory_check.py -d=device 日志文件夹 -t= topo 文件 注意: 1、脚本读取 device 日志时,会读取文件夹下所有日志,要保证所有日志来自同一次执行 2、当前只支持单次 launch,即日志中所有的 device task 来自同一次 launch,不能是多次 launch。 See merge request: cann/pypto!1331 | 8 months ago | |
Initial commit | 10 months ago | |
Initial commit | 10 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 8 months ago | ||
| 10 months ago | ||
| 8 months ago | ||
| 10 months ago | ||
| 8 months ago | ||
| 10 months ago | ||
| 10 months ago |