From 4b98c721714ab25dca13959f3865488d96db7e11 Mon Sep 17 00:00:00 2001 From: Megvii Engine Team Date: Fri, 26 Feb 2021 16:50:06 +0800 Subject: [PATCH] fix(mge/sublinear): change no virtual grad warning to log_debug GitOrigin-RevId: 6b5808f2d4e441d0642d89eb4152e7986b0fc75f --- src/core/impl/graph/cg_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/impl/graph/cg_impl.cpp b/src/core/impl/graph/cg_impl.cpp index be9331c3..f49d9362 100644 --- a/src/core/impl/graph/cg_impl.cpp +++ b/src/core/impl/graph/cg_impl.cpp @@ -474,7 +474,7 @@ ComputingGraphImpl::CompileState ComputingGraphImpl::compile_prepare( #if MGB_ENABLE_SUBLINEAR if (options().enable_sublinear_memory_opt) { if (!sopr_stat.has_virtual_grad) { - mgb_log_warn( + mgb_log_debug( "no virtual grad var; sublinear memory may produce " "unsatisfying result"); }