Skip to content

Commit d5c3779

Browse files
authored
Merge branch 'master' into wait_for_endpoint
2 parents 03dc13c + e066c64 commit d5c3779

20 files changed

+944
-42
lines changed

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,45 @@
11
# Changelog
22

3+
## v2.62.0 (2021-10-12)
4+
5+
### Features
6+
7+
* Hugging Face Transformers 4.10 for Pt1.8/TF2.4 & Transformers 4.11 for PT1.9&TF2.5
8+
9+
### Bug Fixes and Other Changes
10+
11+
* repack_model script used in pipelines to support source_dir and dependencies
12+
13+
## v2.61.0 (2021-10-11)
14+
15+
### Features
16+
17+
* add support for PyTorch 1.9.0
18+
19+
### Bug Fixes and Other Changes
20+
21+
* Update TRAINING_DEFAULT_TIMEOUT_MINUTES to 40 min
22+
* notebook test for parallel PRs
23+
24+
## v2.60.0 (2021-10-08)
25+
26+
### Features
27+
28+
* Add support for Hugging Face 4.10.2
29+
30+
## v2.59.8 (2021-10-07)
31+
32+
### Bug Fixes and Other Changes
33+
34+
* fix feature store ingestion via data wrangler test
35+
36+
## v2.59.7 (2021-10-04)
37+
38+
### Bug Fixes and Other Changes
39+
40+
* update feature request label
41+
* update bug template
42+
343
## v2.59.6 (2021-09-30)
444

545
### Bug Fixes and Other Changes

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.59.7.dev0
1+
2.62.1.dev0

src/sagemaker/fw_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
)
6161
SM_DATAPARALLEL_SUPPORTED_FRAMEWORK_VERSIONS = {
6262
"tensorflow": ["2.3", "2.3.1", "2.3.2", "2.4", "2.4.1"],
63-
"pytorch": ["1.6", "1.6.0", "1.7", "1.7.1", "1.8", "1.8.0", "1.8.1"],
63+
"pytorch": ["1.6", "1.6.0", "1.7", "1.7.1", "1.8", "1.8.0", "1.8.1", "1.9", "1.9.0"],
6464
}
6565
SMDISTRIBUTED_SUPPORTED_STRATEGIES = ["dataparallel", "modelparallel"]
6666

@@ -298,7 +298,7 @@ def framework_name_from_image(image_uri):
298298
(tensorflow|mxnet|chainer|pytorch|scikit-learn|xgboost
299299
|huggingface-tensorflow|huggingface-pytorch)(?:-)?
300300
(scriptmode|training)?
301-
:(.*)-(.*?)-(py2|py3[67]?)(?:.*)$""",
301+
:(.*)-(.*?)-(py2|py3\d*)(?:.*)$""",
302302
re.VERBOSE,
303303
)
304304
name_match = name_pattern.match(sagemaker_match.group(9))
@@ -329,7 +329,7 @@ def framework_version_from_tag(image_tag):
329329
Returns:
330330
str: The framework version.
331331
"""
332-
tag_pattern = re.compile("^(.*)-(cpu|gpu)-(py2|py3[67]?)$")
332+
tag_pattern = re.compile(r"^(.*)-(cpu|gpu)-(py2|py3\d*)$")
333333
tag_match = tag_pattern.match(image_tag)
334334
return None if tag_match is None else tag_match.group(1)
335335

src/sagemaker/huggingface/estimator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ def __init__(
178178
if "enable_sagemaker_metrics" not in kwargs:
179179
kwargs["enable_sagemaker_metrics"] = True
180180

181+
kwargs["py_version"] = self.py_version
182+
181183
super(HuggingFace, self).__init__(
182184
entry_point, source_dir, hyperparameters, image_uri=image_uri, **kwargs
183185
)

0 commit comments

Comments
 (0)