Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
norm
vllm
Commits
ce26e57f
Unverified
Commit
ce26e57f
authored
May 09, 2023
by
Woosuk Kwon
Committed by
GitHub
May 09, 2023
Browse files
Update sample prompts in `simple_server.py` (#89)
parent
85eb6318
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
simple_server.py
simple_server.py
+3
-3
No files found.
simple_server.py
View file @
ce26e57f
...
@@ -10,9 +10,9 @@ def main(args: argparse.Namespace):
...
@@ -10,9 +10,9 @@ def main(args: argparse.Namespace):
server
,
frontend
=
init_local_server_and_frontend_with_arguments
(
args
)
server
,
frontend
=
init_local_server_and_frontend_with_arguments
(
args
)
# Test the following inputs.
# Test the following inputs.
test_inputs
=
[
test_inputs
=
[
(
'Ion Stoica is a'
,
{
'n'
:
4
,
'use_beam_search'
:
True
,
'temperature'
:
0.0
}),
(
"A robot may not injure a human being"
,
{}),
# Use default parameters.
(
'UC Berkeley is'
,
{
'n'
:
3
,
'
temperature
'
:
0.8
,
'
top_p
'
:
0.99
}),
(
"What is the meaning of life?"
,
{
"n"
:
3
,
"
temperature
"
:
0.8
,
"
top_p
"
:
0.99
}),
(
'The future of cloud computing is'
,
{}),
# Use default parameters.
(
"It is only with the heart that one can see rightly"
,
{
"n"
:
4
,
"use_beam_search"
:
True
,
"temperature"
:
0.0
}),
]
]
while
True
:
while
True
:
if
test_inputs
:
if
test_inputs
:
...
...
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