~/talk

TorchRec: A PyTorch domain library for large-scale recommender systems

Talkat PyTorch Conference 2022 · on Friday, 2022-12-02· [machine-learning, data-engineering]
links:none on file
slides:none on file

TorchRec is a PyTorch domain library that swaps nn.EmbeddingBagCollection for sharded, module-level equivalents, adds collectives and awaitable sharding strategies, and uses FBGEMM kernels for table-batched embeddings and optimizer fusion. Benchmarks show a typical training-loop speedup of 32x versus the baseline embedding wrapper on one GPU; using UVM caching keeps most embeddings on CPU and incurs ~2x slowdown (still ~16x faster than baseline) while a CPU-only embedding regime costs ~30% slowdown. Multi-GPU scaling is sublinear unless batch size is increased (4× batch size recovers near-linear throughput).

AI-written summary · about

  1. 0:00Intro
  2. 0:28Agenda
  3. 1:40Model Parallelization
  4. 2:45Additional features
  5. 3:30Modeling changes
  6. 4:15Distributed environment
  7. 5:10Performance benchmarks
  8. 5:20Single GPU
  9. 5:55UVM Cache
  10. 6:40Batch Size
  11. 7:30Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.