diff --git a/demo-serving/op/bert_service_op.h b/demo-serving/op/bert_service_op.h index 080e33e44a2a9e7c8f84855c8d4e911101c329d0..2cba925ba0013fbadda375d9dd5b4a4763905d88 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 ab0910c91e9047341168c17c111326af34b1f2d6..11679c83b1b8a27447b16d8531df17083e1b4f09 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 {