[ci][test] fix RemoteOpenAIServer (#7838)

This commit is contained in:
youkaichao
2024-08-24 10:31:28 -07:00
committed by GitHub
parent ea9fa160e3
commit aab0fcdb63

View File

@ -68,7 +68,7 @@ class RemoteOpenAIServer:
if not model.startswith("/"):
# download the model if it's not a local path
# to exclude the model download time from the server start time
model = snapshot_download(model)
snapshot_download(model)
if auto_port:
if "-p" in cli_args or "--port" in cli_args:
raise ValueError("You have manually specified the port"