fix log level test=develop (#16554)

revert-16555-model_data_cryption_link_all_lib
gongweibao 6 years ago committed by GitHub
parent 22b02bfa62
commit a61ed9782e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -68,7 +68,7 @@ void AllReduceDepsPass::ApplyImpl(ir::Graph* graph) const {
for (auto& o_it : outputs) { for (auto& o_it : outputs) {
for (auto& v : o_it.second) { // values for (auto& v : o_it.second) { // values
vars[v] = order; vars[v] = order;
VLOG(1) << "in all_reduce_deps_pass:" << v; VLOG(10) << "in all_reduce_deps_pass:" << v;
} }
} }
order++; order++;

@ -1017,7 +1017,7 @@ Scope* OperatorWithKernel::PrepareData(
// of search key even though the set is empty. // of search key even though the set is empty.
if (!no_buffer_ins.empty() && if (!no_buffer_ins.empty() &&
no_buffer_ins.count(var_name_item.first) > 0) { no_buffer_ins.count(var_name_item.first) > 0) {
VLOG(1) << "Skip scanning input " << var_name_item.first VLOG(7) << "Skip scanning input " << var_name_item.first
<< " in Operator " << type_; << " in Operator " << type_;
continue; continue;
} }

Loading…
Cancel
Save