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
5e77b44f
Commit
5e77b44f
authored
Mar 04, 2026
by
王敏
Browse files
恢复误删代码
parent
586f0eba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
vllm/v1/worker/gpu_model_runner.py
vllm/v1/worker/gpu_model_runner.py
+4
-0
No files found.
vllm/v1/worker/gpu_model_runner.py
View file @
5e77b44f
...
@@ -5538,6 +5538,10 @@ class GPUModelRunner(
...
@@ -5538,6 +5538,10 @@ class GPUModelRunner(
ValueError: If no valid block size found
ValueError: If no valid block size found
"""
"""
#exclude indexer backend
def
_participates_in_block_size_selection
(
backend
:
type
[
AttentionBackend
])
->
bool
:
return
not
getattr
(
backend
,
"exclude_from_block_size_selection"
,
False
)
def
block_size_is_supported
(
def
block_size_is_supported
(
backends
:
list
[
type
[
AttentionBackend
]],
block_size
:
int
backends
:
list
[
type
[
AttentionBackend
]],
block_size
:
int
)
->
bool
:
)
->
bool
:
...
...
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