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
a54eca71
Commit
a54eca71
authored
Mar 24, 2025
by
zhuwenwen
Browse files
update triton_mla.py
parent
30e0b082
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/attention/backends/triton_mla.py
vllm/attention/backends/triton_mla.py
+2
-2
No files found.
vllm/attention/backends/triton_mla.py
View file @
a54eca71
...
...
@@ -8,7 +8,7 @@ from itertools import accumulate
from
typing
import
TYPE_CHECKING
,
Any
,
Dict
,
List
,
Optional
,
Tuple
,
Type
from
vllm.multimodal
import
MultiModalPlaceholderMap
from
.triton_config
import
get_nearest_config
,
get_attention_mla_configs
,
get_config
from
.triton_config
import
get_nearest_config
,
get_attention_mla_configs
,
get_config
,
get_attention_mla_configs_json
try
:
from
flashinfer
import
BatchDecodeMlaWithPagedKVCacheWrapper
...
...
@@ -687,7 +687,7 @@ class TritonMLAImpl(MLACommonImpl[TritonMLAMetadata]):
"are not implemented for "
"TritonMLAImpl"
)
self
.
attn_configs
=
get_attention_mla_configs
(
self
.
num_heads
,
1
,
self
.
kv_lora_rank
+
self
.
qk_rope_head_dim
,
self
.
kv_lora_rank
,
"fp16"
)
self
.
attn_configs
=
get_attention_mla_configs
_json
(
self
.
num_heads
,
1
,
self
.
kv_lora_rank
+
self
.
qk_rope_head_dim
,
self
.
kv_lora_rank
,
"fp16"
)
def
_forward_prefill
(
self
,
...
...
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