=============
Flow Matching
=============

`flow_matching` is a PyTorch library for implementing flow matching algorithms, featuring state-of-the-art continuous and discrete implementations. It includes practical examples for both text and image modalities. This repository is part of `Flow Matching Guide and Codebase <https://arxiv.org/abs/2412.06264>`_.

.. image:: _images/teaser.png
  :width: 800
  :align: center


Table of contents
-----------------

.. toctree::
   :maxdepth: 1

   modules
   installation
   notebooks
   references

Code index
==================

* :ref:`genindex`
* :ref:`search`

Legal
-----------------

* `Terms of Use <https://opensource.fb.com/legal/terms>`_
* `Privacy Policy <https://opensource.fb.com/legal/privacy>`_
