We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d64ad40 commit cf07ba7Copy full SHA for cf07ba7
src/sagemaker/image_uris.py
@@ -118,7 +118,16 @@ def retrieve(
118
pt_or_tf_version = (
119
re.compile("^(pytorch|tensorflow)(.*)$").match(base_framework_version).group(2)
120
)
121
- tag_prefix = f"{pt_or_tf_version}-transformers{original_version}"
+
122
+ _version = original_version
123
+ if repo in [
124
+ "huggingface-pytorch-trcomp-training",
125
+ "huggingface-tensorflow-trcomp-training",
126
+ ]:
127
+ _version = version
128
129
+ tag_prefix = f"{pt_or_tf_version}-transformers{_version}"
130
131
else:
132
tag_prefix = version_config.get("tag_prefix", version)
133
0 commit comments