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
ab0f5e28
Unverified
Commit
ab0f5e28
authored
Aug 07, 2024
by
Rafael Vasquez
Committed by
GitHub
Aug 07, 2024
Browse files
Fixes typo in function name (#7275)
Signed-off-by:
Rafael Vasquez
<
rafvasq21@gmail.com
>
parent
56498572
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/scripts.py
vllm/scripts.py
+2
-2
No files found.
vllm/scripts.py
View file @
ab0f5e28
...
...
@@ -14,7 +14,7 @@ from vllm.entrypoints.openai.cli_args import make_arg_parser
from
vllm.utils
import
FlexibleArgumentParser
def
regist
r
er_signal_handlers
():
def
register_signal_handlers
():
def
signal_handler
(
sig
,
frame
):
sys
.
exit
(
0
)
...
...
@@ -31,7 +31,7 @@ def serve(args: argparse.Namespace) -> None:
def
interactive_cli
(
args
:
argparse
.
Namespace
)
->
None
:
regist
r
er_signal_handlers
()
register_signal_handlers
()
base_url
=
args
.
url
api_key
=
args
.
api_key
or
os
.
environ
.
get
(
"OPENAI_API_KEY"
,
"EMPTY"
)
...
...
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