Flow RL
Flow RL is a high-performance reinforcement learning library, combining modern deep RL algorithms with flow and diffusion models for advanced policy parameterization, planning ability or dynamics modeling. It features:
- State-of-the-Art Algorithms and Efficiency: We provide JAX implementations of SOTA algorithms, such FQL, BDPO, DAC and etc;
- Flexible Flow Architectures: We provide built-in support various types of flow and diffusion models, such as CNFs and DDPM;
- Comprehensive Evaluations: We test the algorithms on commonly adopted benchmark and provide the results.
🚀 Installation & Usage
Currently FlowRL is hosted on PyPI and therefore can be installed via pip install flowrl. However, we recommend to clone and install the library using the following commands:
git clone https://github.com/typoverflow/flow-rl.git
cd flow-rl
pip install -e .
Alternatively, you can use our Docker image:
docker pull typoverflow/flow-rl
docker run --gpus all -it typoverflow/flow-rl bash
The entry files are presented in examples/. Please refer to the scripts in scripts/ for how to execute the algorithms.
📊 Supported Algorithms
Offline RL:
| Algorithm | Location | WandB Report |
|---|---|---|
| IQL | flowrl/agent/iql.py |
[Performance] [Full Log] |
| IVR | flowrl/agent/ivr.py |
[Performance] [Full Log] |
| FQL | flowrl/agent/fql/fql.py |
[Performance] [Full Log] |
| DAC | flowrl/agent/dac.py |
[Performance] [Full Log] |
| BDPO | flowrl/agent/bdpo/bdpo.py |
[Performance] [Full Log] |
Online RL
| Algorithm | Location | WandB Report |
|---|---|---|
| SAC | flowrl/agent/online/sac.py |
Gym-MuJoCo Results |
| TD3 | flowrl/agent/online/td3.py |
|
| TD7 | flowrl/agent/online/td7.py |
|
| SDAC | flowrl/agent/online/sdac.py |
|
| QSMAgent | flowrl/agent/online/qsm.py |
|
| DACERAgent | flowrl/agent/online/dacer.py |
|
| QVPOAgent | flowrl/agent/online/qvpo.py |
📝 Citing Flow RL
If you use Flow RL in your research, please cite:
@software{flow_rl,
author = {Chen-Xiao Gao and Mingjun Cao and Edward Chen},
title = {Flow RL: Flow-based Reinforcement Learning Algorithms},
year = 2025,
version = {v0.0.1},
url = {https://github.com/typoverflow/flow-rl}
}
💎 Acknowledgements
Inspired by foundational work from
Metadata
Release files for flowrl 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flowrl-0.2.0.tar.gz | 38.3 kB | Without provenance | Details for flowrl-0.2.0.tar.gz |
Release files / flowrl-0.2.0.tar.gz
| Download URL | flowrl-0.2.0.tar.gz |
|---|---|
| Size | 38.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fce1d3da4594d9bf6c45aa3ef5039d2f56e98535007e073413c025a7e6893696
|
|
BLAKE2b-256 checksum How to use checksums |
8082a28d6d00edbc1a7b5a2fad1e174d6b08217c35fcd033f9314bad9964ef6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for flowrl 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.