Skip to content

Commit a263067

Browse files
authored
Merge branch 'master' into feature-release
2 parents 7993b77 + f66b866 commit a263067

File tree

18 files changed

+136
-18
lines changed

18 files changed

+136
-18
lines changed

CHANGELOG.md

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

3+
## v2.224.4 (2024-07-04)
4+
5+
### Bug Fixes and Other Changes
6+
7+
* allow for inf spec and server override to be passed
8+
9+
## v2.224.3 (2024-07-03)
10+
11+
### Bug Fixes and Other Changes
12+
13+
* Upgrade local dependencies
14+
* Improve docstrings for estimator tags
15+
16+
## v2.224.2 (2024-06-27)
17+
18+
### Bug Fixes and Other Changes
19+
20+
* Update DJLModel class for latest container releases
21+
* list_models() for python3.8
22+
323
## v2.224.1 (2024-06-21)
424

525
### Bug Fixes and Other Changes

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.224.2.dev0
1+
2.224.5.dev0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
urllib3>=1.26.8,<3.0.0
2-
docker>=5.0.2,<7.0.0
2+
docker>=5.0.2,<8.0.0
33
PyYAML>=5.4.1,<7

requirements/extras/test_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ accelerate>=0.24.1,<=0.27.0
3838
schema==0.7.5
3939
tensorflow>=2.1,<=2.16
4040
mlflow>=2.12.2,<2.13
41-
huggingface_hub>=0.23.4
41+
huggingface_hub>=0.23.4

src/sagemaker/estimator.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,10 @@ def __init__(
274274
AWS services needed. If not specified, the estimator creates one
275275
using the default AWS configuration chain.
276276
tags (Optional[Tags]):
277-
Tags for labeling a training job. For more, see
277+
Tags for labeling a training job. These won't be propagated to Models,
278+
Endpoints during :meth:`~sagemaker.estimator.EstimatorBase.deploy`. The
279+
:meth:`~sagemaker.estimator.EstimatorBase.deploy` takes in a seperate
280+
tags parameter. For more on tags, see
278281
https://docs.aws.amazon.com/sagemaker/latest/dg/API_Tag.html.
279282
subnets (list[str] or list[PipelineVariable]): List of subnet ids. If not
280283
specified training job will be created without VPC config.

src/sagemaker/image_uri_config/pytorch.json

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,8 @@
11071107
"1.12": "1.12.1",
11081108
"2.0": "2.0.1",
11091109
"2.1": "2.1.0",
1110-
"2.2": "2.2.1"
1110+
"2.2": "2.2.1",
1111+
"2.3": "2.3.0"
11111112
},
11121113
"versions": {
11131114
"1.12.1": {
@@ -1331,6 +1332,50 @@
13311332
"us-west-2": "763104351884"
13321333
},
13331334
"repository": "pytorch-inference-graviton"
1335+
},
1336+
"2.3.0": {
1337+
"container_version": {
1338+
"cpu": "ubuntu20.04"
1339+
},
1340+
"py_versions": [
1341+
"py311"
1342+
],
1343+
"registries": {
1344+
"af-south-1": "626614931356",
1345+
"ap-east-1": "871362719292",
1346+
"ap-northeast-1": "763104351884",
1347+
"ap-northeast-2": "763104351884",
1348+
"ap-northeast-3": "364406365360",
1349+
"ap-south-1": "763104351884",
1350+
"ap-south-2": "772153158452",
1351+
"ap-southeast-1": "763104351884",
1352+
"ap-southeast-2": "763104351884",
1353+
"ap-southeast-3": "907027046896",
1354+
"ap-southeast-4": "457447274322",
1355+
"ca-central-1": "763104351884",
1356+
"ca-west-1": "204538143572",
1357+
"cn-north-1": "727897471807",
1358+
"cn-northwest-1": "727897471807",
1359+
"eu-central-1": "763104351884",
1360+
"eu-central-2": "380420809688",
1361+
"eu-north-1": "763104351884",
1362+
"eu-south-1": "692866216735",
1363+
"eu-south-2": "503227376785",
1364+
"eu-west-1": "763104351884",
1365+
"eu-west-2": "763104351884",
1366+
"eu-west-3": "763104351884",
1367+
"il-central-1": "780543022126",
1368+
"me-central-1": "914824155844",
1369+
"me-south-1": "217643126080",
1370+
"sa-east-1": "763104351884",
1371+
"us-east-1": "763104351884",
1372+
"us-east-2": "763104351884",
1373+
"us-gov-east-1": "446045086412",
1374+
"us-gov-west-1": "442386744353",
1375+
"us-west-1": "763104351884",
1376+
"us-west-2": "763104351884"
1377+
},
1378+
"repository": "pytorch-inference-graviton"
13341379
}
13351380
}
13361381
},

src/sagemaker/jumpstart/constants.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@
206206

207207
JUMPSTART_MODEL_HUB_NAME = "SageMakerPublicHub"
208208

209+
JUMPSTART_MODEL_HUB_NAME = "SageMakerPublicHub"
210+
209211
JUMPSTART_DEFAULT_MANIFEST_FILE_S3_KEY = "models_manifest.json"
210212
JUMPSTART_DEFAULT_PROPRIETARY_MANIFEST_KEY = "proprietary-sdk-manifest.json"
211213

src/sagemaker/jumpstart/enums.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,8 @@ class JumpStartTag(str, Enum):
9393
MODEL_ID = "sagemaker-sdk:jumpstart-model-id"
9494
MODEL_VERSION = "sagemaker-sdk:jumpstart-model-version"
9595
MODEL_TYPE = "sagemaker-sdk:jumpstart-model-type"
96-
9796
INFERENCE_CONFIG_NAME = "sagemaker-sdk:jumpstart-inference-config-name"
9897
TRAINING_CONFIG_NAME = "sagemaker-sdk:jumpstart-training-config-name"
99-
10098
HUB_CONTENT_ARN = "sagemaker-sdk:hub-content-arn"
10199

102100

src/sagemaker/jumpstart/factory/estimator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
from sagemaker.jumpstart.utils import (
6363
add_hub_content_arn_tags,
6464
add_jumpstart_model_info_tags,
65+
add_jumpstart_model_id_version_tags,
6566
get_eula_message,
6667
get_default_jumpstart_session_with_user_agent_suffix,
6768
update_dict_if_key_not_present,

src/sagemaker/jumpstart/factory/model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
from sagemaker.jumpstart.utils import (
5050
add_hub_content_arn_tags,
5151
add_jumpstart_model_info_tags,
52+
add_jumpstart_model_id_version_tags,
5253
get_default_jumpstart_session_with_user_agent_suffix,
5354
get_neo_content_bucket,
5455
update_dict_if_key_not_present,

0 commit comments

Comments
 (0)