Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
4b1ff132
Unverified
Commit
4b1ff132
authored
Nov 07, 2025
by
Wentao Ye
Committed by
GitHub
Nov 07, 2025
Browse files
[Feature] Default `ignore_eos` True for `random` dataset (#28227)
Signed-off-by:
yewentao256
<
zhyanwentao@126.com
>
parent
e0d6b4a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
vllm/benchmarks/serve.py
vllm/benchmarks/serve.py
+8
-0
No files found.
vllm/benchmarks/serve.py
View file @
4b1ff132
...
@@ -1359,6 +1359,14 @@ async def main_async(args: argparse.Namespace) -> dict[str, Any]:
...
@@ -1359,6 +1359,14 @@ async def main_async(args: argparse.Namespace) -> dict[str, Any]:
"'--dataset-path' if required."
"'--dataset-path' if required."
)
)
# when using random datasets, default to ignoring EOS
# so generation runs to the requested length
if
(
args
.
dataset_name
in
(
"random"
,
"random-mm"
)
and
args
.
backend
in
OPENAI_COMPATIBLE_BACKENDS
):
args
.
ignore_eos
=
True
# Load the dataset.
# Load the dataset.
input_requests
=
get_samples
(
args
,
tokenizer
)
input_requests
=
get_samples
(
args
,
tokenizer
)
goodput_config_dict
=
check_goodput_args
(
args
)
goodput_config_dict
=
check_goodput_args
(
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