Skip to content

Commit c634774

Browse files
committed
Update on "Add tutorial about inductor caching"
[ghstack-poisoned]
1 parent 502bb91 commit c634774

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

recipes_source/recipes_index.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,15 @@ Recipes are bite-sized, actionable examples of how to use specific PyTorch featu
317317
:link: ../recipes/torch_compile_user_defined_triton_kernel_tutorial.html
318318
:tags: Model-Optimization
319319

320+
.. Compile Time Caching in ``torch.compile``
321+
322+
.. customcarditem::
323+
:header: Compile Time Caching in ``torch.compile``
324+
:card_description: Learn how to configure compile time caching in ``torch.compile``
325+
:image: ../_static/img/thumbnails/cropped/generic-pytorch-logo.png
326+
:link: ../recipes/torch_compile_caching_tutorial.html
327+
:tags: Model-Optimization
328+
320329
.. Intel(R) Extension for PyTorch*
321330
322331
.. customcarditem::

recipes_source/torch_compile_caching_tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Compile Time Caching in ``torch.compile``
22
=========================================================
3-
**Author:** `Oguz Ulgen <https://github.com/oulgen>`_ and `Sam Larsen <https://github.com/masnesral>`_
3+
**Authors:** `Oguz Ulgen <https://github.com/oulgen>`_ and `Sam Larsen <https://github.com/masnesral>`_
44

55
Introduction
66
------------------
@@ -21,7 +21,7 @@ Before starting this recipe, make sure that you have the following:
2121
* PyTorch 2.4 or later
2222

2323
Inductor Cache Settings
24-
--------------------
24+
----------------------------
2525

2626
Most of these caches are in-memory, only used within the same process, and are transparent to the user. An exception is the FX graph cache that stores compiled FX graphs. This cache allows Inductor to avoid recompilation across process boundaries when it encounters the same graph with the same Tensor input shapes (and the same configuration, etc.). The default implementation stores compiled artifacts in the system temp directory. An optional feature also supports sharing those artifacts within a cluster by storing them in Redis.
2727

0 commit comments

Comments
 (0)