Flow Matching for Generative Modeling, a library by Meta Research for training continuous normalizing flows via flow matching objectives. Current version 1.0.10, supports Python >=3.9, actively maintained.
pip install flow-matchingNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal example: create a flow matching model, compute the flow matching objective between random source and target samples.
Update imports: use `from flow_matching import CondOTFlowMatching` instead of old `from flow_matching import FlowMatching`.
Replace `from flow_matching.models import CNF` with `from flow_matching import CondOTFlowMatching`.
Ensure tensors are float32: `x0 = x0.float()`.