Tianshou: a Highly Modularized Deep Reinforcement Learning Library

Jiayi Weng, Huayu Chen, Dong Yan, Kaichao You, Alexis Duburcq +4 more
7/29/2021
cs.LG
rl

Official code: thu-ml/tianshou (11,057 stars, Python, MIT, PyTorch, last commit 2026-04-03).

Abstract

In this paper, we present Tianshou, a highly modularized Python library for deep reinforcement learning (DRL) that uses PyTorch as its backend. Tianshou intends to be research-friendly by providing a flexible and reliable infrastructure of DRL algorithms.

Show full abstract

It supports online and offline training with more than 20 classic algorithms through a unified interface. To facilitate related research and prove Tianshou's reliability, we have released Tianshou's benchmark of MuJoCo environments, covering eight classic algorithms with state-of-the-art performance. We open-sourced Tianshou at https://github.com/thu-ml/tianshou/.

View on arXivView PDF

Code Implementations(1)

thu-ml/tianshouOfficial100%
PyTorchMIT

An elegant PyTorch deep reinforcement learning library.

11,0571,350Python, DockerfileApr 16, 20188 months agoMIT
a2cataribcqcqlddpg+14 more

Similar Papers

Cite this paper

@article{weng2021tianshou,
  title  = {Tianshou: a Highly Modularized Deep Reinforcement Learning Library},
  author = {Jiayi Weng and Huayu Chen and Dong Yan and Kaichao You and Alexis Duburcq and Minghao Zhang and Yi Su and Hang Su and Jun Zhu},
  year   = {2021},
  eprint = {2107.14171},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.14171}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2107.14171.svg)](https://codeofpaper.com/paper/2107.14171)

Discussion