未验证 提交 2c28e328 编写于 作者: 石晓伟 提交者: GitHub

fix analysis_predictor ci, test=release/1.6 (#20141)

上级 3a0f93b3
......@@ -71,9 +71,6 @@ TEST(AnalysisPredictor, analysis_on) {
auto _predictor = CreatePaddlePredictor<AnalysisConfig>(config);
auto* predictor = static_cast<AnalysisPredictor*>(_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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册