Remove deprecated configs (#1431)

This commit is contained in:
Lianmin Zheng
2024-09-15 08:52:18 -07:00
committed by GitHub
parent e79f6cd73d
commit 899cf5c438
5 changed files with 13 additions and 24 deletions

View File

@@ -304,7 +304,6 @@ def add_common_sglang_args_and_parse(parser: argparse.ArgumentParser):
def select_sglang_backend(args: argparse.Namespace):
if args.backend.startswith("srt"):
if args.backend == "srt-no-parallel":
global_config.enable_parallel_decoding = False
global_config.enable_parallel_encoding = False
backend = RuntimeEndpoint(f"{args.host}:{args.port}")
elif args.backend.startswith("gpt-"):