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
65197a5f
Unverified
Commit
65197a5f
authored
Aug 23, 2025
by
Jee Jee Li
Committed by
GitHub
Aug 23, 2025
Browse files
[Misc] Modify CacheConfig import (#23459)
Signed-off-by:
Jee Jee Li
<
pandaleefree@gmail.com
>
parent
b8f17f5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/attention/layers/encoder_only_attention.py
vllm/attention/layers/encoder_only_attention.py
+1
-1
No files found.
vllm/attention/layers/encoder_only_attention.py
View file @
65197a5f
...
@@ -5,13 +5,13 @@ from copy import copy
...
@@ -5,13 +5,13 @@ from copy import copy
from
typing
import
Optional
from
typing
import
Optional
import
torch
import
torch
from
transformers
import
CacheConfig
from
vllm
import
envs
from
vllm
import
envs
from
vllm.attention.backends.abstract
import
(
AttentionBackend
,
from
vllm.attention.backends.abstract
import
(
AttentionBackend
,
AttentionMetadata
,
AttentionType
)
AttentionMetadata
,
AttentionType
)
from
vllm.attention.layer
import
Attention
from
vllm.attention.layer
import
Attention
from
vllm.attention.selector
import
get_attn_backend
from
vllm.attention.selector
import
get_attn_backend
from
vllm.config
import
CacheConfig
from
vllm.v1.attention.backends.utils
import
(
CommonAttentionMetadata
,
from
vllm.v1.attention.backends.utils
import
(
CommonAttentionMetadata
,
subclass_attention_backend
)
subclass_attention_backend
)
...
...
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