Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions paddle/fluid/framework/fleet/heter_ps/graph_gpu_wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@
#include "paddle/fluid/framework/fleet/heter_ps/gpu_graph_node.h"

#ifdef PADDLE_WITH_HETERPS
#if defined(__NVCC__) || defined(__HIPCC__)
#include <thrust/device_ptr.h>
#include <thrust/execution_policy.h>
#include <thrust/random.h>
#include <thrust/shuffle.h>
#endif
#include "paddle/fluid/framework/fleet/heter_ps/mem_pool.h"
#include "paddle/fluid/platform/device/gpu/gpu_info.h"
#include "paddle/fluid/platform/dynload/nccl.h"
Expand Down
2 changes: 0 additions & 2 deletions paddle/fluid/framework/tensor_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,6 @@ void TensorCopySync(const phi::DenseTensor& src,
return;
}

VLOG(0) << "TensorCopySync " << src.dims() << " from " << src.place()
<< " to " << dst_place;
src.check_memory_size();
dst->Resize(src.dims());
dst->set_layout(src.layout());
Expand Down
1 change: 0 additions & 1 deletion python/paddle/distributed/fleet/base/strategy_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ def maximum_path_len_algo(optimizer_list):
edge, indegree = create_graph(optimizer_list)
topo_sort(edge, indegree)
max_path = floyd(edge)
print("max_path=", max_path)
candidate = []
for idx in max_path:
candidate.append(optimizer_list[idx])
Expand Down
1 change: 1 addition & 0 deletions python/paddle/incubate/operators/unzip.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def unzip(input, lod, len):

Args:
input (Variable): The zipped input
len(int): The second dim length of unzipped output.
lod (Variable): The original lod of unzipped input, 1-D LodTensor with shape[K].

Returns:
Expand Down