diff --git a/src/sagemaker/jumpstart/cache.py b/src/sagemaker/jumpstart/cache.py index a53eefc9e6..ac1ed5a17f 100644 --- a/src/sagemaker/jumpstart/cache.py +++ b/src/sagemaker/jumpstart/cache.py @@ -215,7 +215,7 @@ def _get_manifest_key_from_model_id_semantic_version( error_msg = f"Unable to find model manifest for '{model_id}' with version '{version}'. " error_msg += ( - "Visit https://sagemaker.readthedocs.io/en/stable/doc_utils/jumpstart.html" + "Visit https://sagemaker.readthedocs.io/en/stable/doc_utils/pretrainedmodels.html" " for updated list of models. " ) diff --git a/tests/unit/sagemaker/jumpstart/test_cache.py b/tests/unit/sagemaker/jumpstart/test_cache.py index 93e8114185..f87820114d 100644 --- a/tests/unit/sagemaker/jumpstart/test_cache.py +++ b/tests/unit/sagemaker/jumpstart/test_cache.py @@ -163,7 +163,7 @@ def test_jumpstart_cache_get_header(): ) assert ( "Unable to find model manifest for 'pytorch-ic-imagenet-inception-v3-classification-4' with " - "version '3.*'. Visit https://sagemaker.readthedocs.io/en/stable/doc_utils/jumpstart.html " + "version '3.*'. Visit https://sagemaker.readthedocs.io/en/stable/doc_utils/pretrainedmodels.html " "for updated list of models. Consider using model ID 'pytorch-ic-imagenet-inception-v3-" "classification-4' with version '2.0.0'." ) in str(e.value) @@ -172,7 +172,7 @@ def test_jumpstart_cache_get_header(): cache.get_header(model_id="pytorch-ic-", semantic_version_str="*") assert ( "Unable to find model manifest for 'pytorch-ic-' with version '*'. " - "Visit https://sagemaker.readthedocs.io/en/stable/doc_utils/jumpstart.html " + "Visit https://sagemaker.readthedocs.io/en/stable/doc_utils/pretrainedmodels.html " "for updated list of models. " "Did you mean to use model ID 'pytorch-ic-imagenet-inception-v3-classification-4'?" ) in str(e.value) @@ -181,7 +181,7 @@ def test_jumpstart_cache_get_header(): cache.get_header(model_id="tensorflow-ic-", semantic_version_str="*") assert ( "Unable to find model manifest for 'tensorflow-ic-' with version '*'. " - "Visit https://sagemaker.readthedocs.io/en/stable/doc_utils/jumpstart.html " + "Visit https://sagemaker.readthedocs.io/en/stable/doc_utils/pretrainedmodels.html " "for updated list of models. " "Did you mean to use model ID 'tensorflow-ic-imagenet-inception-" "v3-classification-4'?"