Skip to content

Commit a25ce1f

Browse files
committed
Fix a whitespace
1 parent 403bdaf commit a25ce1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/frameworks/pytorch/using_pytorch.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ see `For versions 1.1 and lower <#for-versions-1.1-and-lower>`_.
10491049
Where ``requirements.txt`` is an optional file that specifies dependencies on third-party libraries.
10501050
10511051
Important Packaging Instructions
1052-
------------------------------
1052+
--------------------------------
10531053
10541054
When creating your model artifact (``model.tar.gz``), follow these steps to avoid common deployment issues:
10551055
@@ -1067,7 +1067,7 @@ When creating your model artifact (``model.tar.gz``), follow these steps to avoi
10671067
10681068
**Common Mistakes to Avoid:**
10691069
1070-
* Do NOT create the archive from the parent directory using ``tar czvf model.tar.gz my_model/``.
1070+
* Do NOT create the archive from the parent directory using ``tar czvf model.tar.gz my_model/``.
10711071
This creates an extra directory level that will cause deployment errors.
10721072
* Ensure ``inference.py`` is directly under the ``code/`` directory in your archive.
10731073
* Verify your archive structure using:
@@ -1104,7 +1104,7 @@ Now call the :class:`sagemaker.pytorch.model.PyTorchModel` constructor to create
11041104
Now you can call the ``predict()`` method to get predictions from your deployed model.
11051105
11061106
Troubleshooting
1107-
--------------
1107+
---------------
11081108
11091109
If you encounter a ``FileNotFoundError`` for ``inference.py``, check:
11101110

0 commit comments

Comments
 (0)