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
e658bf7f
Commit
e658bf7f
authored
Aug 13, 2024
by
zhuwenwen
Browse files
update prefix_prefill params
parent
675bceed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/attention/ops/prefix_prefill.py
vllm/attention/ops/prefix_prefill.py
+1
-1
No files found.
vllm/attention/ops/prefix_prefill.py
View file @
e658bf7f
...
@@ -686,7 +686,7 @@ if triton.__version__ >= "2.1.0":
...
@@ -686,7 +686,7 @@ if triton.__version__ >= "2.1.0":
sliding_window
=
None
):
sliding_window
=
None
):
cap
=
current_platform
.
get_device_capability
()
cap
=
current_platform
.
get_device_capability
()
BLOCK
=
128
if
cap
[
0
]
>=
8
else
32
BLOCK
=
32
if
cap
[
0
]
>=
8
else
32
# need to reduce num. blocks when using fp32
# need to reduce num. blocks when using fp32
# due to increased use of GPU shared memory
# due to increased use of GPU shared memory
...
...
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