Skip to content

Commit 7a94820

Browse files
eslesar-awsnadiaya
authored andcommitted
doc: remove duplicate content from PyTorch readme and fix internal links (#750)
1 parent 21a0648 commit 7a94820

File tree

3 files changed

+6
-650
lines changed

3 files changed

+6
-650
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,9 @@ We recommend that you use the latest supported version, because that's where we
210210

211211
For more information about PyTorch, see https://github.com/pytorch/pytorch.
212212

213-
For more information about PyTorch SageMaker ``Estimators``, see `PyTorch SageMaker Estimators and Models`_.
213+
For more information about PyTorch SageMaker ``Estimators``, see `Using PyTorch with the SageMaker Python SDK`_.
214214

215-
.. _PyTorch SageMaker Estimators and Models: src/sagemaker/pytorch/README.rst
215+
.. _Using PyTorch with the SageMaker Python SDK: https://sagemaker.readthedocs.io/en/stable/using_pytorch.html
216216

217217

218218
Scikit-learn SageMaker Estimators

doc/using_pytorch.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Using third-party libraries
114114
~~~~~~~~~~~~~~~~~~~~~~~~~~~
115115

116116
When running your training script on SageMaker, it will have access to some pre-installed third-party libraries including ``torch``, ``torchvisopm``, and ``numpy``.
117-
For more information on the runtime environment, including specific package versions, see `SageMaker PyTorch Docker containers <#sagemaker-pytorch-docker-containers>`__.
117+
For more information on the runtime environment, including specific package versions, see `SageMaker PyTorch Docker containers <#id4>`__.
118118

119119
If there are other packages you want to use with your script, you can include a ``requirements.txt`` file in the same directory as your training script to install other dependencies at runtime.
120120
A ``requirements.txt`` file is a text file that contains a list of items that are installed by using ``pip install``. You can also specify the version of an item to install.
@@ -223,7 +223,7 @@ The following are optional arguments. When you create a ``PyTorch`` object, you
223223
serving. If specified, the estimator will use this image for training and
224224
hosting, instead of selecting the appropriate SageMaker official image based on
225225
framework_version and py_version. Refer to: `SageMaker PyTorch Docker Containers
226-
<#sagemaker-pytorch-docker-containers>`_ for details on what the Official images support
226+
<#id4>`_ for details on what the Official images support
227227
and where to find the source code to build your custom image.
228228

229229
Calling fit
@@ -665,7 +665,7 @@ https://github.com/awslabs/amazon-sagemaker-examples/tree/master/sagemaker-pytho
665665
These are also available in SageMaker Notebook Instance hosted Jupyter notebooks under the sample notebooks folder.
666666

667667

668-
SageMaker PyTorch Docker Containers
668+
SageMaker PyTorch Docker containers
669669
-----------------------------------
670670

671671
When training and deploying training scripts, SageMaker runs your Python script in a Docker container with several

0 commit comments

Comments
 (0)