RL framework for deep reinforcement learning research and production
Top 85.7% on sourcepulse
RLgraph provides a modular computation graph framework for defining, prototyping, and executing deep reinforcement learning algorithms. It targets researchers and practitioners seeking a unified interface for both static (TensorFlow) and dynamic (PyTorch) graph execution, enabling seamless transition from prototype to large-scale distributed training.
How It Works
RLgraph separates graph definition, compilation, and execution, allowing for multiple distributed backends and device strategies without altering agent definitions. This modularity is achieved through a novel component concept for assembling ML models and a well-defined API for agents. This design facilitates efficient prototyping and scalable deployment.
Quick Start & Requirements
pip install rlgraph
pip install rlgraph[ray]
pip install gym[all]
~/.rlgraph/rlgraph.json
file controls backend settings (default: TensorFlow).examples
folder.Highlighted Details
SingleThreadedWorker
for high-performance environment vectorization and RayWorker
for Ray actor tasks.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project is in alpha status (v0.4.0). The PyTorch backend has incomplete device handling and does not yet have full test compatibility with TensorFlow.
5 years ago
1 day