Overview of EnvPool
mainEnvPool is a high-performance, C++-based batched environment pool designed for Reinforcement Learning (RL). It uses pybind11 and a thread pool to achieve massive throughput (e.g., ~1M Atari FPS or ~3M MuJoCo FPS on high-end hardware).
Key Features:
- Multi-platform: Supports Linux, macOS, and Windows.
- API Compatibility: Supports both
gymnasiumand DeepMinddm_envAPIs. - Execution Modes: Supports both synchronous and asynchronous execution, as well as single and multi-player environments.
- Rendering: Built-in rendering with batched
rgb_arrayoutput andhumandisplay mode. - Integration: Compatible with major RL libraries like Stable-Baselines3, Tianshou, ACME, CleanRL, and rl_games.
- XLA Support: Provides an XLA interface for JAX
jitfunctions.