pytorch/docs/source/torch.compiler_api.rst
Svetlana Karslioglu 4d3ea5df65 Restructure torch.compile docs (#105376)
Current torch.compile docs have become a bit of a mess with the docs expanded in the left nav. This PR moves them under the torch.compiler menu item in the left nav. A bunch of rewrites were made in collaboration with @msaroufim to address formatting issues, latest updates that moved some of the APIs to the public torch.compiler namespace were addressed as well. The documentation is broken down in three categories that address three main audiences: PyTorch users, Pytorch Developers and PyTorch backend vendors. While, the user-facing documentation was significantly rewritten, dev docs and vendor docs kept mostly untouched. This can be addressed in the follow up PRs.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/105376
Approved by: https://github.com/msaroufim
2023-07-28 20:58:57 +00:00

22 lines
397 B
ReStructuredText

.. 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
assume_constant_result
list_backends
disable