Skip to content

Commit 6df6d6a

Browse files
Merge branch 'aws:master' into feat/conda-forge-release
2 parents 35b6c80 + 89a9e91 commit 6df6d6a

File tree

62 files changed

+2241
-1873
lines changed

Some content is hidden

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

62 files changed

+2241
-1873
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
# Changelog
2+
## v3.7.1 (2026-03-31)
3+
4+
### Features
5+
- **Telemetry**: Added telemetry emitter to `ScriptProcessor` and `FrameworkProcessor`, enabling SDK usage tracking for processing jobs via the telemetry attribution module (new `PROCESSING` feature enum added to telemetry constants)
6+
7+
### Fixes
8+
- **ModelBuilder**: Fixed `accept_eula` handling in ModelBuilder's LoRA deployment path — previously hardcoded to `True`, now respects the user-provided value and raises a `ValueError` if not explicitly set to `True`
9+
- **Evaluate**: Fixed Lambda handler name derivation in the Evaluator — hardcoded the handler to `lambda_function.lambda_handler` instead of deriving it from the source filename, which caused invocation failures when the source file had a non-default name
10+
211
## v3.7.0 (2026-03-25)
312

413
### Fixes

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.7.0
1+
3.7.1

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ classifiers = [
3333
"Programming Language :: Python :: 3.12",
3434
]
3535
dependencies = [
36-
"sagemaker-core>=2.7.0,<3.0.0",
37-
"sagemaker-train>=1.7.0,<2.0.0",
38-
"sagemaker-serve>=1.7.0,<2.0.0",
39-
"sagemaker-mlops>=1.7.0,<2.0.0",
36+
"sagemaker-core>=2.7.1,<3.0.0",
37+
"sagemaker-train>=1.7.1,<2.0.0",
38+
"sagemaker-serve>=1.7.1,<2.0.0",
39+
"sagemaker-mlops>=1.7.1,<2.0.0",
4040
]
4141

4242
[project.optional-dependencies]

sagemaker-core/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
# Changelog
2+
## v2.7.1 (2026-03-31)
3+
4+
### Features
5+
6+
- **Telemetry**: Added telemetry emitter to `ScriptProcessor` and `FrameworkProcessor`, enabling SDK usage tracking for processing jobs via the telemetry attribution module (new `PROCESSING` feature enum added to telemetry constants)
7+
8+
### Bug Fixes
9+
10+
- **ModelBuilder**: Fixed `accept_eula` handling in ModelBuilder's LoRA deployment path — previously hardcoded to `True`, now respects the user-provided value and raises a `ValueError` if not explicitly set to `True`
11+
- **Evaluate**: Fixed Lambda handler name derivation in the Evaluator — hardcoded the handler to `lambda_function.lambda_handler` instead of deriving it from the source filename, which caused invocation failures when the source file had a non-default name
12+
213
## v2.7.0 (2026-03-25)
314

415
### Bug fixes and Other Changes

sagemaker-core/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.0
1+
2.7.1

sagemaker-core/src/sagemaker/core/image_uri_config/djl-lmi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"mx-central-1": "637423239942"
4747
},
4848
"repository": "djl-inference",
49-
"tag_prefix": "0.36.0-lmi22.0.0-cu129"
49+
"tag_prefix": "0.36.0-lmi23.0.0-cu129"
5050
},
5151
"0.35.0": {
5252
"registries": {

sagemaker-core/src/sagemaker/core/processing.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@
7777
from sagemaker.core.workflow.execution_variables import ExecutionVariables
7878
from sagemaker.core.workflow.functions import Join
7979
from sagemaker.core.workflow.pipeline_context import runnable_by_pipeline
80+
from sagemaker.core.telemetry.telemetry_logging import _telemetry_emitter
81+
from sagemaker.core.telemetry.constants import Feature
8082

8183
from sagemaker.core._studio import _append_project_tags
8284
from sagemaker.core.config.config_utils import _append_sagemaker_config_tags
@@ -771,6 +773,7 @@ def __init__(
771773
network_config=network_config,
772774
)
773775

776+
@_telemetry_emitter(feature=Feature.PROCESSING, func_name="ScriptProcessor.run")
774777
@runnable_by_pipeline
775778
def run(
776779
self,
@@ -1171,6 +1174,7 @@ def _package_code(
11711174
os.unlink(tmp.name)
11721175
return s3_uri
11731176

1177+
@_telemetry_emitter(feature=Feature.PROCESSING, func_name="FrameworkProcessor.run")
11741178
@runnable_by_pipeline
11751179
def run(
11761180
self,

sagemaker-core/src/sagemaker/core/telemetry/constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class Feature(Enum):
2929
MODEL_CUSTOMIZATION = 15
3030
MLOPS = 16
3131
FEATURE_STORE = 17
32+
PROCESSING = 18
3233

3334
def __str__(self): # pylint: disable=E0307
3435
"""Return the feature name."""

sagemaker-core/src/sagemaker/core/telemetry/telemetry_logging.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
str(Feature.MODEL_CUSTOMIZATION): 15,
6262
str(Feature.MLOPS): 16,
6363
str(Feature.FEATURE_STORE): 17,
64+
str(Feature.PROCESSING): 18,
6465
}
6566

6667
STATUS_TO_CODE = {

sagemaker-core/tests/unit/image_uris/test_djl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def _test_djl_uris(account, region, version, tag, djl_framework):
8686
# Known missing framework:version:region combinations that don't exist in ECR
8787
KNOWN_MISSING_COMBINATIONS = {
8888
"djl-lmi": {
89-
"0.36.0-lmi22.0.0-cu129": {"ap-east-2"},
89+
"0.36.0-lmi23.0.0-cu129": {"ap-east-2"},
9090
"0.35.0-lmi17.0.0-cu128": {"ap-east-2"},
9191
"0.34.0-lmi16.0.0-cu128": {"ap-east-2"},
9292
"0.33.0-lmi15.0.0-cu128": {"ap-east-2"},

0 commit comments

Comments
 (0)