Skip to content

Commit

Permalink
restore_code (PaddlePaddle#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
gglin001 authored Dec 13, 2021
1 parent b211713 commit aa014d4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions paddle/fluid/framework/ipu/ipu_executor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ void Executor::Prepare(const std::string &proto) {
session_->prepareDevice();
VLOG(10) << "Preparing session device...done";

if (ipu_strategy_->is_training) {
SetWeightsIO();
}
SetWeightsIO();

VLOG(10) << "Copy weights from paddle to popart...";
WeightsFromPaddle();
Expand Down

0 comments on commit aa014d4

Please sign in to comment.