
Welcome to xFormers's documentation!
=====================================

*xFormers* is a PyTorch based library which hosts flexible Transformers parts.
They are interoperable and optimized building blocks, which can be optionally be combined
to create some state of the art models.

.. toctree::
   :maxdepth: 2
   :caption: Index
   :hidden:

   what_is_xformers

|
|

.. toctree::
   :maxdepth: 2
   :caption: Components Documentation

   components/index

|
|

.. toctree::
   :maxdepth: 2
   :caption: Build models and blocks programatically

   factory/index

|
|

.. toctree::
   :maxdepth: 2
   :caption: Tutorials and examples

   tutorials/index

|
|

.. toctree::
   :maxdepth: 2
   :caption: Some custom parts

   custom_parts/index

|
|
