{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": false }, "outputs": [], "source": [ "# For tips on running notebooks in Google Colab, see\n", "# https://pytorch.org/tutorials/beginner/colab\n", "%matplotlib inline" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Introduction to TorchRec\n", "========================\n", "\n", "**TorchRec** is a PyTorch library tailored for building scalable and\n", "efficient recommendation systems using embeddings. This tutorial guides\n", "you through the installation process, introduces the concept of\n", "embeddings, and highlights their importance in recommendation systems.\n", "It offers practical demonstrations on implementing embeddings with\n", "PyTorch and TorchRec, focusing on handling large embedding tables\n", "through distributed training and advanced optimizations.\n", "\n", "
If you are running this in Google Colab, make sure to switch to a GPU runtime type.For more information,see Enabling CUDA
\n", "If you are running this in Google Colab, you can only call this cell once,calling it again will cause an error as you can only initialize the processgroup once.
\n", "