Skip to content

Commit 0b12e15

Browse files
committed
Automated tutorials push
1 parent 54e5e92 commit 0b12e15

File tree

196 files changed

+13588
-12399
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+13588
-12399
lines changed

_downloads/3195443a0ced3cabc0ad643537bdb5cd/introyt1_tutorial.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
{
3535
"cell_type": "code",
3636
"execution_count": null,
37-
"id": "fac5891a",
37+
"id": "e21d6d13",
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "markdown",
53-
"id": "98badc00",
53+
"id": "18d6ef3a",
5454
"metadata": {},
5555
"source": [
5656
"\n",

_downloads/4355e2cef7d17548f1e25f97a62828c4/template_tutorial.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
{
3232
"cell_type": "code",
3333
"execution_count": null,
34-
"id": "e7dbf541",
34+
"id": "5daef5de",
3535
"metadata": {},
3636
"outputs": [],
3737
"source": [
@@ -47,7 +47,7 @@
4747
},
4848
{
4949
"cell_type": "markdown",
50-
"id": "ce09721d",
50+
"id": "ff0d786d",
5151
"metadata": {},
5252
"source": [
5353
"\n",

_downloads/63a0f0fc7b3ffb15d3a5ac8db3d521ee/tensors_deeper_tutorial.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
{
3535
"cell_type": "code",
3636
"execution_count": null,
37-
"id": "46e0447c",
37+
"id": "c9293eb6",
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "markdown",
53-
"id": "10ad5c81",
53+
"id": "631027ae",
5454
"metadata": {},
5555
"source": [
5656
"\n",

_downloads/770632dd3941d2a51b831c52ded57aa2/trainingyt.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
{
3636
"cell_type": "code",
3737
"execution_count": null,
38-
"id": "e8a82bab",
38+
"id": "10252222",
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [
@@ -51,7 +51,7 @@
5151
},
5252
{
5353
"cell_type": "markdown",
54-
"id": "215cb1e2",
54+
"id": "9865b0e4",
5555
"metadata": {},
5656
"source": [
5757
"\n",

_downloads/8d83c5b10438a4bcc94963daaddeaeec/torchrec_intro_tutorial.ipynb

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@
4646
"!pip3 install fbgemm_gpu --index-url https://download.pytorch.org/whl/cu121\n",
4747
"!pip3 install torchmetrics==1.0.3\n",
4848
"!pip3 install torchrec --index-url https://download.pytorch.org/whl/cu121\n",
49-
"```\n"
49+
"```\n",
50+
"\n",
51+
"<div style=\"background-color: #54c7ec; color: #fff; font-weight: 700; padding-left: 10px; padding-top: 5px; padding-bottom: 5px\"><strong>NOTE:</strong></div>\n",
52+
"<div style=\"background-color: #f3f4f7; padding-left: 10px; padding-top: 10px; padding-bottom: 10px; padding-right: 10px\">\n",
53+
"<p>If you are running this in Google Colab, make sure to switch to a GPU runtime type.For more information,see <a href=\"https://pytorch.org/tutorials/beginner/colab#enabling-cuda\">Enabling CUDA</a></p>\n",
54+
"</div>\n"
5055
]
5156
},
5257
{
@@ -262,14 +267,14 @@
262267
"metadata": {},
263268
"source": [
264269
"TorchRec Modules and Data Types\n",
265-
"\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\-\\--\n",
270+
"===============================\n",
266271
"\n",
267272
"This section goes over TorchRec Modules and data types including such\n",
268273
"entities as `EmbeddingCollection` and `EmbeddingBagCollection`,\n",
269274
"`JaggedTensor`, `KeyedJaggedTensor`, `KeyedTensor` and more.\n",
270275
"\n",
271276
"From `EmbeddingBag` to `EmbeddingBagCollection`\n",
272-
"===============================================\n",
277+
"-----------------------------------------------\n",
273278
"\n",
274279
"We have already explored `torch.nn.Embedding`{.interpreted-text\n",
275280
"role=\"class\"} and `torch.nn.EmbeddingBag`{.interpreted-text\n",

_downloads/b07b6a647a3bf9e6882df8ca2cc20e8b/torchrec_intro_tutorial.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@
3939
# !pip3 install fbgemm_gpu --index-url https://download.pytorch.org/whl/cu121
4040
# !pip3 install torchmetrics==1.0.3
4141
# !pip3 install torchrec --index-url https://download.pytorch.org/whl/cu121
42+
#
43+
# .. note::
44+
# If you are running this in Google Colab, make sure to switch to a GPU runtime type.
45+
# For more information,
46+
# see `Enabling CUDA <https://pytorch.org/tutorials/beginner/colab#enabling-cuda>`__
47+
#
4248

4349

4450

@@ -217,7 +223,7 @@
217223

218224
######################################################################
219225
# TorchRec Modules and Data Types
220-
# ------------------------------
226+
# ----------------------------------
221227
#
222228
# This section goes over TorchRec Modules and data types including such
223229
# entities as ``EmbeddingCollection`` and ``EmbeddingBagCollection``,

_downloads/c28f42852d456daf9af72da6c6909556/captumyt.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
{
3838
"cell_type": "code",
3939
"execution_count": null,
40-
"id": "cd23ede1",
40+
"id": "ac307009",
4141
"metadata": {},
4242
"outputs": [],
4343
"source": [
@@ -53,7 +53,7 @@
5353
},
5454
{
5555
"cell_type": "markdown",
56-
"id": "8e244018",
56+
"id": "27f72e94",
5757
"metadata": {},
5858
"source": [
5959
"\n",

_downloads/e2e556f6b4693c2cef716dd7f40caaf6/tensorboardyt_tutorial.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
{
3636
"cell_type": "code",
3737
"execution_count": null,
38-
"id": "135cf2dd",
38+
"id": "a754d347",
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [
@@ -51,7 +51,7 @@
5151
},
5252
{
5353
"cell_type": "markdown",
54-
"id": "c30dda37",
54+
"id": "c749bfd3",
5555
"metadata": {},
5656
"source": [
5757
"\n",

_downloads/ed9d4f94afb79f7dada6742a06c486a5/autogradyt_tutorial.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
{
3535
"cell_type": "code",
3636
"execution_count": null,
37-
"id": "493e73f9",
37+
"id": "9afd02ac",
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "markdown",
53-
"id": "5d4f5407",
53+
"id": "ed756c58",
5454
"metadata": {},
5555
"source": [
5656
"\n",

_downloads/fe726e041160526cf828806536922cf6/modelsyt_tutorial.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
{
3535
"cell_type": "code",
3636
"execution_count": null,
37-
"id": "a111e54d",
37+
"id": "25e84770",
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "markdown",
53-
"id": "f89240d0",
53+
"id": "e625739c",
5454
"metadata": {},
5555
"source": [
5656
"\n",

0 commit comments

Comments
 (0)