Enable C++ dynamic shape guards by default (#140756)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/140756
Approved by: https://github.com/anijain2305
ghstack dependencies: #149149, #149197, #149211
This commit is contained in:
Isuru Fernando 2025-04-02 22:07:39 +00:00 committed by PyTorch MergeBot
parent 1843ad458d
commit c1d503529d

View File

@ -396,7 +396,7 @@ use_numpy_random_stream = False
enable_cpp_guard_manager = True
# Use C++ guard manger for symbolic shapes
enable_cpp_symbolic_shape_guards = False
enable_cpp_symbolic_shape_guards = not is_fbcode()
# Enable tracing through contextlib.contextmanager
enable_trace_contextlib = True