From a3740fa7fe78dc48af0e1fa86e3afd07f910f735 Mon Sep 17 00:00:00 2001 From: wangguibao Date: Sat, 14 Dec 2019 16:54:13 +0800 Subject: [PATCH] Fix build --- demo-serving/op/bert_service_op.h | 8 -------- elastic-ctr/serving/op/elastic_ctr_prediction_op.h | 8 -------- 2 files changed, 16 deletions(-) diff --git a/demo-serving/op/bert_service_op.h b/demo-serving/op/bert_service_op.h index 080e33e4..2cba925b 100644 --- a/demo-serving/op/bert_service_op.h +++ b/demo-serving/op/bert_service_op.h @@ -14,15 +14,7 @@ #pragma once #include -#ifdef BCLOUD -#ifdef WITH_GPU -#include "paddle/paddle_inference_api.h" -#else -#include "paddle/fluid/inference/api/paddle_inference_api.h" -#endif -#else #include "paddle_inference_api.h" // NOLINT -#endif #include "demo-serving/bert_service.pb.h" #include diff --git a/elastic-ctr/serving/op/elastic_ctr_prediction_op.h b/elastic-ctr/serving/op/elastic_ctr_prediction_op.h index ab0910c9..11679c83 100644 --- a/elastic-ctr/serving/op/elastic_ctr_prediction_op.h +++ b/elastic-ctr/serving/op/elastic_ctr_prediction_op.h @@ -14,15 +14,7 @@ #pragma once #include -#ifdef BCLOUD -#ifdef WITH_GPU -#include "paddle/paddle_inference_api.h" -#else -#include "paddle/fluid/inference/api/paddle_inference_api.h" -#endif -#else #include "paddle_inference_api.h" // NOLINT -#endif #include "elastic-ctr/serving/elastic_ctr_prediction.pb.h" namespace baidu { -- GitLab