From 411f7b42bed972dbc447f39bc0789671f25c04cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=B3=E6=99=93=E4=BC=9F?= <39303645+Shixiaowei02@users.noreply.github.com> Date: Tue, 1 Oct 2019 00:06:27 +0800 Subject: [PATCH] fix analysis_predictor ci, test=release/1.6 (#20140) --- paddle/fluid/inference/api/analysis_predictor_tester.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/paddle/fluid/inference/api/analysis_predictor_tester.cc b/paddle/fluid/inference/api/analysis_predictor_tester.cc index 0c1ea3e3c72..e990b2c7736 100644 --- a/paddle/fluid/inference/api/analysis_predictor_tester.cc +++ b/paddle/fluid/inference/api/analysis_predictor_tester.cc @@ -71,9 +71,6 @@ TEST(AnalysisPredictor, analysis_on) { auto _predictor = CreatePaddlePredictor(config); auto* predictor = static_cast(_predictor.get()); - if (predictor->inference_program_->Version() == 0) { - ASSERT_FALSE(predictor->CheckOperatorCompatible()); - } ASSERT_TRUE(predictor->scope_); ASSERT_TRUE(predictor->sub_scope_); ASSERT_EQ(predictor->scope_->parent(), nullptr); -- GitLab