8000 try setting layout_opt_default=0 · pytorch/pytorch@1b53ad0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1b53ad0

Browse files
committed
try setting layout_opt_default=0
1 parent 46d5d18 commit 1b53ad0

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
@@ -476,7 +476,7 @@ def use_autoheuristic(name: str) -> bool:
476476
)
477477

478478
# Disabled by default on ROCm, opt-in if model utilises NHWC convolutions
479-
layout_opt_default = "1" if not torch.version.hip else "0"
479+
layout_opt_default = "0"
480480
layout_optimization = (
481481
os.environ.get("TORCHINDUCTOR_LAYOUT_OPTIMIZATION", layout_opt_default) == "1"
482482
)

0 commit comments

Comments
 (0)
0