Correctly log default ranking in collective param resolution.

PiperOrigin-RevId: 218907613
This commit is contained in:
Ayush Dubey 2018-10-26 13:47:23 -07:00 committed by TensorFlower Gardener
parent 62363a4319
commit 33d6328d16

View File

@ -445,8 +445,7 @@ void CollectiveParamResolverLocal::CompleteDefaultRanking(
ir->shared.instance.task_names = new_task_names;
if (VLOG_IS_ON(2)) {
string buf;
for (const auto& d : cp->instance.device_names)
strings::StrAppend(&buf, "\n", d);
for (const auto& d : new_device_names) strings::StrAppend(&buf, "\n", d);
VLOG(2) << "Optimized device order for " << ir->shared.name << ": " << buf;
}
}