| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix(interpreter): Fix tensor dump coredump Co-authored-by: Immutable01<gaoqiancheng@huawei.com> # message auto-generated for no-merge-commit merge: !5380 merge 0810_dump into master fix(interpreter): Fix tensor dump coredump Created-by: Immutable01 Commit-by: Immutable01 Merged-by: cann-robot Description: ## 问题 开启 tensor dump 时可能 coredump。 旧地址解析走 DuppedData: - ROOT_INCAST / ROOT_OUTCAST → Incast/Outcast 地址 - 其它 → runtimeWorkspace + addrOffset 当 RuntimeWorkspace 为 0 或地址无效时,仍会 DevMemcpyS,从空/非法地址拷贝导致崩溃。该路径与 AICore 实际取址不一致。 ## 修复 1. **对齐 AICore 取址**:经 DynFuncData 解析(同 schema_trace_utils::GetTensorAddr) - LOCAL → workspaceAddr + offsetOrIndex - 否则 → rawTensorAddr[offsetOrIndex] & DUMP_RAW_TENSOR_ADDR_MASK 2. **空地址防护**:tensorAddr == 0 时跳过 dump,不再 memcpy 3. **增强日志**:#sche.dump.addr / #sche.dump.copy / #sche.dump.data,便于定位 ## 影响 - 仅影响 dump 路径,不影响正常算子执行 - 非法地址时降级为跳过 dump + 告警,避免 coredump - 若仍取到 0,需结合上述日志继续排查 DynFuncData 是否就绪 See merge request: cann/pypto!5380 | 3 个月前 | |
feat(dfx): Runtime memory overlap check Co-authored-by: duanhaotian<duanhaotian@huawei.com> # message auto-generated for no-merge-commit merge: !5107 merge duanhaotian7 into master feat(dfx): Runtime memory overlap check Created-by: duanhaotian Commit-by: duanhaotian Merged-by: cann-robot Description: dump运行时各个op的读写信息以及每个op的读写范围大小并dump运行时整体内存使用情况统计,基于相关dump数据和topo序,设计内存重叠检测脚本,检测是否存在 内存重叠 See merge request: cann/pypto!5107 | 3 个月前 | |
feat(dfx): Runtime memory overlap check Co-authored-by: duanhaotian<duanhaotian@huawei.com> # message auto-generated for no-merge-commit merge: !5107 merge duanhaotian7 into master feat(dfx): Runtime memory overlap check Created-by: duanhaotian Commit-by: duanhaotian Merged-by: cann-robot Description: dump运行时各个op的读写信息以及每个op的读写范围大小并dump运行时整体内存使用情况统计,基于相关dump数据和topo序,设计内存重叠检测脚本,检测是否存在 内存重叠 See merge request: cann/pypto!5107 | 3 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 |