#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.

Stars
2.6k
License
BSD-3-Clause
Last commit
Nov 2026
Last release
Sep 2026
Language
Python
Stars, last 30 weeks+115
27 Apr 2026: 2,515 stars4 May 2026: 2,516 stars11 May 2026: 2,525 stars18 May 2026: 2,530 stars25 May 2026: 2,532 stars1 Jun 2026: 2,535 stars8 Jun 2026: 2,542 stars15 Jun 2026: 2,546 stars22 Jun 2026: 2,550 stars29 Jun 2026: 2,556 stars6 Jul 2026: 2,562 stars13 Jul 2026: 2,566 stars20 Jul 2026: 2,569 stars27 Jul 2026: 2,573 stars3 Aug 2026: 2,578 stars10 Aug 2026: 2,582 stars17 Aug 2026: 2,587 stars24 Aug 2026: 2,587 stars31 Aug 2026: 2,590 stars7 Sept 2026: 2,596 stars14 Sept 2026: 2,598 stars21 Sept 2026: 2,601 stars28 Sept 2026: 2,602 stars5 Oct 2026: 2,603 stars12 Oct 2026: 2,607 stars19 Oct 2026: 2,609 stars26 Oct 2026: 2,615 stars2 Nov 2026: 2,619 stars9 Nov 2026: 2,623 stars16 Nov 2026: 2,627 stars23 Nov 2026: 2,630 stars

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
Also in ML frameworks and libraries
RankProjectScore
#123ireeMLIR-based compiler and runtime for deploying ML models from datacenter to edge4k starsApache-2.069 out of 100
#124lazypredictPython library that benchmarks dozens of scikit-learn-style models in one call3.4k starsMIT69 out of 100
#126behavior-1kSimulation benchmark of 1,000 household activities for embodied AI agents1.8k starsMIT69 out of 100
#127braindecodePython toolbox for decoding EEG, ECoG and MEG data with deep learning1.3k starsBSD-3-Clause69 out of 100
#128safetensorsTensor file format and library that avoids pickle, with zero-copy lazy loading4k stars+89 (+2.3%) in 30 daysApache-2.068 out of 100