Skip to content

Commit 11df130

Browse files
authored
doc: fix MXNet version info for requirements.txt support (#1715)
1 parent 25275f3 commit 11df130

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/frameworks/mxnet/using_mxnet.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,13 +321,14 @@ If there are other packages you want to use with your script, you can include a
321321
Both ``requirements.txt`` and your training script should be put in the same folder.
322322
You must specify this folder in ``source_dir`` argument when creating an MXNet estimator.
323323

324-
The function of installing packages using ``requirements.txt`` is supported for all MXNet versions during training.
324+
The function of installing packages using ``requirements.txt`` is supported for MXNet versions 1.3.0 and higher during training.
325+
325326
When serving an MXNet model, support for this function varies with MXNet versions.
326327
For MXNet 1.6.0 or newer, ``requirements.txt`` must be under folder ``code``.
327328
The SageMaker MXNet Estimator automatically saves ``code`` in ``model.tar.gz`` after training (assuming you set up your script and ``requirements.txt`` correctly as stipulated in the previous paragraph).
328329
In the case of bringing your own trained model for deployment, you must save ``requirements.txt`` under folder ``code`` in ``model.tar.gz`` yourself or specify it through ``dependencies``.
329-
For MXNet 1.4.1, ``requirements.txt`` is not supported for inference.
330-
For MXNet 0.12.1-1.3.0, ``requirements.txt`` must be in ``source_dir``.
330+
For MXNet 0.12.1-1.2.1, 1.4.0-1.4.1, ``requirements.txt`` is not supported for inference.
331+
For MXNet 1.3.0, ``requirements.txt`` must be in ``source_dir``.
331332

332333
A ``requirements.txt`` file is a text file that contains a list of items that are installed by using ``pip install``.
333334
You can also specify the version of an item to install.

0 commit comments

Comments
 (0)