Browse Source

fix(mge/sublinear): change no virtual grad warning to log_debug

GitOrigin-RevId: 6b5808f2d4
tags/v1.3.0
Megvii Engine Team 4 years ago
parent
commit
4b98c72171
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/core/impl/graph/cg_impl.cpp

+ 1
- 1
src/core/impl/graph/cg_impl.cpp View File

@@ -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");
}


Loading…
Cancel
Save