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
933cdea4
Unverified
Commit
933cdea4
authored
Oct 31, 2025
by
Huamin Li
Committed by
GitHub
Oct 31, 2025
Browse files
[BugFix] Don’t compute reorder threshold when there are no attention groups (#27861)
parent
3933f18a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
vllm/v1/worker/gpu_model_runner.py
vllm/v1/worker/gpu_model_runner.py
+5
-0
No files found.
vllm/v1/worker/gpu_model_runner.py
View file @
933cdea4
...
...
@@ -4149,6 +4149,11 @@ class GPUModelRunner(LoRAModelRunnerMixin, KVConnectorModelRunnerMixin):
group
.
get_metadata_builder
().
reorder_batch_threshold
for
group
in
self
.
_attn_group_iterator
()
]
# If there are no attention groups (attention-free model) or no backend
# reports a threshold, leave reordering disabled.
if
len
(
reorder_batch_thresholds
)
==
0
:
self
.
reorder_batch_threshold
=
None
return
self
.
reorder_batch_threshold
=
reduce
(
min_none_high
,
reorder_batch_thresholds
)
def
_find_compatible_block_sizes
(
...
...
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