From 6cb49d2bc268c18c0e7cbfa94967af84178402e3 Mon Sep 17 00:00:00 2001 From: TeslaZhao Date: Wed, 19 Aug 2020 17:29:56 +0800 Subject: [PATCH] update mem_optim setting --- python/paddle_serving_server_gpu/serve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle_serving_server_gpu/serve.py b/python/paddle_serving_server_gpu/serve.py index 4af0ec8f..9388add0 100644 --- a/python/paddle_serving_server_gpu/serve.py +++ b/python/paddle_serving_server_gpu/serve.py @@ -34,7 +34,7 @@ def start_gpu_card_model(index, gpuid, args): # pylint: disable=doc-string-miss port = args.port + index thread_num = args.thread model = args.model - mem_optim = args.mem_optim_off + mem_optim = args.mem_optim_off is False ir_optim = args.ir_optim max_body_size = args.max_body_size use_multilang = args.use_multilang -- GitLab