Skip to content

Commit 3dd863d

Browse files
AmdSampsajataylo
authored andcommitted
pointwise autotuning returnz (#2636)
removed the (erroneous?) check that disables autotuning for pointwise kernels (cherry picked from commit 247c218)
1 parent 809739f commit 3dd863d

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
@@ -2419,7 +2419,7 @@ def pointwise(
24192419
]
24202420
if len(size_hints) == 2:
24212421
if (
2422-
disable_pointwise_autotuning(inductor_meta) or tile_hint == TileHint.SQUARE
2422+
disable_pointwise_autotuning(inductor_meta) # or tile_hint == TileHint.SQUARE
24232423
) and not (
24242424
inductor_meta.get("max_autotune")
24252425
or inductor_meta.get("max_autotune_pointwise")

0 commit comments

Comments
 (0)