flow_matching is a PyTorch library implementing flow matching algorithms in both continuous and discrete settings, enabling generative modeling via matching vector fields rather than diffusion. The underlying idea is to parameterize a flow (a time-dependent vector field) that transports samples from a simple base distribution to a target distribution, and train via matching of flows without requiring score estimation or noisy corruption—this can lead to more efficient or stable generative training. The library supports both continuous-time flows (via differential equations) and discrete-time analogues, giving flexibility in design and tradeoffs. It provides examples across modalities (images, toy 2D distributions) to help users understand how to apply flow matching in practice. The codebase includes notebooks illustrating 2D flow matching, discrete flows, and Riemannian flow matching on curved manifolds (e.g. flat torus) for non-Euclidean support.

Features

  • Continuous-time flow matching for generative modeling
  • Discrete flow matching methods for alternate tradeoffs
  • Support for Riemannian manifold flow matching (non-Euclidean geometries)
  • Example notebooks illustrating 2D flows, discrete flows, and manifold flows
  • PyTorch implementation with utilities and integration ready
  • Setup scripts, environment specification, and easy installation via setup.py

Project Samples

Project Activity

See All Activity >

Categories

AI Models

License

MIT License

Follow Flow Matching

Flow Matching Web Site

Other Useful Business Software
PRTG Catches Network Issues Before They Cause Downtime Icon
PRTG Catches Network Issues Before They Cause Downtime

Threshold-based alerts flag problems early, so your team can act before users notice, not after.

Reactive troubleshooting usually means hearing about a problem from frustrated users, not your monitoring tool. PRTG sets threshold-based alerts across devices, servers and applications, notifying your team by email, SMS or push the moment a metric crosses a set limit. That means catching a failing disk or overloaded server before it becomes an outage and getting time back from firefighting. Start a free trial and set your first alerts today.
Download 30-Day Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Flow Matching!

Additional Project Details

Programming Language

Python

Related Categories

Python AI Models

Registered

2025-10-07