fix: resolve bench_serving args (#2139)
This commit is contained in:
1 parent
751c3a037c
commit
ad47749b82
1 file changed
+4
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user