Correctly log default ranking in collective param resolution.
PiperOrigin-RevId: 218907613
This commit is contained in:
parent
62363a4319
commit
33d6328d16
@ -445,8 +445,7 @@ void CollectiveParamResolverLocal::CompleteDefaultRanking(
|
|||||||
ir->shared.instance.task_names = new_task_names;
|
ir->shared.instance.task_names = new_task_names;
|
||||||
if (VLOG_IS_ON(2)) {
|
if (VLOG_IS_ON(2)) {
|
||||||
string buf;
|
string buf;
|
||||||
for (const auto& d : cp->instance.device_names)
|
for (const auto& d : new_device_names) strings::StrAppend(&buf, "\n", d);
|
||||||
strings::StrAppend(&buf, "\n", d);
|
|
||||||
VLOG(2) << "Optimized device order for " << ir->shared.name << ": " << buf;
|
VLOG(2) << "Optimized device order for " << ir->shared.name << ": " << buf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user