提交 1e41fa42 编写于 作者: S ShiningZhang

fix comment&log

上级 4519cfa9
...@@ -228,7 +228,6 @@ class PaddleInferenceEngine : public EngineCore { ...@@ -228,7 +228,6 @@ class PaddleInferenceEngine : public EngineCore {
int local_min_subgraph_size = min_subgraph_size; int local_min_subgraph_size = min_subgraph_size;
if (engine_conf.has_min_subgraph_size()) { if (engine_conf.has_min_subgraph_size()) {
local_min_subgraph_size = engine_conf.min_subgraph_size(); local_min_subgraph_size = engine_conf.min_subgraph_size();
LOG(INFO) << "local_min_subgraph_size=" << local_min_subgraph_size;
} }
if (engine_conf.has_use_trt() && engine_conf.use_trt()) { if (engine_conf.has_use_trt() && engine_conf.use_trt()) {
......
...@@ -223,7 +223,7 @@ def serve_args(): ...@@ -223,7 +223,7 @@ def serve_args():
parser.add_argument( parser.add_argument(
"--request_cache_size", type=int, default=0, help="Port of the Prometheus") "--request_cache_size", type=int, default=0, help="Port of the Prometheus")
parser.add_argument( parser.add_argument(
"--min_subgraph_size", type=int, default="", nargs="+", help="gpu ids") "--min_subgraph_size", type=int, default="", nargs="+", help="min_subgraph_size")
return parser.parse_args() return parser.parse_args()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册