Skip to content

Commit ac11564

Browse files
committed
update error
1 parent 7f98d8d commit ac11564

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paddle/fluid/distributed/fleet_executor/dist_model.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,8 @@ bool DistModel::PrepareFeedAndFetch() {
497497
}
498498
if (IsPPLastStage(config_)) {
499499
if (fetches_.size() == 0) {
500-
LOG(ERROR) << "Fetch op is needed for the last pp stage.";
501-
return false;
500+
LOG(WARNING) << "No fetch op was found in the last pp stage. Make sure "
501+
"the result has been sent to frist pp stage.";
502502
}
503503
} else {
504504
if (fetches_.size() > 0) {

0 commit comments

Comments
 (0)