fix: resolve bench_serving args (#2139)
This commit is contained in:
@@ -1107,6 +1107,10 @@ def run_benchmark(args_: argparse.Namespace):
|
|||||||
global args
|
global args
|
||||||
args = 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 global environments
|
||||||
set_ulimit()
|
set_ulimit()
|
||||||
random.seed(args.seed)
|
random.seed(args.seed)
|
||||||
|
|||||||
Reference in New Issue
Block a user