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
bd95944c
Unverified
Commit
bd95944c
authored
Sep 27, 2025
by
Muqi Li
Committed by
GitHub
Sep 26, 2025
Browse files
[Bugfix][Minor][Benchmark] Fix some bugs due to PR #10495 (#10982)
parent
c8a5d12a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/bench_serving.py
python/sglang/bench_serving.py
+1
-1
No files found.
python/sglang/bench_serving.py
View file @
bd95944c
...
@@ -668,7 +668,7 @@ def get_dataset(args, tokenizer):
...
@@ -668,7 +668,7 @@ def get_dataset(args, tokenizer):
num_prompts
=
args
.
num_prompts
,
num_prompts
=
args
.
num_prompts
,
range_ratio
=
args
.
random_range_ratio
,
range_ratio
=
args
.
random_range_ratio
,
tokenizer
=
tokenizer
,
tokenizer
=
tokenizer
,
dataset_path
=
args
.
dataset_
name
,
dataset_path
=
args
.
dataset_
path
,
random_sample
=
args
.
dataset_name
==
"random"
,
random_sample
=
args
.
dataset_name
==
"random"
,
return_text
=
not
tokenize_prompt
,
return_text
=
not
tokenize_prompt
,
)
)
...
...
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