Skip to content

Commit e1e3bbc

Browse files
bobrenjc93pytorchmergebot
authored andcommitted
Set capture_autograd_function=False by default (pytorch#141932)
pytorch#136959 cleaned up the flag and added a warning. @Chillee pointed out that we should really default this flag to false otherwise we subject all users that go down this code path to log spew. Pull Request resolved: pytorch#141932 Approved by: https://github.com/jansel
1 parent e499b46 commit e1e3bbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/_dynamo/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ def default_debug_dir_root():
428428
only_allow_pt2_compliant_ops = False
429429

430430
# This flag is ignored and maintained for backwards compatibility.
431-
capture_autograd_function = True
431+
capture_autograd_function = False
432432

433433
# This flag is ignored and maintained for backwards compatbility.
434434
capture_func_transforms = True

0 commit comments

Comments
 (0)