From f732432fdc3ca2e805cb45dc8666c80d58deb7d9 Mon Sep 17 00:00:00 2001 From: "haozhe.yang" Date: Tue, 5 Nov 2024 10:42:05 +0800 Subject: [PATCH] wordaround wenet 2 Change-Id: I8d7eac0d2e445f2eae9a6d2dab18c3b68a016921 --- lib/Dialect/Tpu/Transforms/LayerGroup/LmemAllocator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Dialect/Tpu/Transforms/LayerGroup/LmemAllocator.cpp b/lib/Dialect/Tpu/Transforms/LayerGroup/LmemAllocator.cpp index f230b6a26..3d74a2456 100644 --- a/lib/Dialect/Tpu/Transforms/LayerGroup/LmemAllocator.cpp +++ b/lib/Dialect/Tpu/Transforms/LayerGroup/LmemAllocator.cpp @@ -1369,7 +1369,7 @@ void LmemAllocator::sc_method_multi_core_v3( << "; cost = " << _group_cost << "\n"; }); - if (_group_cost == 96230) { + if (_group_cost == 88611) { for (auto op : lg_info.group_ops) { if (auto matmul = dyn_cast(op)) { if (matmul.getHdimIsBatch()) {