Skip to content

Commit 809739f

Browse files
committed
Update triton_heuristics.py
(cherry picked from commit 4377d1f)
1 parent 4d14b4b commit 809739f

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
@@ -2741,7 +2741,7 @@ def _persistent_reduction_configs(
27412741
triton_config_reduction(size_hints, xblock, rnumel, register_intensive=True)
27422742
for xblock in (1, 8, 32, 128)
27432743
if xblock == 1
2744-
or (xblock <= xnumel and (max_autotune_enabled or rnumel * xblock <= 4096))
2744+
or (xblock <= xnumel and rnumel * xblock <= 4096)
27452745
]
27462746
else:
27472747
configs = []

0 commit comments

Comments
 (0)