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
"docs/zh/vscode:/vscode.git/clone" did not exist on "9d1ea5c2ea2b6b5e8077a485a3789a264e202d49"
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(
):
result
=
{
# Arguments
"tag"
:
args
.
tag
,
"backend"
:
args
.
backend
,
"dataset_name"
:
args
.
dataset_name
,
"request_rate"
:
"trace"
if
use_trace_timestamps
else
request_rate
,
...
...
@@ -2627,5 +2628,8 @@ if __name__ == "__main__":
],
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
()
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