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
change
sglang
Commits
25c50498
Unverified
Commit
25c50498
authored
Oct 30, 2025
by
fzyzcjy
Committed by
GitHub
Oct 30, 2025
Browse files
Super tiny add tag for benchmark scripts (#12340)
parent
8e2ac2e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
python/sglang/bench_serving.py
python/sglang/bench_serving.py
+4
-0
No files found.
python/sglang/bench_serving.py
View file @
25c50498
...
@@ -2033,6 +2033,7 @@ async def benchmark(
...
@@ -2033,6 +2033,7 @@ async def benchmark(
):
):
result
=
{
result
=
{
# Arguments
# Arguments
"tag"
:
args
.
tag
,
"backend"
:
args
.
backend
,
"backend"
:
args
.
backend
,
"dataset_name"
:
args
.
dataset_name
,
"dataset_name"
:
args
.
dataset_name
,
"request_rate"
:
"trace"
if
use_trace_timestamps
else
request_rate
,
"request_rate"
:
"trace"
if
use_trace_timestamps
else
request_rate
,
...
@@ -2627,5 +2628,8 @@ if __name__ == "__main__":
...
@@ -2627,5 +2628,8 @@ if __name__ == "__main__":
],
],
help
=
"Underlying workload for the mooncake dataset."
,
help
=
"Underlying workload for the mooncake dataset."
,
)
)
parser
.
add_argument
(
"--tag"
,
type
=
str
,
default
=
None
,
help
=
"The tag to be dumped to output."
)
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
run_benchmark
(
args
)
run_benchmark
(
args
)
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