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
a7e3c9d6
Commit
a7e3c9d6
authored
Oct 18, 2024
by
zhangshao
Browse files
删除v2 8192限制
parent
e2bd7e16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/attention/ops/paged_attn.py
vllm/attention/ops/paged_attn.py
+1
-1
No files found.
vllm/attention/ops/paged_attn.py
View file @
a7e3c9d6
...
...
@@ -227,7 +227,7 @@ class PagedAttention:
print
(
f
"num_kv_heads =
{
num_kv_heads
}
, scale =
{
scale
:.
3
f
}
, block_tables.shape =
{
block_tables
.
shape
}
, seq_lens.shape =
{
seq_lens
.
shape
}
, block_size =
{
block_size
}
, max_seq_len =
{
max_seq_len
}
"
)
if
envs
.
VLLM_USE_OPT_OP
:
if
envs
.
VLLM_USE_TC_PAGED_ATTN
and
max_seq_len
<
8192
:
if
envs
.
VLLM_USE_TC_PAGED_ATTN
:
ops
.
paged_attention_v2_opt_tc
(
output
,
exp_sums
,
...
...
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