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
54ab90dd
Commit
54ab90dd
authored
Aug 01, 2025
by
zhuwenwen
Browse files
remove num_speculative_tokens init val
parent
b8b722eb
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/utils.py
vllm/v1/attention/backends/utils.py
+1
-1
No files found.
vllm/v1/attention/backends/utils.py
View file @
54ab90dd
...
@@ -55,7 +55,7 @@ class CommonAttentionMetadata:
...
@@ -55,7 +55,7 @@ class CommonAttentionMetadata:
"""Longest query in batch"""
"""Longest query in batch"""
num_rejected_tokens
:
list
[
int
]
num_rejected_tokens
:
list
[
int
]
"""(batch_size,), record the rejected tokens number in cpu and gpu"""
"""(batch_size,), record the rejected tokens number in cpu and gpu"""
num_speculative_tokens
:
int
=
0
num_speculative_tokens
:
int
"""Number of speculative tokens"""
"""Number of speculative tokens"""
block_table_tensor
:
torch
.
Tensor
block_table_tensor
:
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