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
8df2dc3c
Unverified
Commit
8df2dc3c
authored
Sep 27, 2024
by
Brittany
Committed by
GitHub
Sep 27, 2024
Browse files
[TPU] Update pallas.py to support trillium (#8871)
parent
6d792d2f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/attention/backends/pallas.py
vllm/attention/backends/pallas.py
+1
-1
No files found.
vllm/attention/backends/pallas.py
View file @
8df2dc3c
...
...
@@ -130,7 +130,7 @@ class PallasAttentionBackendImpl(AttentionImpl):
assert
tpu_type
is
not
None
tpu_type
=
tpu_type
.
lower
()
if
"lite"
not
in
tpu_type
:
if
((
"lite"
not
in
tpu_type
)
and
(
"v6"
not
in
tpu_type
))
:
if
self
.
num_kv_heads
%
2
==
0
:
self
.
megacore_mode
=
"kv_head"
else
:
...
...
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