diff --git a/benchmark/cpp/option.h b/benchmark/cpp/option.h index f57d3ece2..f5f2b021a 100755 --- a/benchmark/cpp/option.h +++ b/benchmark/cpp/option.h @@ -53,6 +53,11 @@ static bool CreateRuntimeOption(fastdeploy::RuntimeOption* option, if (config_info["use_fp16"] == "true") { option->trt_option.enable_fp16 = true; } + } else if (config_info["backend"] == "lite") { + option->UsePaddleLiteBackend(); + if (config_info["use_fp16"] == "true") { + option->paddle_lite_option.enable_fp16 = true; + } } else if (config_info["backend"] == "default") { PrintBenchmarkInfo(config_info); return true;