diff --git a/src/sagemaker/image_uri_config/tensorflow.json b/src/sagemaker/image_uri_config/tensorflow.json index 6a2318ddbe..b645772e2f 100644 --- a/src/sagemaker/image_uri_config/tensorflow.json +++ b/src/sagemaker/image_uri_config/tensorflow.json @@ -285,7 +285,8 @@ "2.5": "2.5.1", "2.6": "2.6.3", "2.7": "2.7.0", - "2.8": "2.8.0" + "2.8": "2.8.0", + "2.9": "2.9.0" }, "versions": { "1.10.0": { @@ -1468,6 +1469,36 @@ "us-west-2": "763104351884" }, "repository": "tensorflow-inference" + }, + "2.9.0": { + "registries": { + "af-south-1": "626614931356", + "ap-east-1": "871362719292", + "ap-northeast-1": "763104351884", + "ap-northeast-2": "763104351884", + "ap-northeast-3": "364406365360", + "ap-south-1": "763104351884", + "ap-southeast-1": "763104351884", + "ap-southeast-2": "763104351884", + "ca-central-1": "763104351884", + "cn-north-1": "727897471807", + "cn-northwest-1": "727897471807", + "eu-central-1": "763104351884", + "eu-north-1": "763104351884", + "eu-south-1": "692866216735", + "eu-west-1": "763104351884", + "eu-west-2": "763104351884", + "eu-west-3": "763104351884", + "me-south-1": "217643126080", + "sa-east-1": "763104351884", + "us-east-1": "763104351884", + "us-east-2": "763104351884", + "us-gov-west-1": "442386744353", + "us-iso-east-1": "886529160074", + "us-west-1": "763104351884", + "us-west-2": "763104351884" + }, + "repository": "tensorflow-inference" } } }, diff --git a/tests/conftest.py b/tests/conftest.py index 59397ec9af..e8b3aef577 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -408,12 +408,16 @@ def tf_full_version(tensorflow_training_latest_version, tensorflow_inference_lat Fixture exists as such, since TF training and TFS have different latest versions. Otherwise, this would simply be a single latest version. """ - return str( + version = str( min( Version(tensorflow_training_latest_version), Version(tensorflow_inference_latest_version), ) ) + # Hack. See https://github.com/aws/sagemaker-python-sdk/pull/3251 + if version == "2.9.0": + return "2.9" + return version @pytest.fixture(scope="module")