This repository contains minimal implementations of several flow-map / average-velocity–type methods. Inspired by Simo Ryu's minRF repository, it uses a LLAMA-DIT architecture, with the training logic factored into a single utility script, train_utils.py, so adding new papers mostly boils down to writing the loss and sampling logic. Everything is still intentionally minimal and hopefully easy to hack on.
From the project root (simFlow/), you can create and sync the environment with:
# Install uv if you don't have it
curl -LsSf https://astral.sh/uv/install.sh | sh
# Create/activate the environment and install dependencies
uv syncEach method is exposed as a Python module and configured via Hydra. The general pattern to run a method is:
uv run python -m src.<file_name> --config-name=<dataset>Where:
<file_name>: One ofrectified_flow,shortcut,mean_flow,alpha_flow.<dataset>: One of the configs undersrc/configs/, e.g.mnistorcifar10.
If you want to enable WandB logging, set your API key and override WandB configs:
export WANDB_API_KEY=...
uv run python -m src.<file_name> --config-name=<dataset> wandb=true wandb_name=<exp_name>






