Add your description here
Project description
Rectified Flow Matching
Cutting-edge and feature-rich implementation of Rectified Flows from Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flows in jax and equinox.
Features
- Deterministic and stochastic sampling of the associated ODE and SDE respectively,
- Mixed precision optimisation,
- Array-typed to-the-teeth for dependable execution with
jaxtypingandbeartype.
To implement:
- Guidance by score of conditioning
- Mixed precision
- EMA
- AdaLayerNorm
- Stochastic sampling
- ODE Sampling
- Likelihoods
- DiT
- Hyperparameter/model saving
Usage
pip install rectified-flows
Citations
@misc{liu2022flowstraightfastlearning,
title={Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow},
author={Xingchao Liu and Chengyue Gong and Qiang Liu},
year={2022},
eprint={2209.03003},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2209.03003},
}
@misc{lipman2023flowmatchinggenerativemodeling,
title={Flow Matching for Generative Modeling},
author={Yaron Lipman and Ricky T. Q. Chen and Heli Ben-Hamu and Maximilian Nickel and Matt Le},
year={2023},
eprint={2210.02747},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2210.02747},
}
@misc{singh2024stochasticsamplingdeterministicflow,
title={Stochastic Sampling from Deterministic Flow Models},
author={Saurabh Singh and Ian Fischer},
year={2024},
eprint={2410.02217},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2410.02217},
}
@misc{yang2024consistencyflowmatchingdefining,
title={Consistency Flow Matching: Defining Straight Flows with Velocity Consistency},
author={Ling Yang and Zixiang Zhang and Zhilong Zhang and Xingchao Liu and Minkai Xu and Wentao Zhang and Chenlin Meng and Stefano Ermon and Bin Cui},
year={2024},
eprint={2407.02398},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2407.02398},
}
@misc{peebles2023scalablediffusionmodelstransformers,
title={Scalable Diffusion Models with Transformers},
author={William Peebles and Saining Xie},
year={2023},
eprint={2212.09748},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2212.09748},
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rectified_flows-0.0.2.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rectified_flows-0.0.2.tar.gz.
File metadata
- Download URL: rectified_flows-0.0.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb4142786fad0aad60a6d1c10a87fe2579f3d66095e7d6bf2da0045a5ae6cb67
|
|
| MD5 |
75913c4823b647dc106b924976bf269b
|
|
| BLAKE2b-256 |
4df11ae14587af1685f7413ab0fdab71c69d0e9ee1e890e83d8cd7a0db49c80c
|
File details
Details for the file rectified_flows-0.0.2-py3-none-any.whl.
File metadata
- Download URL: rectified_flows-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c985a402099cb52fa2f1a3cf067e8f0522a58f3a01315043af81477084f5c22
|
|
| MD5 |
0f97b13e42fa0c0b654aa0fbc97e57fe
|
|
| BLAKE2b-256 |
de63d2e13e798519a2269cbd23eaadce756ab0447e09eca3e3fe4c38a0518af4
|