.. currentmodule:: torch.compiler

.. automodule:: torch.compiler

.. _torch.compiler_api:

torch.compiler API reference
============================

For a quick overview of ``torch.compiler``, see :ref:`torch.compiler_overview`.

.. autosummary::
    :toctree: generated
    :nosignatures:

     compile
     reset
     allow_in_graph
     substitute_in_graph
     assume_constant_result
     list_backends
     disable
     cudagraph_mark_step_begin
     is_compiling
     is_dynamo_compiling
