| Files | Last commit | Last update |
|---|---|---|
feat(operation): Handle the transdata UB out-of-bounds issue. Co-authored-by: yang-fulai-3<yangfulai3@huawei.com> # message auto-generated for no-merge-commit merge: !7394 merge mem_exceed into master feat(operation): Handle the transdata UB out-of-bounds issue. Created-by: yangfulai Commit-by: yang-fulai-3 Merged-by: cann-robot Description: feat(operation): Handle the transdata UB out-of-bounds issue. 主要修改: transdata 占用估算与 tile 增长: conv_vec_tile_inference.cpp 新增 Fz3dWeightTransdataBytes 与 GrowDimByTransdataBytes, 按输入 tile、dst tile、tmp tile 的合成占用(含 N*C1*C0*H*WPad 与 tmp 取最大值项)判断增长上限,InferWeightVecTile 的 3D 分支改用 Platform::Instance().GetAIVCore().GetMemorySize(MemoryType::MEM_UB) 作为阈值,避免仅按输入 tile 增长导致 UB 溢出 更多描述信息见:[Commit Message 规范](../docs/zh/contribute/pull-request.md#commit-message) See merge request: cann/pypto!7394 | 15 days ago | |
feat(operation): Handle the transdata UB out-of-bounds issue. Co-authored-by: yang-fulai-3<yangfulai3@huawei.com> # message auto-generated for no-merge-commit merge: !7394 merge mem_exceed into master feat(operation): Handle the transdata UB out-of-bounds issue. Created-by: yangfulai Commit-by: yang-fulai-3 Merged-by: cann-robot Description: feat(operation): Handle the transdata UB out-of-bounds issue. 主要修改: transdata 占用估算与 tile 增长: conv_vec_tile_inference.cpp 新增 Fz3dWeightTransdataBytes 与 GrowDimByTransdataBytes, 按输入 tile、dst tile、tmp tile 的合成占用(含 N*C1*C0*H*WPad 与 tmp 取最大值项)判断增长上限,InferWeightVecTile 的 3D 分支改用 Platform::Instance().GetAIVCore().GetMemorySize(MemoryType::MEM_UB) 作为阈值,避免仅按输入 tile 增长导致 UB 溢出 更多描述信息见:[Commit Message 规范](../docs/zh/contribute/pull-request.md#commit-message) See merge request: cann/pypto!7394 | 15 days ago |