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
14945681
"examples/vscode:/vscode.git/clone" did not exist on "41ae4a1eab22b332cd7d8f233f09611a5da53b1c"
Commit
14945681
authored
Jun 21, 2025
by
zhuwenwen
Browse files
only K100_AI can use cutlass prefix cache
parent
bbd14169
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/attention/backends/rocm_flash_attn.py
vllm/attention/backends/rocm_flash_attn.py
+1
-1
No files found.
vllm/attention/backends/rocm_flash_attn.py
View file @
14945681
...
@@ -857,7 +857,7 @@ class ROCmFlashAttentionImpl(AttentionImpl):
...
@@ -857,7 +857,7 @@ class ROCmFlashAttentionImpl(AttentionImpl):
else
:
else
:
# prefix-enabled attention -
# prefix-enabled attention -
# not applicable for encoder-only models
# not applicable for encoder-only models
if
envs
.
VLLM_USE_TRITON_PREFIX_FLASH_ATTN
or
gpuname
.
startswith
(
'
BW'
):
if
envs
.
VLLM_USE_TRITON_PREFIX_FLASH_ATTN
or
(
not
gpuname
.
startswith
(
'
K100_AI'
)
):
version_key
=
triton_key
()
version_key
=
triton_key
()
if
self
.
attn_type
!=
AttentionType
.
ENCODER_ONLY
:
if
self
.
attn_type
!=
AttentionType
.
ENCODER_ONLY
:
output
[:
num_prefill_tokens
]
=
paged_attn
.
forward_prefix
(
output
[:
num_prefill_tokens
]
=
paged_attn
.
forward_prefix
(
...
...
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