Skip to content

Commit 32bb1da

Browse files
AmdSampsanaromero77amd
authored andcommitted
pointwise autotuning returnz (#2636)
removed the (erroneous?) check that disables autotuning for pointwise kernels (cherry picked from commit e3b8e25) (cherry picked from commit 10af207)
1 parent e0cb184 commit 32bb1da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/_inductor/runtime/triton_heuristics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2589,7 +2589,7 @@ def pointwise(
25892589
]
25902590
if len(size_hints) == 2:
25912591
if (
2592-
disable_pointwise_autotuning(inductor_meta) or tile_hint == TileHint.SQUARE
2592+
disable_pointwise_autotuning(inductor_meta) # or tile_hint == TileHint.SQUARE
25932593
) and not (
25942594
inductor_meta.get("max_autotune")
25952595
or inductor_meta.get("max_autotune_pointwise")

0 commit comments

Comments
 (0)