Skip to content

Commit 135a22b

Browse files
tissue3facebook-github-bot
authored andcommitted
Back out "Flip triton kernel default layout constraint to "needs_fixed_stride_order" (#135581)"
Test Plan: make train-hstu-cint-publish-bf16-tgif-local Differential Revision: D62766335
1 parent c977bb7 commit 135a22b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/_inductor/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def autotune_remote_cache_default() -> Optional[bool]:
7474

7575
# The default layout constraint for user-defined triton kernels.
7676
# See "The default layout constraint for custom operators" for options.
77-
triton_kernel_default_layout_constraint = "needs_fixed_stride_order"
77+
triton_kernel_default_layout_constraint = "flexible_layout"
7878

7979
# use cpp wrapper instead of python wrapper
8080
cpp_wrapper = os.environ.get("TORCHINDUCTOR_CPP_WRAPPER", "0") == "1"

0 commit comments

Comments
 (0)