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
12e6c0b4
Unverified
Commit
12e6c0b4
authored
May 13, 2025
by
Michael Goin
Committed by
GitHub
May 13, 2025
Browse files
[Bugfix][V1] Fix FlashInfer V1 backend using the wrong VllmConfig (#18086)
parent
9a2a6357
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
vllm/v1/attention/backends/flashinfer.py
vllm/v1/attention/backends/flashinfer.py
+2
-3
No files found.
vllm/v1/attention/backends/flashinfer.py
View file @
12e6c0b4
...
...
@@ -14,8 +14,7 @@ import vllm.envs as envs
from
vllm.attention.backends.abstract
import
(
AttentionBackend
,
AttentionImpl
,
AttentionType
)
from
vllm.attention.layer
import
Attention
from
vllm.config
import
(
VllmConfig
,
get_current_vllm_config
,
get_layers_from_vllm_config
)
from
vllm.config
import
VllmConfig
,
get_layers_from_vllm_config
from
vllm.logger
import
init_logger
from
vllm.v1.attention.backends.flash_attn
import
use_cascade_attention
from
vllm.v1.attention.backends.utils
import
CommonAttentionMetadata
...
...
@@ -215,7 +214,7 @@ class FlashInferMetadataBuilder:
# Global hyperparameters shared by all attention layers
self
.
global_hyperparameters
:
Optional
[
PerLayerParameters
]
=
None
self
.
vllm_config
=
get_current_
vllm_config
()
self
.
vllm_config
=
runner
.
vllm_config
self
.
kv_cache_spec
=
kv_cache_spec
self
.
block_table
=
block_table
...
...
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