reduce threads number to avoid hang in CI

test=develop
revert-15207-remove_op_handle_lock_and_fix_var
Tao Luo 6 years ago
parent 7b73fc9e1a
commit d43983b61d

@ -283,7 +283,7 @@ TEST(Analyzer_rnn1, multi_thread) {
std::vector<std::vector<PaddleTensor>> input_slots_all;
SetInput(&input_slots_all);
TestPrediction(reinterpret_cast<const PaddlePredictor::Config *>(&cfg),
input_slots_all, &outputs, 4 /* multi_thread */);
input_slots_all, &outputs, 2 /* multi_thread */);
}
// Validate that the AnalysisPredictor + ZeroCopyTensor really works by testing

Loading…
Cancel
Save