Skip to content

Commit cd31297

Browse files
authored
Fix formatting (#3096)
1 parent b58fc30 commit cd31297

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

recipes_source/regional_compilation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
============================================================================
44
55
**Author:** `Animesh Jain <https://github.com/anijain2305>`_
6+
67
As deep learning models get larger, the compilation time of these models also
78
increases. This extended compilation time can result in a large startup time in
89
inference services or wasted resources in large-scale training. This recipe
@@ -23,7 +24,7 @@
2324
2425
pip install torch
2526
26-
.. note::
27+
.. note::
2728
This feature is available starting with the 2.5 release. If you are using version 2.4,
2829
you can enable the configuration flag ``torch._dynamo.config.inline_inbuilt_nn_modules=True``
2930
to prevent recompilations during regional compilation. In version 2.5, this flag is enabled by default.

0 commit comments

Comments
 (0)