Fast & Efficient
Optimized with torch.compile and CUDA graphs for maximum training throughput
A PyTorch framework for behavior cloning with flow matching and generative models
# Install dependencies
uv sync --extras robomimic
# Train a flow matching policy on Robomimic Lift task
uv run examples/train_robomimic.py \
task=lift_ph_state \
network=chiunet \
optimization.loss_type=flow \
log.wandb_mode=onlineThis repository supports a variety of training objectives for generative behavior cloning:
flow): Standard continuous normalizing flow objectiveregression): Direct supervised learning baseline with the same architecture as flow matching.mip): Minimum Iterative Policy with two-step sampling (from Much Ado About Noising)tsd): Two-Stage Denoising (from Much Ado About Noising)ctm): Consistency Trajectory Modelpsd): Progressive Self-Distillationlsd): Lagrangian Self-Distillation (only support differentiable networks)Choose from multiple proven architectures:
Pre-configured environments and datasets:
If you use this repository in your research, please cite: