diff --git a/paddle/fluid/inference/api/api_tensorrt_subgraph_engine.cc b/paddle/fluid/inference/api/api_tensorrt_subgraph_engine.cc index 48704ba235210c848c66bc4f28a4e780f8a32e84..5967402055c61dd480055497640a16ab7e94a746 100644 --- a/paddle/fluid/inference/api/api_tensorrt_subgraph_engine.cc +++ b/paddle/fluid/inference/api/api_tensorrt_subgraph_engine.cc @@ -32,8 +32,8 @@ class TensorRTSubgraphPredictor : public NativePaddlePredictor { : NativePaddlePredictor(config), config_(config) {} bool Init(const std::shared_ptr& parent_scope) { - FLAGS_inference_analysis_enable_tensorrt_subgraph_engine = true; VLOG(3) << "Predictor::init()"; + FLAGS_inference_analysis_enable_tensorrt_subgraph_engine = true; FLAGS_tensorrt_max_batch_size = config_.max_batch_size; FLAGS_tensorrt_workspace_size = config_.workspace_size; if (config_.use_gpu) {