Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion recipes_source/regional_compilation.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
============================================================================

**Author:** `Animesh Jain <https://github.com/anijain2305>`_

As deep learning models get larger, the compilation time of these models also
increases. This extended compilation time can result in a large startup time in
inference services or wasted resources in large-scale training. This recipe
Expand All @@ -23,7 +24,7 @@

pip install torch

.. note::
.. note::
This feature is available starting with the 2.5 release. If you are using version 2.4,
you can enable the configuration flag ``torch._dynamo.config.inline_inbuilt_nn_modules=True``
to prevent recompilations during regional compilation. In version 2.5, this flag is enabled by default.
Expand Down
Loading