#125125th of 433 in ML frameworks and libraries
torchrec
PyTorch library for training recommender models with sharded embedding tables
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts torchrec on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.torchrec is on your watch list. Its new releases and problems show there.
- Stars
- 2.6k
- License
- BSD-3-Clause
- Last commit
- Nov 2026
- Last release
- Sep 2026
- Language
- Python
2,515 on 27 Apr 20262,630 on 23 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
TorchRec is a PyTorch domain library providing sparsity and parallelism primitives for large-scale recommender systems. It shards large embedding tables across many GPUs using several strategies, with a planner that generates sharding plans automatically and FBGEMM-based kernels. It powers production RecSys models at Meta and includes quantization, pipelined training, and Criteo and MovieLens datasets.
Who it is for: ML engineers training large recommendation models on multi-GPU clusters
Strengths
- Sharding strategies: data-parallel, table-wise, row-wise, column-wise, and combined variants
- Automatic planner generates sharding plans for a given model
- Pipelined training overlaps data transfer, communication and compute
- Used in production at Meta; Meta's DLRM is built on it
Weaknesses
- Focused on recommender systems; not meant for LLMs or general model work
- Source install needs PyTorch nightly builds and a separate FBGEMM install
- Multi-GPU setups are the main use case; install test runs through TorchX
- Bundled examples limited to DLRM, Criteo and MovieLens
What it needs
- GPU optional
- Needs PyTorch, FBGEMM, TorchX
- Models: DLRM, PyTorch embedding-table recommender models
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #123 | ireeMLIR-based compiler and runtime for deploying ML models from datacenter to edge | 69 out of 100 |
| #124 | lazypredictPython library that benchmarks dozens of scikit-learn-style models in one call | 69 out of 100 |
| #126 | behavior-1kSimulation benchmark of 1,000 household activities for embodied AI agents | 69 out of 100 |
| #127 | braindecodePython toolbox for decoding EEG, ECoG and MEG data with deep learning | 69 out of 100 |
| #128 | safetensorsTensor file format and library that avoids pickle, with zero-copy lazy loading | 68 out of 100 |