Simplify logits penalizer (#2086)

This commit is contained in:
Lianmin Zheng
2024-11-18 17:48:28 -08:00
committed by GitHub
parent 3b44bbeecf
commit b110453802
18 changed files with 125 additions and 190 deletions

View File

@@ -782,7 +782,7 @@ class PortArgs:
@staticmethod
def init_new(server_args) -> "PortArgs":
port = server_args.port + 42
port = server_args.port + random.randint(100, 1000)
while True:
if is_port_available(port):
break