Skip to content

Commit 8ebbb71

Browse files
authored
doc: fix TF requirements.txt documentation (#1526)
1 parent 339b9c7 commit 8ebbb71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/using_tf.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ If there are other packages you want to use with your script, you can use a ``re
140140

141141
For training, support for installing packages using ``requirements.txt`` varies by TensorFlow version as follows:
142142

143-
- For TensorFlow 1.11 or newer using Script Mode without Horovod, TensorFlow 1.15.2 with Python 3.7 or newer, and TensorFlow 2.2 or newer:
143+
- For TensorFlow 1.15.2 with Python 3.7 or newer, and TensorFlow 2.2 or newer:
144144
- Include a ``requirements.txt`` file in the same directory as your training script.
145145
- You must specify this directory using the ``source_dir`` argument when creating a TensorFlow estimator.
146-
- For older versions of TensorFlow using Script Mode with Horovod:
146+
- For older versions of TensorFlow using Script Mode (TensorFlow 1.11-1.15.2, 2.0-2.1 with Python 2.7 or 3.6):
147147
- Write a shell script for your entry point that first calls ``pip install -r requirements.txt``, then runs your training script.
148148
- For an example of using shell scripts, see `this example notebook <https://github.com/awslabs/amazon-sagemaker-examples/blob/master/sagemaker-python-sdk/tensorflow_script_mode_using_shell_commands/tensorflow_script_mode_using_shell_commands.ipynb>`__.
149149
- For older versions of TensorFlow using Legacy Mode:

0 commit comments

Comments
 (0)