Merge pull request #15245 from luotao1/rnn1_multi_thread

reduce threads number to avoid analyzer_rnn1_tester hang in CI
revert-15207-remove_op_handle_lock_and_fix_var
Tao Luo 6 years ago committed by GitHub
commit 7d13d20769
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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