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
1e3598ed
Unverified
Commit
1e3598ed
authored
Mar 07, 2025
by
iefgnoix
Committed by
GitHub
Mar 07, 2025
Browse files
Use the optimized block sizes after tuning the kernel. (#14329)
parent
f7a6bd0f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/v1/attention/backends/pallas.py
vllm/v1/attention/backends/pallas.py
+2
-2
No files found.
vllm/v1/attention/backends/pallas.py
View file @
1e3598ed
...
...
@@ -12,8 +12,8 @@ from vllm.attention.backends.abstract import (AttentionBackend, AttentionImpl,
from
vllm.attention.backends.utils
import
CommonAttentionState
# These are the 2 tunable parameters of the paged attention Pallas kernel.
NUM_QUERIES_PER_BLOCK
=
32
NUM_KV_PAGES_PER_BLOCK
=
128
NUM_QUERIES_PER_BLOCK
=
16
NUM_KV_PAGES_PER_BLOCK
=
256
class
PallasAttentionBackend
(
AttentionBackend
):
...
...
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