Skip to content

Commit f53a4ff

Browse files
authored
Merge branch 'main' into fix-moe-align-block
2 parents 72691dc + 722ebb5 commit f53a4ff

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/tilegym/ops/cutile/splitk_reduce.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ def splitk_reduce_kernel(
2828
S_kv: ConstInt,
2929
num_heads: ConstInt,
3030
head_dim: ConstInt,
31-
stride_att_b: ConstInt,
32-
stride_att_m: ConstInt,
33-
stride_att_s: ConstInt,
34-
stride_lse_rb: ConstInt,
35-
stride_lse_rm: ConstInt,
36-
stride_ob: ConstInt,
37-
stride_om: ConstInt,
3831
NUM_KV_SPLITS: ConstInt,
3932
NUM_KV_SPLITS_POW2: ConstInt,
4033
TILE_D: ConstInt,
@@ -124,10 +117,6 @@ def splitk_reduce(attn_splitk_out, lse_splitk_out, attn_out, S_kv, **kwargs):
124117
TILE_D = min(128, next_power_of_2(head_dim))
125118
NUM_KV_SPLITS_POW2 = next_power_of_2(NUM_KV_SPLITS)
126119

127-
stride_att_b, stride_att_m, stride_att_s, _ = attn_splitk_out.stride()
128-
stride_lse_rb, stride_lse_rm, _ = lse_splitk_out.stride()
129-
stride_ob, stride_om, _ = attn_out.stride()
130-
131120
# Determine if we should use dot product based on conditions
132121
USE_DOT = NUM_KV_SPLITS_POW2 >= 16
133122

@@ -147,13 +136,6 @@ def splitk_reduce(attn_splitk_out, lse_splitk_out, attn_out, S_kv, **kwargs):
147136
S_kv,
148137
num_heads,
149138
head_dim,
150-
stride_att_b,
151-
stride_att_m,
152-
stride_att_s,
153-
stride_lse_rb,
154-
stride_lse_rm,
155-
stride_ob,
156-
stride_om,
157139
NUM_KV_SPLITS,
158140
NUM_KV_SPLITS_POW2,
159141
TILE_D,

0 commit comments

Comments
 (0)