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
43710e8d
Unverified
Commit
43710e8d
authored
Jun 26, 2023
by
Zhuohan Li
Committed by
GitHub
Jun 26, 2023
Browse files
[Fix] Fix default port number in benchmark scripts (#265)
parent
526df28f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
benchmarks/benchmark_serving.py
benchmarks/benchmark_serving.py
+1
-1
benchmarks/launch_tgi_server.sh
benchmarks/launch_tgi_server.sh
+1
-1
No files found.
benchmarks/benchmark_serving.py
View file @
43710e8d
...
@@ -217,7 +217,7 @@ if __name__ == "__main__":
...
@@ -217,7 +217,7 @@ if __name__ == "__main__":
parser
.
add_argument
(
"--backend"
,
type
=
str
,
default
=
"vllm"
,
parser
.
add_argument
(
"--backend"
,
type
=
str
,
default
=
"vllm"
,
choices
=
[
"vllm"
,
"tgi"
])
choices
=
[
"vllm"
,
"tgi"
])
parser
.
add_argument
(
"--host"
,
type
=
str
,
default
=
"localhost"
)
parser
.
add_argument
(
"--host"
,
type
=
str
,
default
=
"localhost"
)
parser
.
add_argument
(
"--port"
,
type
=
int
,
default
=
800
1
)
parser
.
add_argument
(
"--port"
,
type
=
int
,
default
=
800
0
)
parser
.
add_argument
(
"--dataset"
,
type
=
str
,
required
=
True
,
parser
.
add_argument
(
"--dataset"
,
type
=
str
,
required
=
True
,
help
=
"Path to the dataset."
)
help
=
"Path to the dataset."
)
parser
.
add_argument
(
"--tokenizer"
,
type
=
str
,
required
=
True
,
parser
.
add_argument
(
"--tokenizer"
,
type
=
str
,
required
=
True
,
...
...
benchmarks/launch_tgi_server.sh
View file @
43710e8d
#!/bin/bash
#!/bin/bash
PORT
=
800
1
PORT
=
800
0
MODEL
=
$1
MODEL
=
$1
TOKENS
=
$2
TOKENS
=
$2
...
...
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