From c55fda9a7c1b9cb0f2acafa21b712dd625cda09b Mon Sep 17 00:00:00 2001 From: Megvii Engine Team Date: Sun, 26 Sep 2021 19:54:16 +0800 Subject: [PATCH] fix(fastrun): don't kill profiling worker GitOrigin-RevId: 99a0f11a5ae59635f55f8b6229e2abb22b625998 --- src/core/impl/graph/var_node_mem_mgr.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/core/impl/graph/var_node_mem_mgr.cpp b/src/core/impl/graph/var_node_mem_mgr.cpp index 96a270725..479d6656a 100644 --- a/src/core/impl/graph/var_node_mem_mgr.cpp +++ b/src/core/impl/graph/var_node_mem_mgr.cpp @@ -401,9 +401,6 @@ bool VarNodeMemManager::update_static_alloc_plan() { // repeat allocating until plan_chunk_allocation() returns false for (;;) { - // kill profiling worker since shape is known - sys::TimedFuncInvoker::ins().kill_worker(); - for (auto opr : *m_opr_seq) { for (auto&& var : opr->output()) { if (auto trait = get_var_node_mem_trait_nullable(var)) { -- GitLab