[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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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"