Skip to content

Commit f41e31d

Browse files
authored
Merge branch 'master' into patch-1
2 parents 6fb800f + 1707a90 commit f41e31d

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

.circleci/config.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -562,10 +562,11 @@ workflows:
562562
branches:
563563
only:
564564
- master
565-
- pytorch_windows_build_worker:
566-
name: win_test_worker
567-
filters:
568-
branches:
569-
only:
570-
- master
565+
# - pytorch_windows_build_worker:
566+
# name: win_test_worker
567+
# type: approval
568+
# filters:
569+
# branches:
570+
# only:
571+
# - master
571572

index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ Welcome to PyTorch Tutorials
206206
:header: (prototype) Introduction to Named Tensors in PyTorch
207207
:card_description: Learn how to use PyTorch to train a Deep Q Learning (DQN) agent on the CartPole-v0 task from the OpenAI Gym.
208208
:image: _static/img/thumbnails/cropped/experimental-Introduction-to-Named-Tensors-in-PyTorch.png
209-
:link: intermediate/memory_format_tutorial.html
209+
:link: /intermediate/named_tensor_tutorial.html
210210
:tags: Frontend-APIs,Named-Tensor,Best-Practice
211211

212212
.. customcarditem::

intermediate_source/model_parallel_tutorial.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def forward(self, x):
8686
#
8787
# It is also possible to run an existing single-GPU module on multiple GPUs
8888
# with just a few lines of changes. The code below shows how to decompose
89-
# ``torchvision.models.reset50()`` to two GPUs. The idea is to inherit from
89+
# ``torchvision.models.resnet50()`` to two GPUs. The idea is to inherit from
9090
# the existing ``ResNet`` module, and split the layers to two GPUs during
9191
# construction. Then, override the ``forward`` method to stitch two
9292
# sub-networks by moving the intermediate outputs accordingly.
@@ -136,7 +136,7 @@ def forward(self, x):
136136
#
137137
# Let us run an experiment to get a more quantitative view of the execution
138138
# time. In this experiment, we train ``ModelParallelResNet50`` and the existing
139-
# ``torchvision.models.reset50()`` by running random inputs and labels through
139+
# ``torchvision.models.resnet50()`` by running random inputs and labels through
140140
# them. After the training, the models will not produce any useful predictions,
141141
# but we can get a reasonable understanding of the execution times.
142142

recipes_source/recipes_index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PyTorch Recipes
22
---------------------------------------------
3-
Recipes are bite-sized bite-sized, actionable examples of how to use specific PyTorch features, different from our full-length tutorials.
3+
Recipes are bite-sized, actionable examples of how to use specific PyTorch features, different from our full-length tutorials.
44

55
.. raw:: html
66

@@ -40,14 +40,14 @@ Recipes are bite-sized bite-sized, actionable examples of how to use specific Py
4040

4141
.. customcarditem::
4242
:header: Defining a Neural Network
43-
:card_description: Learn how to use PyTorch's torch.nn package to create and define a neural network the MNIST dataset.
43+
:card_description: Learn how to use PyTorch's torch.nn package to create and define a neural network for the MNIST dataset.
4444
:image: ../_static/img/thumbnails/cropped/defining-a-network.PNG
4545
:link: ../recipes/recipes/defining_a_neural_network.html
4646
:tags: Basics
4747

4848
.. customcarditem::
4949
:header: What is a state_dict in PyTorch
50-
:card_description: Learn how state_dict objects, Python dictionaries, are used in saving or loading models from PyTorch.
50+
:card_description: Learn how state_dict objects and Python dictionaries are used in saving or loading models from PyTorch.
5151
:image: ../_static/img/thumbnails/cropped/what-is-a-state-dict.PNG
5252
:link: ../recipes/recipes/what_is_state_dict.html
5353
:tags: Basics
@@ -90,7 +90,7 @@ Recipes are bite-sized bite-sized, actionable examples of how to use specific Py
9090

9191
.. customcarditem::
9292
:header: Zeroing out gradients in PyTorch
93-
:card_description: Learn when you should zero out graidents and how doing so can help increase the accuracy of your model.
93+
:card_description: Learn when you should zero out gradients and how doing so can help increase the accuracy of your model.
9494
:image: ../_static/img/thumbnails/cropped/zeroing-out-gradients.PNG
9595
:link: ../recipes/recipes/zeroing_out_gradients.html
9696
:tags: Basics

0 commit comments

Comments
 (0)