iliailmer / tinyflow

Flow Matching implemented in tinygrad

Repository from Github https://github.comiliailmer/tinyflowRepository from Github https://github.comiliailmer/tinyflow

Flow Matching using tinygrad

Introduction

This project is my exploration into flow matching algorithms using tinygrad library instead of traditional pytorch implementations. This is a learning experience for understanding both the flow matching and the library.

Running the Code

I highly recommend using uv tool to run this project.

uv run example.py

To-Do

Time permitting, I plan to add the following implementations:

  • more path objects

  • non-euclidean flow matching

  • discrete flow matching

References

About

Flow Matching implemented in tinygrad

License:MIT License


Languages

Language:Python 99.6%Language:Shell 0.4%