Skip to content

Commit bbd048b

Browse files
committed
Fix bug to renable reduction tuning (PART 2)
(cherry picked from commit fbb2d85)
1 parent 821a208 commit bbd048b

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
@@ -2541,7 +2541,7 @@ def make_config(x, r, num_warps=None, num_stages=1, register_intensive=False, wa
25412541

25422542
result_configs = []
25432543

2544-
if not (max_autotune or "y" in size_hints):
2544+
if not (max_autotune_enabled or "y" in size_hints):
25452545
if reduction_hint == ReductionHint.INNER:
25462546
result_configs = [contiguous_config]
25472547
elif reduction_hint == ReductionHint.OUTER:

0 commit comments

Comments
 (0)