ray vs tianshou

ray and tianshou share 6 technologies: h5py, pygame, gymnasium, torch, ale-py, and imageio. Both are written in Python.

Read it as markdown

What they share and what sets them apart

ray-project

ray

Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.

Python44.3kRead on November 18, 2026, at commit eb50407What is ray built with?

Only in ray

In common

thu-ml

tianshou

An elegant PyTorch deep reinforcement learning library.

Python11.1kRead on November 25, 2026, at commit 63173a2What is tianshou built with?

Only in tianshou

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
ray1,583,573 lines written2,829 code files
tianshou49,576 lines written105 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
ray3.8% of its commits signed by AIWith Claude Code, Gemini CLI, GitHub Copilot, Cursor, and Codex
tianshou0% of its commits signed by AI
ActivityFrom GitHub and its history, on the day SeeRepo read it.
rayLast push November 18, 202632,530 commits44,318 stars
tianshouLast push November 25, 20261,244 commits11,055 stars
TestsThe files that test the code, and the share of code files a test imports.
ray2,221 test files9.4% of its code files have a test that imports them
tianshou60 test files42.9% of its code files have a test that imports them

Frequently asked questions

Which is bigger, ray or tianshou?
ray, with 1,583,573 lines written; tianshou has 49,576.

The proof: ray-project/ray's code at commit eb50407

Which has more GitHub stars, ray or tianshou?
ray, with 44,318 stars; tianshou has 11,055.

The proof: ray-project/ray on GitHub

Which has more tests, ray or tianshou?
ray, with 2,221 test files; tianshou has 60.

The proof: ray-project/ray's code at commit eb50407

Which was updated more recently, ray or tianshou?
tianshou: its last push was on November 25, 2026, and ray's on November 18, 2026.

The proof: thu-ml/tianshou's commits on GitHub

Which has more commits signed by AI, ray or tianshou?
ray: an AI signed 3.8% of its commits, with Claude Code, Gemini CLI, GitHub Copilot, Cursor, and Codex.

The proof: the commits each tool signed in ray-project/ray

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Or look inside SeeRepo's own →