SafeRL framework for algorithm research and benchmarking
Top 38.6% on sourcepulse
OmniSafe is a comprehensive, modular Python framework for accelerating research in Safe Reinforcement Learning (SafeRL). It provides a standardized benchmark and an out-of-the-box toolkit for implementing, training, and evaluating SafeRL algorithms, targeting researchers and developers in the field.
How It Works
OmniSafe employs a highly modular design with Adapter and Wrapper components to facilitate seamless integration of diverse SafeRL algorithms and environments. It leverages torch.distributed
for high-performance parallel computing, enabling environment-level asynchronous parallelism and agent asynchronous learning to expedite training and improve stability.
Quick Start & Requirements
pip install omnisafe
pip install -e .
) within a conda environment is recommended.Highlighted Details
Maintenance & Community
The project is primarily developed by the SafeRL research team at PKU-Alignment, led by Prof. Yaodong Yang. Community support is available via GitHub issues.
Licensing & Compatibility
Released under the Apache License 2.0, permitting commercial use and integration with closed-source projects.
Limitations & Caveats
While robust, official support for Windows is not provided. The framework is actively developed, and users should refer to the changelog for potential breaking changes.
4 months ago
Inactive