Modular and flexible library for reinforcement learning on PyTorch and JAX. Current version: 2.1.0. Release cadence: irregular, with major features and bugfixes.
pip install skrlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic PPO training on CartPole-v1 using Gymnasium.
Use `from skrl.agents import PPO` and check updated docs.
Install `gymnasium` and use its environments. If you must use Gym, wrap it with Gymnasium compatibility wrappers.
Explicitly set `device='cuda:0'` or `'cpu'` based on available hardware.