xformers vs ray

xformers and ray share 4 technologies: fairscale, pytorch-lightning, torchmetrics, and torch. Both are written in Python.

Read it as markdown

What they share and what sets them apart

facebookresearch

xformers

Hackable and optimized Transformers building blocks, supporting a composable construction.

Python10.6kRead on November 13, 2026, at commit b5410d3What is xformers built with?

Only in xformers

In common

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 13, 2026, at commit de4c576What is ray built with?

Only in ray

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
xformers23,389 lines written60 code files
ray1,566,356 lines written2,810 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.
xformers0% of its commits signed by AI
ray3.7% of its commits signed by AIWith Claude Code, Gemini CLI, GitHub Copilot, Cursor, and Codex
ActivityFrom GitHub and its history, on the day SeeRepo read it.
xformersLast push October 29, 20261,148 commits10,580 stars
rayLast push November 13, 202632,468 commits44,282 stars
TestsThe files that test the code, and the share of code files a test imports.
xformers21 test files38.3% of its code files have a test that imports them
ray2,208 test files9.4% of its code files have a test that imports them

Frequently asked questions

Which is bigger, xformers or ray?
ray, with 1,566,356 lines written; xformers has 23,389.

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

Which has more GitHub stars, xformers or ray?
ray, with 44,282 stars; xformers has 10,580.

The proof: ray-project/ray on GitHub

Which has more tests, xformers or ray?
ray, with 2,208 test files; xformers has 21.

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

Which was updated more recently, xformers or ray?
ray: its last push was on November 13, 2026, and xformers's on October 29, 2026.

The proof: ray-project/ray's commits on GitHub

Which has more commits signed by AI, xformers or ray?
ray: an AI signed 3.7% 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.

Free, no account.

Or look inside SeeRepo's own →