fix: remove logging level overrides #757
fix: remove logging level overrides #757laurenyu merged 3 commits intoaws:masteraws/sagemaker-python-sdk:masterfrom
Conversation
|
@laurenyu what happens if |
|
@mvsusp it should follow the behavior described here: https://docs.python.org/3/library/logging.html#logging.Logger.setLevel. specifically (copy/paste from the docs):
>>> import sagemaker
>>> import logging
>>> logging.debug('debug'); logging.warning('warning')
WARNING:root:warning |
That makes sense. My last question is: by removing Example: |
|
here's test.py: from sagemaker.tensorflow import TensorFlow
TensorFlow(entry_point='foo.py', role='role', train_instance_count=1, train_instance_type='local')and the warning is printed out: $ python test.py
No framework_version specified, defaulting to version 1.11. |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com>
Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com>
Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com>
Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com>
Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com>
* feature: Add experiment plus Run class (#691) * feature: Add Experiment helper classes (#646) * feature: Add Experiment helper classes feature: Add helper class _RunEnvironment * change: Change sleep retry to backoff retry for get TC * minor fixes in backoff retry Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add helper classes and methods for Run class (#660) * feature: Add helper classes and methods for Run class * Add Parent class to address comment * fix docstyle check * Add arg docstrings in _helper Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add Experiment Run class (#651) Co-authored-by: Dewen Qi <qidewen@amazon.com> * change: Add integ tests for Run (#673) Co-authored-by: Dewen Qi <qidewen@amazon.com> * Update run log metric to use MetricsManager (#678) * Update run.log_metric to use _MetricsManager * fix several metrics issues * Add doc strings to metrics.py Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> * change: Simplify exp plus integ test configuration (#694) Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: add RunName to expeirment_config (#696) * change: Update Run init and add Run load and _RunContext (#707) * change: Update Run init and add Run load Add exp name and run group name to load and address comments * Address nit comments Co-authored-by: Dewen Qi <qidewen@amazon.com> * fix: Fix run name uniqueness issue (#730) Co-authored-by: Dewen Qi <qidewen@amazon.com> * change: Update integ tests for Exp Plus M1 changes (#741) Co-authored-by: Dewen Qi <qidewen@amazon.com> * add metrics client to session object (#745) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * change: Add integ test for using Run in Transform Job (#749) Co-authored-by: Dewen Qi <qidewen@amazon.com> * Add async metrics sink (#739) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * use metrics client provided by session (#754) * fix flaky metrics test (#753) * change: Change Run.init and Run.load to constructor and module method respectively (#752) Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add latest metric service model (#757) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * fix: lowercase run name (#767) * Change: Minimize use of lower case tc name (#769) * change: Clean up test resources to remove model files (#756) * change: Clean up test resources to remove model files * fix: Change experiment enums to upper case * change: Upgrade boto3 and update test to validate mixed case name * fix: Update as per latest botocore release and backend change Co-authored-by: Dewen Qi <qidewen@amazon.com> * lowercase trial component name (#776) * change: Expose sagemaker experiment doc strings * fix: Fix exp name mixed case in issue Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: Yifei Zhu <66866419+yzhu0@users.noreply.github.com>
* feature: Add experiment plus Run class (aws#691) * feature: Add Experiment helper classes (aws#646) * feature: Add Experiment helper classes feature: Add helper class _RunEnvironment * change: Change sleep retry to backoff retry for get TC * minor fixes in backoff retry Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add helper classes and methods for Run class (aws#660) * feature: Add helper classes and methods for Run class * Add Parent class to address comment * fix docstyle check * Add arg docstrings in _helper Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add Experiment Run class (aws#651) Co-authored-by: Dewen Qi <qidewen@amazon.com> * change: Add integ tests for Run (aws#673) Co-authored-by: Dewen Qi <qidewen@amazon.com> * Update run log metric to use MetricsManager (aws#678) * Update run.log_metric to use _MetricsManager * fix several metrics issues * Add doc strings to metrics.py Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> * change: Simplify exp plus integ test configuration (aws#694) Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: add RunName to expeirment_config (aws#696) * change: Update Run init and add Run load and _RunContext (aws#707) * change: Update Run init and add Run load Add exp name and run group name to load and address comments * Address nit comments Co-authored-by: Dewen Qi <qidewen@amazon.com> * fix: Fix run name uniqueness issue (aws#730) Co-authored-by: Dewen Qi <qidewen@amazon.com> * change: Update integ tests for Exp Plus M1 changes (aws#741) Co-authored-by: Dewen Qi <qidewen@amazon.com> * add metrics client to session object (aws#745) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * change: Add integ test for using Run in Transform Job (aws#749) Co-authored-by: Dewen Qi <qidewen@amazon.com> * Add async metrics sink (aws#739) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * use metrics client provided by session (aws#754) * fix flaky metrics test (aws#753) * change: Change Run.init and Run.load to constructor and module method respectively (aws#752) Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add latest metric service model (aws#757) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * fix: lowercase run name (aws#767) * Change: Minimize use of lower case tc name (aws#769) * change: Clean up test resources to remove model files (aws#756) * change: Clean up test resources to remove model files * fix: Change experiment enums to upper case * change: Upgrade boto3 and update test to validate mixed case name * fix: Update as per latest botocore release and backend change Co-authored-by: Dewen Qi <qidewen@amazon.com> * lowercase trial component name (aws#776) * change: Expose sagemaker experiment doc strings * fix: Fix exp name mixed case in issue Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: Yifei Zhu <66866419+yzhu0@users.noreply.github.com>
* feature: Add experiment plus Run class (aws#691) * feature: Add Experiment helper classes (aws#646) * feature: Add Experiment helper classes feature: Add helper class _RunEnvironment * change: Change sleep retry to backoff retry for get TC * minor fixes in backoff retry Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add helper classes and methods for Run class (aws#660) * feature: Add helper classes and methods for Run class * Add Parent class to address comment * fix docstyle check * Add arg docstrings in _helper Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add Experiment Run class (aws#651) Co-authored-by: Dewen Qi <qidewen@amazon.com> * change: Add integ tests for Run (aws#673) Co-authored-by: Dewen Qi <qidewen@amazon.com> * Update run log metric to use MetricsManager (aws#678) * Update run.log_metric to use _MetricsManager * fix several metrics issues * Add doc strings to metrics.py Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> * change: Simplify exp plus integ test configuration (aws#694) Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: add RunName to expeirment_config (aws#696) * change: Update Run init and add Run load and _RunContext (aws#707) * change: Update Run init and add Run load Add exp name and run group name to load and address comments * Address nit comments Co-authored-by: Dewen Qi <qidewen@amazon.com> * fix: Fix run name uniqueness issue (aws#730) Co-authored-by: Dewen Qi <qidewen@amazon.com> * change: Update integ tests for Exp Plus M1 changes (aws#741) Co-authored-by: Dewen Qi <qidewen@amazon.com> * add metrics client to session object (aws#745) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * change: Add integ test for using Run in Transform Job (aws#749) Co-authored-by: Dewen Qi <qidewen@amazon.com> * Add async metrics sink (aws#739) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * use metrics client provided by session (aws#754) * fix flaky metrics test (aws#753) * change: Change Run.init and Run.load to constructor and module method respectively (aws#752) Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add latest metric service model (aws#757) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * fix: lowercase run name (aws#767) * Change: Minimize use of lower case tc name (aws#769) * change: Clean up test resources to remove model files (aws#756) * change: Clean up test resources to remove model files * fix: Change experiment enums to upper case * change: Upgrade boto3 and update test to validate mixed case name * fix: Update as per latest botocore release and backend change Co-authored-by: Dewen Qi <qidewen@amazon.com> * lowercase trial component name (aws#776) * change: Expose sagemaker experiment doc strings * fix: Fix exp name mixed case in issue Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: Yifei Zhu <66866419+yzhu0@users.noreply.github.com>
* feature: Add experiment plus Run class (#691) * feature: Add Experiment helper classes (#646) * feature: Add Experiment helper classes feature: Add helper class _RunEnvironment * change: Change sleep retry to backoff retry for get TC * minor fixes in backoff retry Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add helper classes and methods for Run class (#660) * feature: Add helper classes and methods for Run class * Add Parent class to address comment * fix docstyle check * Add arg docstrings in _helper Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add Experiment Run class (#651) Co-authored-by: Dewen Qi <qidewen@amazon.com> * change: Add integ tests for Run (#673) Co-authored-by: Dewen Qi <qidewen@amazon.com> * Update run log metric to use MetricsManager (#678) * Update run.log_metric to use _MetricsManager * fix several metrics issues * Add doc strings to metrics.py Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> * change: Simplify exp plus integ test configuration (#694) Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: add RunName to expeirment_config (#696) * change: Update Run init and add Run load and _RunContext (#707) * change: Update Run init and add Run load Add exp name and run group name to load and address comments * Address nit comments Co-authored-by: Dewen Qi <qidewen@amazon.com> * fix: Fix run name uniqueness issue (#730) Co-authored-by: Dewen Qi <qidewen@amazon.com> * change: Update integ tests for Exp Plus M1 changes (#741) Co-authored-by: Dewen Qi <qidewen@amazon.com> * add metrics client to session object (#745) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * change: Add integ test for using Run in Transform Job (#749) Co-authored-by: Dewen Qi <qidewen@amazon.com> * Add async metrics sink (#739) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * use metrics client provided by session (#754) * fix flaky metrics test (#753) * change: Change Run.init and Run.load to constructor and module method respectively (#752) Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add latest metric service model (#757) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * fix: lowercase run name (#767) * Change: Minimize use of lower case tc name (#769) * change: Clean up test resources to remove model files (#756) * change: Clean up test resources to remove model files * fix: Change experiment enums to upper case * change: Upgrade boto3 and update test to validate mixed case name * fix: Update as per latest botocore release and backend change Co-authored-by: Dewen Qi <qidewen@amazon.com> * lowercase trial component name (#776) * change: Expose sagemaker experiment doc strings * fix: Fix exp name mixed case in issue Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: Yifei Zhu <66866419+yzhu0@users.noreply.github.com>
* feature: Add experiment plus Run class (aws#691) * feature: Add Experiment helper classes (aws#646) * feature: Add Experiment helper classes feature: Add helper class _RunEnvironment * change: Change sleep retry to backoff retry for get TC * minor fixes in backoff retry Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add helper classes and methods for Run class (aws#660) * feature: Add helper classes and methods for Run class * Add Parent class to address comment * fix docstyle check * Add arg docstrings in _helper Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add Experiment Run class (aws#651) Co-authored-by: Dewen Qi <qidewen@amazon.com> * change: Add integ tests for Run (aws#673) Co-authored-by: Dewen Qi <qidewen@amazon.com> * Update run log metric to use MetricsManager (aws#678) * Update run.log_metric to use _MetricsManager * fix several metrics issues * Add doc strings to metrics.py Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> * change: Simplify exp plus integ test configuration (aws#694) Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: add RunName to expeirment_config (aws#696) * change: Update Run init and add Run load and _RunContext (aws#707) * change: Update Run init and add Run load Add exp name and run group name to load and address comments * Address nit comments Co-authored-by: Dewen Qi <qidewen@amazon.com> * fix: Fix run name uniqueness issue (aws#730) Co-authored-by: Dewen Qi <qidewen@amazon.com> * change: Update integ tests for Exp Plus M1 changes (aws#741) Co-authored-by: Dewen Qi <qidewen@amazon.com> * add metrics client to session object (aws#745) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * change: Add integ test for using Run in Transform Job (aws#749) Co-authored-by: Dewen Qi <qidewen@amazon.com> * Add async metrics sink (aws#739) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * use metrics client provided by session (aws#754) * fix flaky metrics test (aws#753) * change: Change Run.init and Run.load to constructor and module method respectively (aws#752) Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add latest metric service model (aws#757) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * fix: lowercase run name (aws#767) * Change: Minimize use of lower case tc name (aws#769) * change: Clean up test resources to remove model files (aws#756) * change: Clean up test resources to remove model files * fix: Change experiment enums to upper case * change: Upgrade boto3 and update test to validate mixed case name * fix: Update as per latest botocore release and backend change Co-authored-by: Dewen Qi <qidewen@amazon.com> * lowercase trial component name (aws#776) * change: Expose sagemaker experiment doc strings * fix: Fix exp name mixed case in issue Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: Yifei Zhu <66866419+yzhu0@users.noreply.github.com>
* feature: Add experiment plus Run class (aws#691) * feature: Add Experiment helper classes (aws#646) * feature: Add Experiment helper classes feature: Add helper class _RunEnvironment * change: Change sleep retry to backoff retry for get TC * minor fixes in backoff retry Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add helper classes and methods for Run class (aws#660) * feature: Add helper classes and methods for Run class * Add Parent class to address comment * fix docstyle check * Add arg docstrings in _helper Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add Experiment Run class (aws#651) Co-authored-by: Dewen Qi <qidewen@amazon.com> * change: Add integ tests for Run (aws#673) Co-authored-by: Dewen Qi <qidewen@amazon.com> * Update run log metric to use MetricsManager (aws#678) * Update run.log_metric to use _MetricsManager * fix several metrics issues * Add doc strings to metrics.py Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> * change: Simplify exp plus integ test configuration (aws#694) Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: add RunName to expeirment_config (aws#696) * change: Update Run init and add Run load and _RunContext (aws#707) * change: Update Run init and add Run load Add exp name and run group name to load and address comments * Address nit comments Co-authored-by: Dewen Qi <qidewen@amazon.com> * fix: Fix run name uniqueness issue (aws#730) Co-authored-by: Dewen Qi <qidewen@amazon.com> * change: Update integ tests for Exp Plus M1 changes (aws#741) Co-authored-by: Dewen Qi <qidewen@amazon.com> * add metrics client to session object (aws#745) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * change: Add integ test for using Run in Transform Job (aws#749) Co-authored-by: Dewen Qi <qidewen@amazon.com> * Add async metrics sink (aws#739) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * use metrics client provided by session (aws#754) * fix flaky metrics test (aws#753) * change: Change Run.init and Run.load to constructor and module method respectively (aws#752) Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add latest metric service model (aws#757) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * fix: lowercase run name (aws#767) * Change: Minimize use of lower case tc name (aws#769) * change: Clean up test resources to remove model files (aws#756) * change: Clean up test resources to remove model files * fix: Change experiment enums to upper case * change: Upgrade boto3 and update test to validate mixed case name * fix: Update as per latest botocore release and backend change Co-authored-by: Dewen Qi <qidewen@amazon.com> * lowercase trial component name (aws#776) * change: Expose sagemaker experiment doc strings * fix: Fix exp name mixed case in issue Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: Yifei Zhu <66866419+yzhu0@users.noreply.github.com>
* feature: Add experiment plus Run class (aws#691) * feature: Add Experiment helper classes (aws#646) * feature: Add Experiment helper classes feature: Add helper class _RunEnvironment * change: Change sleep retry to backoff retry for get TC * minor fixes in backoff retry Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add helper classes and methods for Run class (aws#660) * feature: Add helper classes and methods for Run class * Add Parent class to address comment * fix docstyle check * Add arg docstrings in _helper Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add Experiment Run class (aws#651) Co-authored-by: Dewen Qi <qidewen@amazon.com> * change: Add integ tests for Run (aws#673) Co-authored-by: Dewen Qi <qidewen@amazon.com> * Update run log metric to use MetricsManager (aws#678) * Update run.log_metric to use _MetricsManager * fix several metrics issues * Add doc strings to metrics.py Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> * change: Simplify exp plus integ test configuration (aws#694) Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: add RunName to expeirment_config (aws#696) * change: Update Run init and add Run load and _RunContext (aws#707) * change: Update Run init and add Run load Add exp name and run group name to load and address comments * Address nit comments Co-authored-by: Dewen Qi <qidewen@amazon.com> * fix: Fix run name uniqueness issue (aws#730) Co-authored-by: Dewen Qi <qidewen@amazon.com> * change: Update integ tests for Exp Plus M1 changes (aws#741) Co-authored-by: Dewen Qi <qidewen@amazon.com> * add metrics client to session object (aws#745) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * change: Add integ test for using Run in Transform Job (aws#749) Co-authored-by: Dewen Qi <qidewen@amazon.com> * Add async metrics sink (aws#739) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * use metrics client provided by session (aws#754) * fix flaky metrics test (aws#753) * change: Change Run.init and Run.load to constructor and module method respectively (aws#752) Co-authored-by: Dewen Qi <qidewen@amazon.com> * feature: Add latest metric service model (aws#757) Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: qidewenwhen <32910701+qidewenwhen@users.noreply.github.com> * fix: lowercase run name (aws#767) * Change: Minimize use of lower case tc name (aws#769) * change: Clean up test resources to remove model files (aws#756) * change: Clean up test resources to remove model files * fix: Change experiment enums to upper case * change: Upgrade boto3 and update test to validate mixed case name * fix: Update as per latest botocore release and backend change Co-authored-by: Dewen Qi <qidewen@amazon.com> * lowercase trial component name (aws#776) * change: Expose sagemaker experiment doc strings * fix: Fix exp name mixed case in issue Co-authored-by: Dewen Qi <qidewen@amazon.com> Co-authored-by: Dana Benson <danabens@amazon.com> Co-authored-by: Dana Benson <31262102+danabens@users.noreply.github.com> Co-authored-by: Yifei Zhu <66866419+yzhu0@users.noreply.github.com>
Description of changes:
Addresses #755.
Testing:
Merge Checklist
Put an
xin the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.