Skip to content

Commit 3cfaeac

Browse files
committed
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-reshape-reuse-input
test=develop
2 parents 1f92c30 + b717a32 commit 3cfaeac

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

paddle/fluid/framework/parallel_executor.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,6 @@ ParallelExecutor::ParallelExecutor(
156156
params, member_->local_scopes_, member_->use_cuda_);
157157
#endif
158158

159-
// If the loss_var_name is given, the number of graph should be only one.
160-
if (loss_var_name.size()) {
161-
PADDLE_ENFORCE_EQ(ir::GraphNum(*graph), 1,
162-
"The number of graph should be only one");
163-
}
164-
165159
if (exec_strategy.type_ == ExecutionStrategy::kDefault) {
166160
member_->executor_.reset(new details::ThreadedSSAGraphExecutor(
167161
exec_strategy, member_->local_scopes_, places, std::move(graph)));

python/paddle/fluid/tests/unittests/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ if(WITH_DISTRIBUTE)
7878
set_tests_properties(test_dist_word2vec PROPERTIES TIMEOUT 200)
7979
py_test_modules(test_dist_se_resnext MODULES test_dist_se_resnext)
8080
set_tests_properties(test_dist_se_resnext PROPERTIES TIMEOUT 1000)
81-
82-
py_test_modules(test_dist_transformer MODULES test_dist_transformer)
83-
set_tests_properties(test_dist_transformer PROPERTIES TIMEOUT 1000)
81+
# FIXME(typhoonzero): add this back
82+
#py_test_modules(test_dist_transformer MODULES test_dist_transformer)
83+
#set_tests_properties(test_dist_transformer PROPERTIES TIMEOUT 1000)
8484
endif(NOT APPLE)
8585
py_test_modules(test_dist_transpiler MODULES test_dist_transpiler)
8686
endif()

0 commit comments

Comments
 (0)