sagemaker-python-sdk icon indicating copy to clipboard operation
sagemaker-python-sdk copied to clipboard

Network Isolation for TensorFlow Training Requires Setting `model_dir` to `False` when creating a TensorFlow Estimator Object

Open evakravi opened this issue 5 years ago • 1 comments

Describe the bug In order to enable network isolation for Tensorflow training, we must set model_dir=False when creating a TensorFlow Estimator object. See: https://github.com/aws/sagemaker-python-sdk/blob/9b437be692e54ae9b2761a1bb774b405d88213b8/src/sagemaker/tensorflow/estimator.py#L69-L70

This is not intuitive for the user, and took several months for SageMaker JumpStart team to identify.

evakravi avatar Oct 13 '21 20:10 evakravi

Hi @evakravi

Great news! This issue has been resolved with the release of SageMaker Python SDK v3.

How to Get the Latest Version

You can upgrade to the latest v3 package using pip:

pip install --upgrade sagemaker

##Or specify the version explicitly:
pip install sagemaker>=3.0.0

Additional Resources:

 PyPI: https://pypi.org/project/sagemaker/  Documentation: https://sagemaker.readthedocs.io/

If you're still experiencing this issue after upgrading, please feel free to reopen this issue or create a new one with updated details.

mollyheamazon avatar Feb 02 '26 23:02 mollyheamazon