Skip to main content

Catalyst logo

Accelerated RL

Build Status CodeFactor Pipi version Docs PyPI Status

Twitter Telegram Slack Github contributors

PyTorch framework for RL research. It was developed with a focus on reproducibility, fast experimentation and code/ideas reusing. Being able to research/develop something new, rather than write another regular train loop.
Break the cycle - use the Catalyst!

Part of PyTorch Ecosystem. Part of Catalyst Ecosystem. Project manifest.


Installation

Common installation:

pip install -U catalyst-rl

Catalyst.RL is compatible with: Python 3.6+. PyTorch 1.0.0+.

Getting started

For Catalyst.RL introduction, please follow OpenAI Gym example.

Docs and examples

API documentation and an overview of the library can be found here Docs.
In the examples folder of the repository, you can find advanced tutorials and Catalyst best practices.

Infos

To learn more about Catalyst internals and to be aware of the most important features, you can read Catalyst-info – our blog where we regularly write facts about the framework.

We also supervise Awesome Catalyst list – Catalyst-powered projects, tutorials and talks.
Feel free to make a PR with your project to the list. And don't forget to check out current list, there are many interesting projects.

Releases

We deploy a major release once a month with a name like YY.MM.
And micro-releases with framework improvements during a month in the format YY.MM.#.

You can view the changelog on the GitHub Releases page.
Current version: Pipi version

Overview

Catalyst.RL helps you write compact but full-featured RL pipelines in a few lines of code. You get a training loop with metrics, early-stopping, model checkpointing and other features without the boilerplate.

Features

  • Universal train/inference loop.
  • Configuration files for model/data hyperparameters.
  • Reproducibility – all source code and environment variables will be saved.
  • Callbacks – reusable train/inference pipeline parts.
  • Training stages support.
  • Easy customization.
  • PyTorch best practices (SWA, AdamW, Ranger optimizer, OneCycle, FP16 and more).

Structure

  • RL – scalable Reinforcement Learning, all popular model-free algorithms implementations and their improvements with distributed training support.
  • contrib - additional modules contributed by Catalyst users.
  • utils - different useful utils for Deep Learning research.

Contribution guide

We appreciate all contributions. If you are planning to contribute back bug-fixes, please do so without any further discussion. If you plan to contribute new features, utility functions or extensions, please first open an issue and discuss the feature with us.

License

This project is licensed under the Apache License, Version 2.0 see the LICENSE file for details License

Citation

Please use this bibtex if you want to cite this repository in your publications:

@misc{catalyst,
    author = {Kolesnikov, Sergey},
    title = {Accelerated RL.},
    year = {2018},
    publisher = {GitHub},
    journal = {GitHub repository},
    howpublished = {\url{https://github.com/catalyst-team/catalyst-rl}},
}

Release files for catalyst-rl 20.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for catalyst-rl 20.3
File Size Uploaded
catalyst-rl-20.3.tar.gz 227.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for catalyst-rl 20.3
File Interpreter ABI Platform
catalyst_rl-20.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 592.0 kB

Release files / catalyst-rl-20.3.tar.gz

Download URL catalyst-rl-20.3.tar.gz
Size 227.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b947f4950f5754418442c99b3173f3b03f1a9c1748b01cad5f300676986eca9e
BLAKE2b-256 checksum
How to use checksums
c55ca70715271393accf5a2fd5e45201d44481215d837cd61424509a578715a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

Release files / catalyst_rl-20.3-py2.py3-none-any.whl

Download URL catalyst_rl-20.3-py2.py3-none-any.whl
Size 364.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b73b290be25e24db16bde4183274f923bdfd0e29ca9de54c75a6909cffb6e0e2
BLAKE2b-256 checksum
How to use checksums
4ea86c9a4b843fa18df521d4ca9415be26fbafda8f77d927439a9bfe2bfc05ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

20.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page