Unverified Commit ad47749b authored by Yineng Zhang's avatar Yineng Zhang Committed by GitHub
Browse files

fix: resolve bench_serving args (#2139)

parent 751c3a03
......@@ -1107,6 +1107,10 @@ def run_benchmark(args_: argparse.Namespace):
global args
args = args_
# Set default value for max_concurrency if not present
if not hasattr(args, "max_concurrency"):
args.max_concurrency = None
# Set global environments
set_ulimit()
random.seed(args.seed)
......
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