Unverified Commit 160bb06e authored by MissPenguin's avatar MissPenguin Committed by GitHub
Browse files

add config.enable_memory_optim()

parent f051be86
......@@ -88,6 +88,7 @@ def create_predictor(args, mode):
if args.use_gpu:
config.enable_use_gpu(args.gpu_mem, 0)
config.enable_memory_optim()
else:
config.disable_gpu()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment