Skip to content

Commit 6943c77

Browse files
committed
Automated tutorials push
1 parent 1a6b356 commit 6943c77

File tree

201 files changed

+13226
-13077
lines changed

Some content is hidden

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

201 files changed

+13226
-13077
lines changed

_downloads/1ac8a049de0513cb49a0e834e4c27a20/regional_compilation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
============================================================================
44
55
**Author:** `Animesh Jain <https://github.com/anijain2305>`_
6+
67
As deep learning models get larger, the compilation time of these models also
78
increases. This extended compilation time can result in a large startup time in
89
inference services or wasted resources in large-scale training. This recipe
@@ -23,7 +24,7 @@
2324
2425
pip install torch
2526
26-
.. note::
27+
.. note::
2728
This feature is available starting with the 2.5 release. If you are using version 2.4,
2829
you can enable the configuration flag ``torch._dynamo.config.inline_inbuilt_nn_modules=True``
2930
to prevent recompilations during regional compilation. In version 2.5, this flag is enabled by default.

_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": "3f405de1",
37+
"id": "4dac0422",
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "markdown",
53-
"id": "8b704caf",
53+
"id": "d9d3c3d4",
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": "65e65c44",
34+
"id": "335f8dc2",
3535
"metadata": {},
3636
"outputs": [],
3737
"source": [
@@ -47,7 +47,7 @@
4747
},
4848
{
4949
"cell_type": "markdown",
50-
"id": "7fca3a90",
50+
"id": "88467d9a",
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": "b02f0231",
37+
"id": "dafe94d5",
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "markdown",
53-
"id": "cea2f250",
53+
"id": "88fe8d2c",
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": "0adb0193",
38+
"id": "1df017eb",
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [
@@ -51,7 +51,7 @@
5151
},
5252
{
5353
"cell_type": "markdown",
54-
"id": "8aa5630b",
54+
"id": "578bf3ae",
5555
"metadata": {},
5656
"source": [
5757
"\n",

_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": "95c3b59d",
40+
"id": "e7fbf414",
4141
"metadata": {},
4242
"outputs": [],
4343
"source": [
@@ -53,7 +53,7 @@
5353
},
5454
{
5555
"cell_type": "markdown",
56-
"id": "35fe9124",
56+
"id": "3d96f2c9",
5757
"metadata": {},
5858
"source": [
5959
"\n",

_downloads/cbd5804c4553cb4a23dc24137bde6077/regional_compilation.ipynb

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@
2020
"Reducing torch.compile cold start compilation time with regional compilation\n",
2121
"============================================================================\n",
2222
"\n",
23-
"**Author:** [Animesh Jain](https://github.com/anijain2305) As deep\n",
24-
"learning models get larger, the compilation time of these models also\n",
25-
"increases. This extended compilation time can result in a large startup\n",
26-
"time in inference services or wasted resources in large-scale training.\n",
27-
"This recipe shows an example of how to reduce the cold start compilation\n",
28-
"time by choosing to compile a repeated region of the model instead of\n",
29-
"the entire model.\n",
23+
"**Author:** [Animesh Jain](https://github.com/anijain2305)\n",
24+
"\n",
25+
"As deep learning models get larger, the compilation time of these models\n",
26+
"also increases. This extended compilation time can result in a large\n",
27+
"startup time in inference services or wasted resources in large-scale\n",
28+
"training. This recipe shows an example of how to reduce the cold start\n",
29+
"compilation time by choosing to compile a repeated region of the model\n",
30+
"instead of the entire model.\n",
3031
"\n",
3132
"Prerequisites\n",
3233
"-------------\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": "0742f714",
38+
"id": "cf3c8e39",
3939
"metadata": {},
4040
"outputs": [],
4141
"source": [
@@ -51,7 +51,7 @@
5151
},
5252
{
5353
"cell_type": "markdown",
54-
"id": "3a69d50b",
54+
"id": "a26c0941",
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": "c33aeaa9",
37+
"id": "6a4d7c89",
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "markdown",
53-
"id": "5a5833a8",
53+
"id": "99be565a",
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": "1dc9d54e",
37+
"id": "3d8b7f84",
3838
"metadata": {},
3939
"outputs": [],
4040
"source": [
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "markdown",
53-
"id": "e52c29f2",
53+
"id": "3c95a1fd",
5454
"metadata": {},
5555
"source": [
5656
"\n",

0 commit comments

Comments
 (0)