Skip to content

Commit ae55619

Browse files
committed
support tuning step parameter range parameterization + support retry strategy in tuner
2 parents edf9cba + 597bb74 commit ae55619

File tree

439 files changed

+3576
-532
lines changed

Some content is hidden

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

439 files changed

+3576
-532
lines changed

CHANGELOG.md

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

3+
## v2.51.0 (2021-08-03)
4+
5+
### Features
6+
7+
* add LambdaStep support for SageMaker Pipelines
8+
* support JsonGet for all step types
9+
10+
## v2.50.1 (2021-08-02)
11+
12+
### Bug Fixes and Other Changes
13+
14+
* null checks for uploaded_code and entry_point
15+
16+
### Documentation Changes
17+
18+
* update sagemaker.estimator.EstimatorBase
19+
* Mark baseline as optional in KernelSHAP.
20+
21+
## v2.50.0 (2021-07-28)
22+
23+
### Features
24+
25+
* add KIX region to image_uris
26+
27+
### Bug Fixes and Other Changes
28+
29+
* Rename `PredictorBase.delete_endpoint` as `PredictorBase.delete_predictor`
30+
* incorrect default argument for callback output parameter
31+
32+
### Documentation Changes
33+
34+
* Remove years from copyright boilerplate
35+
* Fix documentation formatting for PySpark and SparkJar processors
36+
37+
### Testing and Release Infrastructure
38+
39+
* enable py38 tox env
40+
41+
## v2.49.2 (2021-07-21)
42+
43+
### Bug Fixes and Other Changes
44+
45+
* order of populating container list
46+
* upgrade Adobe Analytics cookie to 3.0
47+
48+
## v2.49.1 (2021-07-19)
49+
50+
### Bug Fixes and Other Changes
51+
52+
* Set flag when debugger is disabled
53+
* KMS Key fix for kwargs
54+
* Update BiasConfig to accept multiple facet params
55+
56+
### Documentation Changes
57+
58+
* Update huggingface estimator documentation
59+
60+
## v2.49.0 (2021-07-15)
61+
62+
### Features
63+
64+
* Adding serial inference pipeline support to RegisterModel Step
65+
66+
### Documentation Changes
67+
68+
* add tuning step get_top_model_s3_uri and callback step to doc
69+
* links for HF in sdk
70+
* Add Clarify module to Model Monitoring API docs
71+
372
## v2.48.2 (2021-07-12)
473

574
### Bug Fixes and Other Changes

NOTICE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Amazon SageMaker Python SDK
2-
Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ However, if you are using an IAM role with a path in it, you should grant permis
103103

104104
Licensing
105105
~~~~~~~~~
106-
SageMaker Python SDK is licensed under the Apache 2.0 License. It is copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. The license is available at:
106+
SageMaker Python SDK is licensed under the Apache 2.0 License. It is copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. The license is available at:
107107
http://aws.amazon.com/apache2.0/
108108

109109
Running tests

VERSION

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

ci-scripts/displaytime.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License"). You
55
# may not use this file except in compliance with the License. A copy of

ci-scripts/queue_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2019-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

doc/_static/aws-ux-shortbread/index.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/_static/aws-ux-shortbread/init.js

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
(function (w) {
2+
w.URLSearchParams = w.URLSearchParams || function (searchString) {
3+
var self = this;
4+
self.searchString = searchString;
5+
self.get = function (name) {
6+
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(self.searchString);
7+
if (results === null) {
8+
return null;
9+
}
10+
else {
11+
return decodeURI(results[1]) || 0;
12+
}
13+
};
14+
}
15+
})(window);
16+
17+
const queryString = window.location.search;
18+
const urlParams = new URLSearchParams(queryString);
19+
const lang = urlParams.get('lang')
20+
window.onload = function () {
21+
var domainName = window.location.hostname;
22+
23+
// remove an instance of shortbread if already exists
24+
var existingShortbreadEl = document.getElementById("awsccc-sb-ux-c");
25+
existingShortbreadEl && existingShortbreadEl.remove();
26+
27+
var shortbread = AWSCShortbread({
28+
domain: domainName,
29+
language: lang,
30+
//queryGeolocation: function (geolocatedIn) { geolocatedIn("EU") },
31+
});
32+
33+
shortbread.checkForCookieConsent();
34+
}

doc/api/utility/lambda_helper.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Lambda Utilities
2+
----------------
3+
4+
.. automodule:: sagemaker.lambda_helper
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

doc/conf.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of
@@ -68,7 +68,12 @@
6868

6969
htmlhelp_basename = "%sdoc" % project
7070

71-
html_js_files = ["https://a0.awsstatic.com/s_code/js/1.0/awshome_s_code.js", "js/analytics.js"]
71+
# For Adobe Analytics
72+
html_js_files = [
73+
"https://a0.awsstatic.com/s_code/js/3.0/awshome_s_code.js",
74+
"aws-ux-shortbread/index.js",
75+
"aws-ux-shortbread/init.js",
76+
]
7277

7378
html_context = {"css_files": ["_static/theme_overrides.css"]}
7479

doc/workflows/pipelines/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
################
2-
Amazon Pipelines
3-
################
1+
###################
2+
SageMaker Pipelines
3+
###################
44

5-
SageMaker APIs for creating and managing Amazon Pipelines.
5+
SageMaker APIs for creating and managing SageMaker Pipelines.
66

77
.. toctree::
88
:maxdepth: 2

doc/workflows/pipelines/sagemaker.workflow.pipelines.rst

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ConditionStep
55
-------------
66

77
.. autoclass:: sagemaker.workflow.condition_step.ConditionStep
8-
.. autoclass:: sagemaker.workflow.condition_step.JsonGet
8+
.. deprecated:: sagemaker.workflow.condition_step.JsonGet
99

1010
Conditions
1111
----------
@@ -32,8 +32,6 @@ Conditions
3232

3333
.. autoclass:: sagemaker.workflow.conditions.ConditionOr
3434

35-
.. autofunction:: sagemaker.workflow.conditions.primitive_or_expr
36-
3735
Entities
3836
--------
3937

@@ -43,7 +41,7 @@ Entities
4341

4442
.. autoclass:: sagemaker.workflow.entities.Expression
4543

46-
Execution_variables
44+
Execution Variables
4745
-------------------
4846

4947
.. autoclass:: sagemaker.workflow.execution_variables.ExecutionVariable
@@ -55,6 +53,8 @@ Functions
5553

5654
.. autoclass:: sagemaker.workflow.functions.Join
5755

56+
.. autoclass:: sagemaker.workflow.functions.JsonGet
57+
5858
Parameters
5959
----------
6060

@@ -72,12 +72,17 @@ Pipeline
7272
--------
7373

7474
.. autoclass:: sagemaker.workflow.pipeline.Pipeline
75+
:members:
7576

76-
.. autofunction:: sagemaker.workflow.pipeline.format_start_parameters
77+
.. autoclass:: sagemaker.workflow.pipeline._PipelineExecution
78+
:members:
7779

78-
.. autofunction:: sagemaker.workflow.pipeline.interpolate
80+
Pipeline Experiment Config
81+
--------------------------
7982

80-
.. autofunction:: sagemaker.workflow.pipeline.update_args
83+
.. autoclass:: sagemaker.workflow.pipeline_experiment_config.PipelineExperimentConfig
84+
85+
.. autoclass:: sagemaker.workflow.pipeline_experiment_config.PipelineExperimentConfigProperty
8186

8287
Properties
8388
----------
@@ -120,7 +125,6 @@ Steps
120125

121126
.. autoclass:: sagemaker.workflow.callback_step.CallbackStep
122127

123-
Utilities
124-
---------
128+
.. autoclass:: sagemaker.workflow.steps.CacheConfig
125129

126-
.. autofunction:: sagemaker.workflow.utilities.list_to_request
130+
.. autoclass:: sagemaker.workflow.lambda_step.LambdaStep

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/_studio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/algorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/amazon/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/amazon/amazon_estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/amazon/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/amazon/factorization_machines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/amazon/hyperparameter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/amazon/ipinsights.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/amazon/kmeans.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/amazon/knn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/amazon/lda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/amazon/linear_learner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/amazon/ntm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/amazon/object2vec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/amazon/pca.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/amazon/randomcutforest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/amazon/validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/analytics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/apiutils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/apiutils/_base_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/apiutils/_boto_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/apiutils/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

src/sagemaker/automl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2019-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License"). You
44
# may not use this file except in compliance with the License. A copy of

0 commit comments

Comments
 (0)