Source: https://seerepo.com/compare/facebookresearch/xformers/vs/tensorflow/models
Markdown source: https://seerepo.com/compare/facebookresearch/xformers/vs/tensorflow/models.md
Description: xformers and models share 3 technologies: seaborn, torchmetrics, and torch. Both are written in Python.

# xformers vs models

xformers and models share 3 technologies: seaborn, torchmetrics, and torch. Both are written in Python.

- [facebookresearch/xformers](https://seerepo.com/r/facebookresearch/xformers): Hackable and optimized Transformers building blocks, supporting a composable construction.
- [tensorflow/models](https://seerepo.com/r/tensorflow/models): Models and examples built with TensorFlow

## What they share and what sets them apart

- In common: seaborn, torchmetrics, torch
- Only in xformers: fairscale, pytorch-lightning
- Only in models: FastAPI, google-cloud-core, pandas-gbq, Google, Google Cloud Storage, Apache, matplotlib, google-auth-oauthlib, oauth2client, ai-edge-litert, cuml-cu12, cupy-cuda12x, einops, tf-nightly, TensorFlow, tf-keras, tf-slim, opencv-python, tensorflow-model-optimization, tensorflow-datasets, torchvision, pycocotools, sentencepiece, supervision, scikit-image, scikit-learn, sam3, nltk, trackers, trackpy, tritonclient, sacrebleu, tensorflow-probability, tensorflow-transform, ffmpeg-python, mediapy, pillow, sox, psutil

## Side by side

| | xformers | models |
|---|---|---|
| Size | 23,389 lines written, 60 code files | 644,066 lines written, 1,864 code files |
| Who writes it | 0% of its commits signed by AI | 0% of its commits signed by AI |
| Activity | Last push October 29, 2026, 1,148 commits, 10,580 stars | Last push November 2, 2026, 8,558 commits, 77,635 stars |
| Tests | 21 test files. 38.3% of its code files have a test that imports them | 777 test files. 45.2% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## 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](https://github.com/tensorflow/models/tree/19f287775ae950e22a9b5fb82727e72cff2e3664)

### Which has more GitHub stars, xformers or models?

models, with 77,635 stars; xformers has 10,580.

The proof: [tensorflow/models on GitHub](https://github.com/tensorflow/models)

### Which has more tests, xformers or models?

models, with 777 test files; xformers has 21.

The proof: [tensorflow/models's code at commit 19f2877](https://github.com/tensorflow/models/tree/19f287775ae950e22a9b5fb82727e72cff2e3664)

### 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](https://github.com/tensorflow/models/commits)

## Sources

- facebookresearch/xformers: Read on November 13, 2026, at commit b5410d3 (https://github.com/facebookresearch/xformers/tree/b5410d3bb4bf6929aba3324676b05e826a4d2886)
- tensorflow/models: Read on November 12, 2026, at commit 19f2877 (https://github.com/tensorflow/models/tree/19f287775ae950e22a9b5fb82727e72cff2e3664)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
