Skip to content

Commit 7ac80e2

Browse files
authored
fix: model table link (#3211)
1 parent c70e30c commit 7ac80e2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/sagemaker/jumpstart/cache.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def _get_manifest_key_from_model_id_semantic_version(
215215

216216
error_msg = f"Unable to find model manifest for '{model_id}' with version '{version}'. "
217217
error_msg += (
218-
"Visit https://sagemaker.readthedocs.io/en/stable/doc_utils/jumpstart.html"
218+
"Visit https://sagemaker.readthedocs.io/en/stable/doc_utils/pretrainedmodels.html"
219219
" for updated list of models. "
220220
)
221221

tests/unit/sagemaker/jumpstart/test_cache.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def test_jumpstart_cache_get_header():
163163
)
164164
assert (
165165
"Unable to find model manifest for 'pytorch-ic-imagenet-inception-v3-classification-4' with "
166-
"version '3.*'. Visit https://sagemaker.readthedocs.io/en/stable/doc_utils/jumpstart.html "
166+
"version '3.*'. Visit https://sagemaker.readthedocs.io/en/stable/doc_utils/pretrainedmodels.html "
167167
"for updated list of models. Consider using model ID 'pytorch-ic-imagenet-inception-v3-"
168168
"classification-4' with version '2.0.0'."
169169
) in str(e.value)
@@ -172,7 +172,7 @@ def test_jumpstart_cache_get_header():
172172
cache.get_header(model_id="pytorch-ic-", semantic_version_str="*")
173173
assert (
174174
"Unable to find model manifest for 'pytorch-ic-' with version '*'. "
175-
"Visit https://sagemaker.readthedocs.io/en/stable/doc_utils/jumpstart.html "
175+
"Visit https://sagemaker.readthedocs.io/en/stable/doc_utils/pretrainedmodels.html "
176176
"for updated list of models. "
177177
"Did you mean to use model ID 'pytorch-ic-imagenet-inception-v3-classification-4'?"
178178
) in str(e.value)
@@ -181,7 +181,7 @@ def test_jumpstart_cache_get_header():
181181
cache.get_header(model_id="tensorflow-ic-", semantic_version_str="*")
182182
assert (
183183
"Unable to find model manifest for 'tensorflow-ic-' with version '*'. "
184-
"Visit https://sagemaker.readthedocs.io/en/stable/doc_utils/jumpstart.html "
184+
"Visit https://sagemaker.readthedocs.io/en/stable/doc_utils/pretrainedmodels.html "
185185
"for updated list of models. "
186186
"Did you mean to use model ID 'tensorflow-ic-imagenet-inception-"
187187
"v3-classification-4'?"

0 commit comments

Comments
 (0)