AIAny
AI Train2020
GitHub

Tianshou

Deep reinforcement learning library on pure PyTorch and Gymnasium, with 30+ algorithms across on-policy, off-policy, and offline RL. Exposes both a one-call high-level interface and a procedural API, plus vectorized envs and reproducible MuJoCo benchmarks.

Introduction

Most reinforcement learning codebases force a trade-off: research frameworks expose every knob but bury you in boilerplate, while batteries-included libraries hide the algorithm so you can't actually modify it. The interesting move here is refusing that choice — the same 30+ algorithms are reachable through a one-call high-level interface or a fully procedural one where you wire up collector, buffer, and policy yourself.

What Sets It Apart
  • Two APIs, one engine: prototype with a high-level builder, then drop to the procedural layer when you need to control the training loop — without switching libraries.
  • Clean algorithm taxonomy: an explicit split between Algorithm and Policy, and between on-policy, off-policy, and offline families, makes it readable enough to fork rather than just consume.
  • Reproducibility as a feature: every algorithm ships with a full training test, and MuJoCo results are benchmarked to match published baselines — so a regression shows up in CI, not in your paper.
  • Built for real experiments: synchronous/asynchronous vectorized environments, EnvPool acceleration, multi-GPU training, RNN-style training for POMDPs, and multi-agent support.
Great Fit / Look Elsewhere

A great fit if you research or extend RL methods in pure PyTorch and want type-hinted, tested baselines you can read and modify — DQN variants, PPO/TRPO/SAC/TD3, and offline methods like CQL and BCQ are all in one place. Look elsewhere if you want single-file copy-paste implementations (CleanRL), large-scale distributed RL across a cluster (Ray RLlib), or JAX-level training throughput; Tianshou optimizes for clarity and breadth on a single machine, not horizontal scale.

Information

  • Websitegithub.com
  • OrganizationsTsinghua University, appliedAI Institute for Europe
  • Authorsthu-ml (Tsinghua University Machine Learning Group)
  • Published date2020/03/09

Categories

More Items

Hugging Face
AI Model2026

Uses reinforcement learning alone to improve Qwen3.8-27B on multimodal reasoning and long-horizon agent tasks. Trained on about 1,200 curated tasks, it retains a 256K context and is released in BF16, FP8, and NVFP4.

Details the Xing 4 model architecture, Ascend-scale pretraining systems, and agentic post-training, including a 285B-parameter training run on 8,192 Ascend 910C cards.

GitHub
AI Train2026

Compresses an entire document collection into 16 query-dependent memory tokens for a frozen LLM. It retrieves useful clues across long histories while keeping the model’s input length fixed.