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
716852ab
Commit
716852ab
authored
Aug 20, 2025
by
zhuwenwen
Browse files
update value_stride_order
parent
d8297312
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/v1/attention/backends/flash_attn.py
vllm/v1/attention/backends/flash_attn.py
+1
-1
No files found.
vllm/v1/attention/backends/flash_attn.py
View file @
716852ab
...
...
@@ -128,7 +128,7 @@ class FlashAttentionBackend(AttentionBackend):
cache_layout
=
get_kv_cache_layout
()
if
cache_layout
==
"NHD"
:
key_stride_order
=
(
0
,
1
,
2
,
3
)
value_stride_order
=
(
0
,
1
,
3
,
2
)
value_stride_order
=
(
0
,
1
,
2
,
3
)
elif
cache_layout
==
"HND"
:
key_stride_order
=
(
0
,
2
,
1
,
3
)
value_stride_order
=
(
0
,
3
,
1
,
2
)
...
...
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