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
33290303
Commit
33290303
authored
Aug 14, 2024
by
zhuwenwen
Browse files
update the configuration of triton fa
parent
e658bf7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/attention/ops/flash_attn_triton_mqa_gqa.py
vllm/attention/ops/flash_attn_triton_mqa_gqa.py
+1
-1
No files found.
vllm/attention/ops/flash_attn_triton_mqa_gqa.py
View file @
33290303
...
@@ -311,7 +311,7 @@ def _attn_fwd_inner(
...
@@ -311,7 +311,7 @@ def _attn_fwd_inner(
triton
.
Config
({
'BLOCK_M'
:
32
,
'BLOCK_N'
:
32
,
'waves_per_eu'
:
0
,
'PRE_LOAD_V'
:
False
},
num_stages
=
1
,
num_warps
=
8
),
triton
.
Config
({
'BLOCK_M'
:
32
,
'BLOCK_N'
:
32
,
'waves_per_eu'
:
0
,
'PRE_LOAD_V'
:
False
},
num_stages
=
1
,
num_warps
=
8
),
# TODO: This config fails with head_size not pow2 with data mismatches. Check why.
# TODO: This config fails with head_size not pow2 with data mismatches. Check why.
# triton.Config({'BLOCK_M': 32, 'BLOCK_N': 16, 'waves_per_eu': 1, 'PRE_LOAD_V': False}, num_stages=1, num_warps=4),
# triton.Config({'BLOCK_M': 32, 'BLOCK_N': 16, 'waves_per_eu': 1, 'PRE_LOAD_V': False}, num_stages=1, num_warps=4),
triton
.
Config
({
'BLOCK_M'
:
16
,
'BLOCK_N'
:
16
,
'waves_per_eu'
:
0
,
'PRE_LOAD_V'
:
False
},
num_stages
=
1
,
num_warps
=
4
),
#
triton.Config({'BLOCK_M': 16, 'BLOCK_N': 16, 'waves_per_eu': 0, 'PRE_LOAD_V': False}, num_stages=1, num_warps=4),
],
],
key
=
[
'IS_CAUSAL'
,
'dropout_p'
,
'BLOCK_DMODEL'
],
key
=
[
'IS_CAUSAL'
,
'dropout_p'
,
'BLOCK_DMODEL'
],
# use_cuda_graph=True,
# use_cuda_graph=True,
...
...
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