Unverified Commit aab0fcdb authored by youkaichao's avatar youkaichao Committed by GitHub
Browse files

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

parent ea9fa160
...@@ -68,7 +68,7 @@ class RemoteOpenAIServer: ...@@ -68,7 +68,7 @@ class RemoteOpenAIServer:
if not model.startswith("/"): if not model.startswith("/"):
# download the model if it's not a local path # download the model if it's not a local path
# to exclude the model download time from the server start time # to exclude the model download time from the server start time
model = snapshot_download(model) snapshot_download(model)
if auto_port: if auto_port:
if "-p" in cli_args or "--port" in cli_args: if "-p" in cli_args or "--port" in cli_args:
raise ValueError("You have manually specified the port" raise ValueError("You have manually specified the port"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment