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
11ac9ddd
Unverified
Commit
11ac9ddd
authored
Nov 12, 2025
by
Yong Hoon Shin
Committed by
GitHub
Nov 13, 2025
Browse files
Support all interleaved layer types (#28485)
Signed-off-by:
Yong Hoon Shin
<
yhshin@meta.com
>
parent
5c9ad138
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
vllm/transformers_utils/config.py
vllm/transformers_utils/config.py
+1
-2
No files found.
vllm/transformers_utils/config.py
View file @
11ac9ddd
...
@@ -472,8 +472,7 @@ def is_interleaved(config: PretrainedConfig) -> bool:
...
@@ -472,8 +472,7 @@ def is_interleaved(config: PretrainedConfig) -> bool:
"""
"""
text_config
=
config
.
get_text_config
()
text_config
=
config
.
get_text_config
()
if
layer_types
:
=
getattr
(
text_config
,
"layer_types"
,
None
):
if
layer_types
:
=
getattr
(
text_config
,
"layer_types"
,
None
):
interleaved_types
=
{
"full_attention"
,
"sliding_attention"
}
return
len
(
set
(
layer_types
))
>
1
return
interleaved_types
.
issubset
(
layer_types
)
return
False
return
False
...
...
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