mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
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:
parent
1843ad458d
commit
c1d503529d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user