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
0e922986
Unverified
Commit
0e922986
authored
Feb 04, 2026
by
Lucas Wilkinson
Committed by
GitHub
Feb 04, 2026
Browse files
[Misc] Delay deprecation of CommonAttentionMetadata properties (#33801)
Signed-off-by:
Lucas Wilkinson
<
lwilkins@redhat.com
>
parent
87d9a261
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/v1/attention/backend.py
vllm/v1/attention/backend.py
+2
-2
No files found.
vllm/v1/attention/backend.py
View file @
0e922986
...
@@ -347,7 +347,7 @@ class CommonAttentionMetadata:
...
@@ -347,7 +347,7 @@ class CommonAttentionMetadata:
"""
"""
Prefer using device seq_lens directly to avoid implicit H<>D sync.
Prefer using device seq_lens directly to avoid implicit H<>D sync.
If a CPU copy is needed, use `seq_lens.cpu()` instead.
If a CPU copy is needed, use `seq_lens.cpu()` instead.
Will be removed in a future release
(v0.15.0)
Will be removed in a future release
, please migrate as soon as possible.
"""
"""
)
)
def
seq_lens_cpu
(
self
)
->
torch
.
Tensor
:
def
seq_lens_cpu
(
self
)
->
torch
.
Tensor
:
...
@@ -361,7 +361,7 @@ class CommonAttentionMetadata:
...
@@ -361,7 +361,7 @@ class CommonAttentionMetadata:
Prefer using device seq_lens directly to avoid implicit H<>D sync which breaks full
Prefer using device seq_lens directly to avoid implicit H<>D sync which breaks full
async scheduling. If a CPU copy is needed, it can be derived from
async scheduling. If a CPU copy is needed, it can be derived from
query_start_loc_cpu and seq_lens.
query_start_loc_cpu and seq_lens.
Will be removed in a future release
(v0.15.0)
Will be removed in a future release
, please migrate as soon as possible.
"""
"""
)
)
def
num_computed_tokens_cpu
(
self
)
->
torch
.
Tensor
:
def
num_computed_tokens_cpu
(
self
)
->
torch
.
Tensor
:
...
...
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