Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
aab0fcdb
Unverified
Commit
aab0fcdb
authored
Aug 24, 2024
by
youkaichao
Committed by
GitHub
Aug 24, 2024
Browse files
[ci][test] fix RemoteOpenAIServer (#7838)
parent
ea9fa160
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/utils.py
tests/utils.py
+1
-1
No files found.
tests/utils.py
View file @
aab0fcdb
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment