[ci][test] fix RemoteOpenAIServer (#7838)
This commit is contained in:
parent
ea9fa160e3
commit
aab0fcdb63
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user