Skip to content

Commit 103d5b6

Browse files
authored
Merge branch 'master' into amtviz
2 parents 4b7180d + 6fb3b81 commit 103d5b6

File tree

214 files changed

+9406
-3015
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

214 files changed

+9406
-3015
lines changed

.githooks/pre-push

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ start_time=`date +%s`
1212
tox -e sphinx,doc8 --parallel all
1313
./ci-scripts/displaytime.sh 'sphinx,doc8' $start_time
1414
start_time=`date +%s`
15-
tox -e py38,py39,py310 --parallel all -- tests/unit
16-
./ci-scripts/displaytime.sh 'py38,py39,py310 unit' $start_time
15+
tox -e py39,py310,py311,py312 --parallel all -- tests/unit
16+
./ci-scripts/displaytime.sh 'py39,py310,py311,py312 unit' $start_time

.github/workflows/codebuild-ci-health.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
python-version: ["py38", "py39", "py310", "py311"]
29+
python-version: ["py39", "py310", "py311","py312"]
3030
steps:
3131
- name: Configure AWS Credentials
3232
uses: aws-actions/configure-aws-credentials@v4

.github/workflows/codebuild-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
strategy:
6464
fail-fast: false
6565
matrix:
66-
python-version: ["py38","py39","py310","py311"]
66+
python-version: ["py39","py310","py311","py312"]
6767
steps:
6868
- name: Configure AWS Credentials
6969
uses: aws-actions/configure-aws-credentials@v4

.pylintrc

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,24 @@ disable=
9494
useless-object-inheritance, # TODO: Enable this check and fix code once Python 2 is no longer supported.
9595
super-with-arguments,
9696
raise-missing-from,
97-
E1136,
97+
C0116, # Missing function or method docstring
98+
C0209, # Use f-string instead of format
99+
E0015, # Unrecognized option found in config
100+
E0702, # Raising a string instead of an exception
101+
E1101, # Module has no member (likely dynamic attr)
102+
E1136, # Value assigned to something inferred as None
103+
R0022, # Useless option value in config
104+
R1710, # Inconsistent return statements
105+
R1714, # Consider using `in` with comparisons
106+
R1729, # Use a generator
107+
R1732,
108+
R1735, # Consider using a dict or list literal
109+
W0237, # Argument renamed in override
110+
W0613, # Unused argument
111+
W0621, # Redefining name from outer scope
112+
W0719
113+
W1404, # Implicit string concatenation
114+
W1514, # `open()` used without encoding
98115

99116
[REPORTS]
100117
# Set the output format. Available formats are text, parseable, colorized, msvs
@@ -436,4 +453,4 @@ analyse-fallback-blocks=no
436453

437454
# Exceptions that will emit a warning when being caught. Defaults to
438455
# "Exception"
439-
overgeneral-exceptions=Exception
456+
overgeneral-exceptions=builtins.Exception

.readthedocs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
version: 2
66

77
build:
8-
os: ubuntu-20.04
8+
os: ubuntu-22.04
99
tools:
10-
python: "3.9"
10+
python: "3.12"
1111

1212

1313
python:

CHANGELOG.md

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

3+
## v2.244.2 (2025-05-19)
4+
5+
### Bug Fixes and Other Changes
6+
7+
* include model channel for gated uncompressed models
8+
* clarify model monitor one time schedule bug
9+
* update jumpstart region_config 05-15-2025 07:18:15 PST
10+
* update image_uri_configs 05-14-2025 07:18:16 PST
11+
* Add image configs and region config for TPE (ap-east-2)
12+
* Improve defaults handling in ModelTrainer
13+
14+
## v2.244.1 (2025-05-15)
15+
16+
### Bug Fixes and Other Changes
17+
18+
* Fix Flask-Limiter version
19+
* Fix test_huggingface_tei_uris()
20+
* huggingface-llm-neuronx dlc
21+
* huggingface-neuronx dlc image_uri
22+
* huggingface-tei dlc image_uri
23+
* Fix test_deploy_with_update_endpoint()
24+
* add AG v1.3
25+
* parameter mismatch in update_endpoint
26+
* remove --strip-component for untar source tar.gz
27+
* Fix type annotations
28+
* chore: Allow omegaconf >=2.2,<3
29+
* honor json serialization of HPs
30+
* Map llama models to correct script
31+
* pin test dependency
32+
* fix bad initialization script error message
33+
* Improve error logging and documentation for issue 4007
34+
* build(deps): bump scikit-learn
35+
* build(deps): bump mlflow
36+
* build(deps): bump mlflow in /tests/data/serve_resources/mlflow/pytorch
37+
* chore: Add tei 1.6.0 image
38+
39+
## v2.244.0 (2025-05-02)
40+
41+
### Features
42+
43+
* support custom workflow deployment in ModelBuilder using SMD image.
44+
45+
### Bug Fixes and Other Changes
46+
47+
* Add Owner ID check for bucket with path when prefix is provided
48+
* Add model server timeout
49+
* pin mamba version to 24.11.3-2 to avoid inconsistent test runs
50+
* Update ModelTrainer to support s3 uri and tar.gz file as source_dir
51+
* chore: add huggingface images
52+
53+
## v2.243.3 (2025-04-23)
54+
55+
### Bug Fixes and Other Changes
56+
57+
* update readme to reflect py312 upgrade
58+
* Revert the PR changes 5122
59+
* Py312 upgrade step 2: Update dependencies, integ tests and unit tests
60+
* update pr test to deprecate py38 and add py312
61+
* update image_uri_configs 04-16-2025 07:18:18 PST
62+
* update image_uri_configs 04-15-2025 07:18:10 PST
63+
* update image_uri_configs 04-11-2025 07:18:19 PST
64+
65+
## v2.243.2 (2025-04-16)
66+
67+
### Bug Fixes and Other Changes
68+
69+
* tgi image uri unit tests
70+
* Fix deepdiff dependencies
71+
72+
## v2.243.1 (2025-04-11)
73+
74+
### Bug Fixes and Other Changes
75+
76+
* Added handler for pipeline variable while creating process job
77+
* Fix issue #4856 by copying environment variables
78+
* remove historical job_name caching which causes long job name
79+
* Update instance gpu info
80+
* Master
81+
* Add mlflow tracking arn telemetry
82+
* chore: fix semantic versioning for wildcard identifier
83+
* flaky test
84+
85+
### Documentation Changes
86+
87+
* update pipelines step caching examples to include more steps
88+
* update ModelStep data dependency info
89+
90+
## v2.243.0 (2025-03-27)
91+
92+
### Features
93+
94+
* Enabled update_endpoint through model_builder
95+
96+
### Bug Fixes and Other Changes
97+
98+
* Update for PT 2.5.1, SMP 2.8.0
99+
* chore: move jumpstart region definitions to json file
100+
* fix flaky clarify model monitor test
101+
* fix flaky spark processor integ
102+
* use temp file in unit tests
103+
* Update transformers version
104+
* Aligned disable_output_compression for @remote with Estimator
105+
* Update Jinja version
106+
* update image_uri_configs 03-26-2025 07:18:16 PST
107+
* chore: fix integ tests to use latest version of model
108+
* update image_uri_configs 03-25-2025 07:18:13 PST
109+
* Skip tests failed due to deprecated instance type
110+
* update image_uri_configs 03-21-2025 07:17:55 PST
111+
* factor in set instance type when building JumpStart models in ModelBuilder.
112+
* ADD Documentation to ReadtheDocs for Upgrading torch versions
113+
* add new regions to JUMPSTART_LAUNCHED_REGIONS
114+
115+
## v2.242.0 (2025-03-14)
116+
117+
### Features
118+
119+
* add integ tests for training JumpStart models in private hub
120+
121+
### Bug Fixes and Other Changes
122+
123+
* Torch upgrade
124+
* Prevent RunContext overlap between test_run tests
125+
* remove s3 output location requirement from hub class init
126+
* Fixing Pytorch training python version in tests
127+
* update image_uri_configs 03-11-2025 07:18:09 PST
128+
* resolve infinite loop in _find_config on Windows systems
129+
* pipeline definition function doc update
130+
131+
## v2.241.0 (2025-03-06)
132+
133+
### Features
134+
135+
* Make DistributedConfig Extensible
136+
* support training for JumpStart model references as part of Curated Hub Phase 2
137+
* Allow ModelTrainer to accept hyperparameters file
138+
139+
### Bug Fixes and Other Changes
140+
141+
* Skip tests with deprecated instance type
142+
* Ensure Model.is_repack() returns a boolean
143+
* Fix error when there is no session to call _create_model_request()
144+
* Use sagemaker session's s3_resource in download_folder
145+
* Added check for the presence of model package group before creating one
146+
* Fix key error in _send_metrics()
147+
148+
## v2.240.0 (2025-02-25)
149+
150+
### Features
151+
152+
* Add support for TGI Neuronx 0.0.27 and HF PT 2.3.0 image in PySDK
153+
154+
### Bug Fixes and Other Changes
155+
156+
* Remove main function entrypoint in ModelBuilder dependency manager.
157+
* forbid extras in Configs
158+
* altconfig hubcontent and reenable integ test
159+
* Merge branch 'master-rba' into local_merge
160+
* py_version doc fixes
161+
* Add backward compatbility for RecordSerializer and RecordDeserializer
162+
* update image_uri_configs 02-21-2025 06:18:10 PST
163+
* update image_uri_configs 02-20-2025 06:18:08 PST
164+
165+
### Documentation Changes
166+
167+
* Removed a line about python version requirements of training script which can misguide users.
168+
169+
## v2.239.3 (2025-02-19)
170+
171+
### Bug Fixes and Other Changes
172+
173+
* added ap-southeast-7 and mx-central-1 for Jumpstart
174+
* update image_uri_configs 02-19-2025 06:18:15 PST
175+
3176
## v2.239.2 (2025-02-18)
4177

5178
### Bug Fixes and Other Changes

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ Supported Python Versions
9494

9595
SageMaker Python SDK is tested on:
9696

97-
- Python 3.8
9897
- Python 3.9
9998
- Python 3.10
10099
- Python 3.11
100+
- Python 3.12
101101

102102
Telemetry
103103
~~~~~~~~~~~~~~~
@@ -191,9 +191,9 @@ Setup a Python environment, and install the dependencies listed in ``doc/require
191191
::
192192

193193
# conda
194-
conda create -n sagemaker python=3.7
194+
conda create -n sagemaker python=3.12
195195
conda activate sagemaker
196-
conda install sphinx=3.1.1 sphinx_rtd_theme=0.5.0
196+
conda install sphinx=5.1.1 sphinx_rtd_theme=0.5.0
197197

198198
# pip
199199
pip install -r doc/requirements.txt

VERSION

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

0 commit comments

Comments
 (0)