From 39a44e38340679ececffec77746acf6cf91e2087 Mon Sep 17 00:00:00 2001 From: yuyang18 Date: Wed, 23 May 2018 10:28:11 +0800 Subject: [PATCH] Add Debug log --- paddle/fluid/framework/details/multi_devices_graph_builder.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paddle/fluid/framework/details/multi_devices_graph_builder.cc b/paddle/fluid/framework/details/multi_devices_graph_builder.cc index 26879a7cd9..50bfd42581 100644 --- a/paddle/fluid/framework/details/multi_devices_graph_builder.cc +++ b/paddle/fluid/framework/details/multi_devices_graph_builder.cc @@ -173,6 +173,8 @@ std::unique_ptr MultiDevSSAGraphBuilder::Build( for (size_t i = 0; i < backward_vars.size(); ++i) { auto &p_name = backward_vars[i]; auto &g_name = backward_vars[i + 1]; + VLOG(10) << "Bcast " << g_name << " for parameter " << p_name; + switch (strategy_.reduce_) { case BuildStrategy::ReduceStrategy::kReduce: CreateReduceOp(&result, g_name, cur_device_id); -- GitLab