Tools/meta-pytorch/torchrec

torchrec

Pytorch domain library for recommendation systems

2.6k+4/wkemergingPythonBSD 3-Clause "New" or "Revised" Licensetrending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated May 2026

TorchRec is Meta's PyTorch library for training recommendation systems at scale. It is the engine behind the kind of "you might also like" model that runs on a feed of billions of items, packaged as a library you can use too. Free, BSD-3 licensed, used in production at Meta, Twitter, and Databricks.

Running this means GPU clusters, sharded embedding tables, and pipelined training. It gives you the parallelism primitives (model sharding, communication kernels, a planner that figures out the layout) but you bring the recommender model and the data pipeline. Single-GPU experiments work fine, the value shows up when your embedding table no longer fits in memory.

Solo: skip unless you are researching recsys at scale. Small teams: probably overkill, simpler libraries cover most product needs. Large teams shipping recommendations against tens of millions of items: this is what Meta built for itself, which is the strongest signal you will find.

The catch is that this is infrastructure, not a recommender. You still need to know what model you are training, how you are sharding it, and how to feed it. TorchRec makes the hard parts possible, not easy.

Free vs Self-Hosted vs Paid

fully free

Free tier: Full library under BSD-3. No paid version, no hosted variant.

Self-hosted: All you have. Runs on your own GPUs. Production deployments at Meta scale use multi-node clusters with NVIDIA hardware and a real ML infra team behind it.

Paid: None from the project itself. The cost lives in the hardware and the team running it.

Free and BSD-3 licensed. Cost is the GPU infrastructure and the people who know how to use it.

Self-hosting ops:heavy

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
78/100 · B+
Adoption17/30
Maintenance25/25
Community11/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

Organization account (54 public repos)Notable author: 1,336 followersAuthor also built: meta-pytorch/MSLK (103 stars)

License: BSD 3-Clause "New" or "Revised" License

Use freely. No endorsement clause.

Commercial use: ✓ Yes

About

Owner
Meta PyTorch (Organization)
Stars
2,592
Forks
677

Also by Meta PyTorch

Explore Further

More tools in the directory