Skip to content

Commit

Permalink
Travis: fix check style error.
Browse files Browse the repository at this point in the history
  • Loading branch information
wanglei828 committed May 5, 2018
1 parent 4e3fac4 commit 6418c42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 0 additions & 4 deletions doc/fluid/design/dist_train/distributed_traing_review.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,3 @@ Codistillation is a technique that tries to scale the training further. A few tr
[3] Yonghui Wu, Mike Schuster, Zhifeng Chen, Quoc V Le, Mohammad Norouzi, Wolfgang Macherey, Maxim Krikun, Yuan Cao, Qin Gao, Klaus Macherey, et al. Google’s neural machine translation system: Bridging the gap between human and machine translation.

[4] LARGE SCALE DISTRIBUTED NEURAL NETWORK TRAINING THROUGH ONLINE DISTILLATION




5 changes: 2 additions & 3 deletions paddle/fluid/operators/listen_and_serv_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,8 @@ void ListenAndServOp::RunImpl(const framework::Scope &scope,
rpc_service_->WaitServerReady();

// Write to a file of server selected port for python use.
std::string file_path =
string::Sprintf("/tmp/paddle.%d.selected_port",
static_cast<int>(::getpid()));
std::string file_path = string::Sprintf("/tmp/paddle.%d.selected_port",
static_cast<int>(::getpid()));
SavePort(file_path);
if (sync_mode) {
RunSyncLoop(&executor, program, &recv_scope, prefetch_block);
Expand Down

0 comments on commit 6418c42

Please sign in to comment.