Repository navigation
Releases
Releases · aws/sagemaker-python-sdk
v3.30.0
v3.30.0 (2026-11-16)
Packages: sagemaker 3.30.0, sagemaker-core 2.30.0, sagemaker-train 1.30.0, sagemaker-serve 1.30.0, sagemaker-mlops 1.30.0.
New Features
- feature: add DataPreparer for data generation, quality evaluation, and transformation jobs (#6585)
- feat: support managed pipelines in Pipeline.start and Pipeline.get_all (#6581)
- feat(workflow): Add IfExpression and Omit for step arguments (#6567)
- feature: Add pipeline version alias support to Pipeline (#6574)
- feature: Add HubContentStep and Session.import_hub_content (#6565)
- feat: update SDK to use latest LMI v30 image for sdk v3.x (#6483)
- feat: Add
dataset_file_formatparameter to DataSet.create(). Defaults to "Custom" - feat: Add
document_schema_versionparameter to DataSet.create(). Defaults to "5.0.0" - change: update image_uri_configs 11-06-2026, 11-09-2026, 11-13-2026 and 11-16-2026
- change: Daily Sync with Botocore v1.44.2 (#6583)
Bug Fixes
- fix: preserve AgentCore context in RFT handlers (#6571)
- fix: validate RFT rewards before reporting rollout success (#6572)
- fix: Python 3.14 tuner tags (#6554) and tuner source staging bucket (#6555) (#6578)
- fix: apply ModelTrainer output KMS key to tuner source upload (#6555) (#6559)
- fix: expose local training result from ModelTrainer.train (#6556) (#6560)
- fix: create AI Registry boto3 clients lazily to avoid import-time region errors (#6558)
- fix: training-sessions - drop the static model list (#6568)
- fix: use the shifted input form in training session loss input examples (#6584)
- fix: use a distinct source URI for the FP pipeline version context (#6540)
- fix: Update DataSet.create() default document_schema_version from "2.0.0" to "5.0.0"
- fix: Produce v5-compatible hub content document instead of legacy v2 fields rejected by the v5 schema
v3.29.0
SageMaker Python SDK v3.29.0
Packages: sagemaker 3.29.0 · sagemaker-core 2.29.0 · sagemaker-train 1.29.0 · sagemaker-serve 1.29.0 · sagemaker-mlops 1.29.0
New Features
- serve: describe an endpoint's traffic and size workloads from it (#6552)
- Update
image_uri_configs
Bug Fixes
v3.28.0
SageMaker Python SDK 3.28.0
Packages: sagemaker 3.28.0 · sagemaker-core 2.28.0 · sagemaker-train 1.28.0 · sagemaker-serve 1.28.0 · sagemaker-mlops 1.28.0
New Features
- feat(mlops): Add AthenaStep pipeline step (#6508)
- add: metadata for huggingface vllm v0.30 and v0.31 (#6526)
- change: add eusc-de-east-1 to PyTorch inference 2.6.0 image URI config (#6538)
- change: add sa-west-1 to PyTorch training image URI config (#6516)
Bug Fixes
- fix(codegen): restore codestyle-doc-tests compliance after botocore sync (#6523)
- fix: set VolumeKmsKeyId on ModelStep runtime repack job (#6537)
- fix: use pipeline code_hash for FrameworkProcessor sourcedir upload (#6494)
- fix: keep job name in pipeline request for ModelTrainer and HyperparameterTuner (#6323)
- Fix s3 sse kms validate path (#5931)
- fix: preserve volume KMS key in HyperparameterTuner training job definition (#6522)
- fix: close the remaining gaps in optional torch support (#6531)
- fix(serve): pin pandas below 3.1.0 to unblock serve unit tests (#6524)
- fix(serve): decouple the SMD orchestrator entrypoint from the container's sagemaker (#6200) (#6534)
v3.27.0
SageMaker Python SDK 3.27.0
core 2.27.0 · train 1.27.0 · serve 1.27.0 · mlops 1.27.0 · meta (sagemaker) 3.27.0
New Features
Bug Fixes
- fix: keep the Transformer's configured session when waiting on or stopping a transform job (#6509)
- fix: add g7e, p6-b200 and trn2 to volume size unsupported instance families (#6505)
- fix: carry ModelTrainer checkpoint and retry config into the tuning job definition (#6511)
- fix: discover base models by Training Sessions capability (#6506)
- fix: don't treat SageMaker model-package ARN as a HuggingFace model ID (#6513)
- fix: let ModelBuilder.build() tag the SageMaker Model it creates (#6510)
- fix: make sagemaker-serve test tooling and serving backends optional (#6512)
v3.26.0
SageMaker Python SDK 3.26.0
Packages: sagemaker 3.26.0 · sagemaker-core 2.26.0 · sagemaker-train 1.26.0 · sagemaker-serve 1.26.0 · sagemaker-mlops 1.26.0
New Features
- feat(mlops): Add run conditions to step dependencies (#6475)
- Add sa-west-1 to JumpStart region_config and djl-neuronx image_uri config (#6478)
- Add me-west-1 (RUH) JumpStart bucket info to region_config.json (#6455)
Bug Fixes
- fix: emit boto-style tag keys in ModelTrainer pipeline requests (#6485)
- fix: normalize ModelTrainer Tag objects inherited by HyperparameterTuner (#6482)
- fix: pass the configured session to ModelBuilder's Model reloads (#6487)
- fix: preserve all core container fields in ModelBuilder CreateModel requests (#6488)
- fix: accept core shapes and omitted content types in ModelBuilder.register (#6489)
- fix(serve): restore JumpStart default instance type from model spec (#6045)
- fix: put the check steps' output KMS key on ProcessingOutputConfig and send CheckJobConfig tags (#6497)
- fix: generate repack step for ModelBuilder.register/build in ModelStep (#5828, #5829) (#6338)
- fix: keep source_code for a pipeline-variable model URI and stop repack mutating caller source (#6490)
Tests
v3.25.0
SageMaker Python SDK v3.25.0
Package versions:
sagemaker 3.25.0sagemaker-core 2.25.0sagemaker-train 1.25.0sagemaker-serve 1.25.0sagemaker-mlops 1.25.0
New Features
- feat(train): add the interactive Training Sessions client surface (#6452)
Bug Fixes
- fix(core): prevent false-positive RoleValidationError under conditional access (#6029)
- fix(core): resolve HuggingFace version alias in image URI tag (#5722)
- fix(local): align local mode with the SageMaker service (#6317)
- fix: make local mode health-check timeout configurable via session config (#5778)
- fix(model-monitor): honor base_job_name for job definition names (#6372)
- fix(processing): fix V3 shape regressions + KMS/requirements gaps in processors (#6364)
- fix: accept CUSTOMIZATION capability in JumpStart hub documents (#6456)
- fix(train): bound pydantic to <3.0.0 for cross-package consistency (#6363)
- fix(train): set input_data_config to None (#6154)
v3.24.0
v3.24.0 (2026-10-07)
New Features
- feat(core): add image_uris list_frameworks/list_versions/list_py_versions helpers (#6357)
- feat(train): add args field to SourceCode for command-based training (#6356)
- feat(train): add output_data property to ModelTrainer (#6355)
- feat(train): allow configurable S3 key prefix for ModelTrainer input uploads (#6354)
- feat(mlops): add JobStep and shared pipeline capture for CreateJob producers (#6292)
- feat: advertise Python 3.13 support (#6348)
Bug Fixes
- fix(core): fall back to ARN in ModelPackage.refresh for versioned packages (#6378)
- fix(core): allow Constraints.set_monitoring to disable monitoring for non-string features (#6312)
- fix(core): respect session region when waiting for processing jobs (#6369)
- fix(core): reject unsupported container_version instead of returning a bad URI (#6376)
- fix(core): SageMakerClient honors the passed boto3 session and config (#6273)
- fix(core): close temp tarball before reading it (#6319)
- fix(core): make all pipeline Parameters hashable (#6351)
- fix(core): stop LineIterator hanging when the stream ends without a trailing newline (#6279)
- fix(core): stop mutating global logging state on import (#6341)
- fix(core): freeze credentials before signing bearer token (#6360)
- fix(core): make DataCaptureConfigSummary.kms_key_id optional (#6346)
- fix(core): lazily initialize DEFAULT_JUMPSTART_SAGEMAKER_SESSION (#6330)
- fix(core): add PyTorch 2.6 graviton (arm64) inference image (#6342)
- fix(train): fix incorrect model_trainer method call to load hyperparameters from file (#5771)
- fix(train): handle CRLF line endings (#6088)
- fix(train): preserve content_type when HyperparameterTuner converts InputData to Channel (#6321)
- fix(train): allow PipelineVariable keys in HyperparameterTuner hyperparameter_ranges annotation (#6314)
- fix(train): accept a PipelineVariable for HyperparameterTuner random_seed (#6320)
- fix(train): apply output KMS key to ModelTrainer source-code S3 uploads (#6339)
- fix(train): do not apply user ignore_patterns to the sm_drivers driver channel (#6316)
- fix(serve): stop deploy waits hanging; follow empty list pages (#6367)
- fix(serve): pass instance_type to _deploy once when creating an inference component (#6203)
- fix(serve): support pipeline variable image_uri in ModelBuilder.build (#6347)
- fix(serve): default AsyncPredictor upload prefix to endpoint name (#6336)
- fix(serve): keep AsyncPredictor serializers in sync with wrapped predictor (#6335)
- fix(mlops): clean up temp CSV in AthenaQuery.as_dataframe (#6344)
- fix(mlops): set full s3_input fields on QualityCheckStep baseline_dataset pipeline-variable input (#6322)
- fix(mlops): convert ParallelismConfiguration to request dict before boto pipeline calls (#6315)
- fix(mlops): write repack launcher with LF endings so pipelines built on Windows work (#6313)
Tests
- test(image_uris): derive pytorch-amzn2023 versions from config (#6385)
- test(train): serialize Nova serverless integ jobs (#6387)
- test(train): stop MTRL training integ tests churning fixture MPG (#6362)
- test(train): stop test_sourcecode_args from depending on an ambient HOME (#6383)
- test(serve): skip hang-prone endpoint integ tests in PR check (#6332)
- style(serve): drop unused pytest imports in integ tests (#6361)
Other
v2.257.7
v2.257.7 (2026-10-07)
Enhancements
- Add support for describe_endpoint_config to session (#5193)
- Update SDK to use latest LMI v29 image for sdk v2.x (#6302)
Bug Fixes
- Reject unsupported container_version in image_uris instead of returning a bad URI (#6377)
- Honor base_job_name for model monitor job definition names (#6373)
- Allow directory paths in Spark submit_deps (#6368)
- Clean up temp CSV in AthenaQuery.as_dataframe (#6345)
- Default AsyncPredictor upload prefix to endpoint name (#6337)
- Keep AsyncPredictor serializers in sync with wrapped predictor (#6334)
- Convert ParallelismConfiguration to a dict before passing to boto (#6329)
- Do not apply user ignore_patterns to the SDK-owned sm_drivers channel (#6328)
- Allow PipelineVariable keys in HyperparameterTuner hyperparameter_ranges annotation (#6327)
- Write repack launcher with LF endings so pipelines built on Windows work (#6326)
- Allow Constraints.set_monitoring to disable monitoring for non-string features (#6325)
- Shorten local pipeline execution_id (#5283)
- Send NextToken when JumpStart Hub.list_models pages through hub contents (#6262)
- Add eusc-de-east-1 JumpStart buckets and name JumpStart in the bucket error (#6242)
- Preserve instance-variant environment variable names on the JumpStart hub path (#6205)
Other Changes
v3.23.0
SageMaker Python SDK v3.23.0
Package versions
sagemaker 3.23.0sagemaker-core 2.23.0sagemaker-train 1.23.0sagemaker-serve 1.23.0sagemaker-mlops 1.23.0
New Features
- feat(pipeline): add inference and lineage step types (#6224)
- feat(train): finetuningoptions validation telemetry (#6286)
- feat(train): apply constructor hyperparameters in fine-tuning trainers (#6293)
- feat(serve): update SDK to use latest LMI v29 image for sdk v3.x (#6301)
Bug Fixes
- fix(core): recognize new duplicate-name wording; actionable train() errors (#6256)
- fix(train): raise on invalid constructor hyperparameters (#6306)
- fix(core): keep environment variable names intact when parsing private hub model documents (#6204)
- fix: migrate llama-cpp-arm64 to cpu processor schema and align image_uri unit tests (#6290)
- fix(serve): use the correct AMI when on cu130 to avoid crashes at launch (#6281)
Other
v3.22.1
SageMaker Python SDK 3.22.1
Packages:
sagemaker-core 2.22.1sagemaker-train 1.22.1sagemaker-serve 1.22.1sagemaker-mlops 1.22.1sagemaker 3.22.1
Bug Fixes
- fix(jumpstart): name JumpStart in the content bucket error (#6243)
- fix(core): send NextToken when Hub.list_models pages through hub contents (#6263)
- fix(train): enforce S3 ownership on ai_registry default bucket (#6275)
- fix: vllm and vllm-omni tasks in routing logic (#6007)
- fix: restore model customization reuse state (#6264)