Skip to content

Commit dc35ad2

Browse files
Mogballwhitneywhtsang
authored andcommitted
[Warp Specialization] Separate partitioning into a separate pass (#6876)
1 parent 6451e28 commit dc35ad2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/tutorials/06-fused-attention.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ def _host_descriptor_pre_hook(nargs):
100100
if is_hip():
101101
NUM_STAGES_OPTIONS = [1]
102102
elif supports_host_descriptor():
103-
NUM_STAGES_OPTIONS = [3, 4, 5]
103+
NUM_STAGES_OPTIONS = [2, 3, 4, 5]
104104
else:
105-
NUM_STAGES_OPTIONS = [3, 4, 7]
105+
NUM_STAGES_OPTIONS = [2, 3, 4, 7]
106106

107107
configs = [
108108
triton.Config({'BLOCK_M': BM, 'BLOCK_N': BN}, num_stages=s, num_warps=w, pre_hook=_host_descriptor_pre_hook) \

0 commit comments

Comments
 (0)