Skip to content

Commit df99cf7

Browse files
authored
Merge branch 'main' into jafraust/ddp
2 parents c281495 + 4696f66 commit df99cf7

35 files changed

+950
-1291
lines changed

.ci/docker/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pandocfilters==1.5.1
1616
markdown==3.8.2
1717

1818
# PyTorch Theme
19-
-e git+https://github.com/pytorch/pytorch_sphinx_theme.git@pytorch_sphinx_theme2#egg=pytorch_sphinx_theme2
19+
-e git+https://github.com/pytorch/pytorch_sphinx_theme.git@e0cbfaf789a51899859f2c7626e0ad3a78ad4c2e#egg=pytorch_sphinx_theme2
2020

2121
# Tutorial dependencies
2222
tqdm==4.66.1

CONTRIBUTING.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ There are three types of tutorial content that we host on
7171
reStructuredText files. The build system only converts them into HTML;
7272
the code in them does not run on build. These tutorials are easier to
7373
create and maintain but they do not provide an interactive experience.
74-
An example is the [Dynamic Quantization
75-
tutorial](https://pytorch.org/tutorials/recipes/recipes/dynamic_quantization.html).
74+
7675

7776
* **Recipes** are tutorials that provide bite-sized, actionable
7877
examples of how to use specific features, which differentiates them
@@ -265,7 +264,7 @@ search, you need to include it in `index.rst`, or for recipes, in
265264
1. Open the relevant file
266265
[`index.rst`](https://github.com/pytorch/tutorials/blob/main/index.rst)
267266
or
268-
[`recipes_index.rst`](https://github.com/pytorch/tutorials/blob/main/recipes_source/recipes_index.rst)
267+
[`recipes_index.rst`](https://github.com/pytorch/tutorials/blob/main/recipes_index.rst)
269268
1. Add a _card_ in reStructuredText format similar to the following:
270269

271270
```

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ NOTE: Before submitting a new tutorial, read [PyTorch Tutorial Submission Policy
2727
1. Create a Python file. If you want it executed while inserted into documentation, save the file with the suffix `tutorial` so that the file name is `your_tutorial.py`.
2828
2. Put it in one of the `beginner_source`, `intermediate_source`, `advanced_source` directory based on the level of difficulty. If it is a recipe, add it to `recipes_source`. For tutorials demonstrating unstable prototype features, add to the `prototype_source`.
2929
3. For Tutorials (except if it is a prototype feature), include it in the `toctree` directive and create a `customcarditem` in [index.rst](./index.rst).
30-
4. For Tutorials (except if it is a prototype feature), create a thumbnail in the [index.rst file](https://github.com/pytorch/tutorials/blob/main/index.rst) using a command like `.. customcarditem:: beginner/your_tutorial.html`. For Recipes, create a thumbnail in the [recipes_index.rst](https://github.com/pytorch/tutorials/blob/main/recipes_source/recipes_index.rst)
30+
4. For Tutorials (except if it is a prototype feature), create a thumbnail in the [index.rst file](https://github.com/pytorch/tutorials/blob/main/index.rst) using a command like `.. customcarditem:: beginner/your_tutorial.html`. For Recipes, create a thumbnail in the [recipes_index.rst](https://github.com/pytorch/tutorials/blob/main/recipes_index.rst)
3131

3232
If you are starting off with a Jupyter notebook, you can use [this script](https://gist.github.com/chsasank/7218ca16f8d022e02a9c0deb94a310fe) to convert the notebook to Python file. After conversion and addition to the project, please make sure that section headings and other things are in logical order.
3333

226 KB
Loading
61.7 KB
Loading
66.7 KB
Loading

advanced_source/README.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,3 @@ Advanced Tutorials
88
2. numpy_extensions_tutorial.py
99
Creating Extensions Using numpy and scipy
1010
https://pytorch.org/tutorials/advanced/numpy_extensions_tutorial.html
11-
12-
3. cpp_extension.rst
13-
Custom C Extensions for PyTorch
14-
https://docs.pytorch.org/tutorials/advanced/cpp_extension.html

0 commit comments

Comments
 (0)