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
zhaoyu6
sglang
Commits
09798b36
"vscode:/vscode.git/clone" did not exist on "adc01cd76ae0d9d3b2e8dde3ec6bf4086f7da046"
Unverified
Commit
09798b36
authored
Nov 27, 2024
by
Lianmin Zheng
Committed by
GitHub
Nov 27, 2024
Browse files
Fix chunked prefill size for bench_offline_throughput (#2234)
parent
b79fffdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/server_args.py
python/sglang/srt/server_args.py
+1
-1
No files found.
python/sglang/srt/server_args.py
View file @
09798b36
...
@@ -144,7 +144,7 @@ class ServerArgs:
...
@@ -144,7 +144,7 @@ class ServerArgs:
if
self
.
served_model_name
is
None
:
if
self
.
served_model_name
is
None
:
self
.
served_model_name
=
self
.
model_path
self
.
served_model_name
=
self
.
model_path
if
self
.
chunked_prefill_size
<=
0
:
if
self
.
chunked_prefill_size
is
not
None
and
self
.
chunked_prefill_size
<=
0
:
# Disable chunked prefill
# Disable chunked prefill
self
.
chunked_prefill_size
=
None
self
.
chunked_prefill_size
=
None
...
...
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