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
f7f9e41b
Unverified
Commit
f7f9e41b
authored
Nov 01, 2025
by
Ke Bao
Committed by
GitHub
Nov 01, 2025
Browse files
Fix run benchmark (#12473)
parent
263eab9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
python/sglang/bench_serving.py
python/sglang/bench_serving.py
+3
-0
No files found.
python/sglang/bench_serving.py
View file @
f7f9e41b
...
@@ -2162,6 +2162,9 @@ def run_benchmark(args_: argparse.Namespace):
...
@@ -2162,6 +2162,9 @@ def run_benchmark(args_: argparse.Namespace):
if
not
hasattr
(
args
,
"mooncake_num_rounds"
):
if
not
hasattr
(
args
,
"mooncake_num_rounds"
):
args
.
mooncake_num_rounds
=
1
args
.
mooncake_num_rounds
=
1
if
not
hasattr
(
args
,
"served_model_name"
):
args
.
served_model_name
=
None
print
(
f
"benchmark_args=
{
args
}
"
)
print
(
f
"benchmark_args=
{
args
}
"
)
# Set global environments
# Set global environments
...
...
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