Skip to content

Commit cd83677

Browse files
committed
lint fix
1 parent 870823c commit cd83677

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

python/tvm/contrib/cutlass/gen_conv2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def profile(
128128
If profile_all is False, return immediately after the first applicable kernel is found.
129129
If use_multiprocessing is True, compile all profiler executables in parallel.
130130
"""
131-
B, H, W, IC = d_shape
131+
B, _, _, IC = d_shape
132132
OC, R, S, _ = w_shape
133133
_, P, Q, _ = out_shape
134134

python/tvm/contrib/cutlass/gen_tensor_op.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ def get_tile_descriptions(math_inst):
136136
TileDescription([128, 256, 32], 3, [2, 4, 1], math_inst, min_cc, max_cc),
137137
TileDescription([256, 64, 32], 4, [4, 1, 1], math_inst, min_cc, max_cc),
138138
TileDescription([64, 256, 32], 4, [1, 4, 1], math_inst, min_cc, max_cc),
139-
TileDescription([128, 128, 32], 2, [2, 2, 1], math_inst, min_cc, max_cc),
140139
TileDescription([128, 128, 32], 3, [2, 2, 1], math_inst, min_cc, max_cc),
141140
TileDescription([128, 128, 32], 4, [2, 2, 1], math_inst, min_cc, max_cc),
142141
TileDescription([128, 128, 32], 5, [2, 2, 1], math_inst, min_cc, max_cc),

python/tvm/relay/op/contrib/cutlass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def check_batch_matmul(call):
8787
rhs = batch_matmul.args[1].checked_type
8888
transpose_a = batch_matmul.attrs.transpose_a
8989
transpose_b = batch_matmul.attrs.transpose_b
90-
return check_dtype(lhs, rhs) and transpose_a == False and transpose_b == True
90+
return check_dtype(lhs, rhs) and not transpose_a and transpose_b
9191

9292

9393
def check_conv2d(call):

0 commit comments

Comments
 (0)