xformers vs models

xformers and models share 3 technologies: seaborn, 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

  • fairscale
  • pytorch-lightning

In common

tensorflow

models

Models and examples built with TensorFlow

Python77.6kRead on November 12, 2026, at commit 19f2877What is models built with?

Only in models

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
xformers23,389 lines written60 code files
models644,066 lines written1,864 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
models0% of its commits signed by AI
ActivityFrom GitHub and its history, on the day SeeRepo read it.
xformersLast push October 29, 20261,148 commits10,580 stars
modelsLast push November 2, 20268,558 commits77,635 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
models777 test files45.2% of its code files have a test that imports them

Frequently asked questions

Which is bigger, xformers or models?
models, with 644,066 lines written; xformers has 23,389.

The proof: tensorflow/models's code at commit 19f2877

Which has more GitHub stars, xformers or models?
models, with 77,635 stars; xformers has 10,580.

The proof: tensorflow/models on GitHub

Which has more tests, xformers or models?
models, with 777 test files; xformers has 21.

The proof: tensorflow/models's code at commit 19f2877

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

The proof: tensorflow/models's commits on GitHub

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 →