{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": false }, "outputs": [], "source": [ "# For tips on running notebooks in Google Colab, see\n# https://codelin.vip/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\nefficient recommendation systems using embeddings. This tutorial guides\nyou through the installation process, introduces the concept of\nembeddings, and highlights their importance in recommendation systems.\nIt offers practical demonstrations on implementing embeddings with\nPyTorch and TorchRec, focusing on handling large embedding tables\nthrough distributed training and advanced optimizations.\n\n```{=html}\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```\n```{=html}\nIf 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```\n```{=html}\n