From 2c28e3283aeaff84fa0c7ff4d627432ff060b9ce 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: Thu, 10 Oct 2019 10:34:56 +0800 Subject: [PATCH] fix analysis_predictor ci, test=release/1.6 (#20141) --- 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