Skip to content

Conversation

yl-to
Copy link
Contributor

@yl-to yl-to commented Dec 12, 2022

Issue #, if available:

Description of changes:
Disable debugger by removing automatic config generation.
Testing done:

Merge Checklist

Put an x in 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.

General

  • I have read the CONTRIBUTING doc
  • I certify that the changes I am introducing will be backward compatible, and I have discussed concerns about this, if any, with the Python SDK team
  • I used the commit message format described in CONTRIBUTING
  • I have passed the region in to all S3 and STS clients that I've initialized as part of this change.
  • I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

  • I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • I have added unit and/or integration tests as appropriate to ensure backward compatibility of the changes
  • I have checked that my tests are not configured for a specific region or account (if appropriate)
  • I have used unique_name_from_base to create resource names in integ tests (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

NivekNey and others added 30 commits December 2, 2022 12:48
Co-authored-by: Mufaddal Rohawala <muffi179@gmail.com>
Co-authored-by: Basil Beirouti <BasilBeirouti@gmail.com>
Co-authored-by: Kalyani Nikure <110067132+knikure@users.noreply.github.com>
Co-authored-by: Navin Soni <navinns@amazon.com>
* Add DXB region

* Remove change from neuron

* Adding DXB to TF 2.1.0 and 2.1.1
Co-authored-by: Brock Wade <bwayde@amazon.com>
Co-authored-by: Mufaddal Rohawala <89424143+mufaddal-rohawala@users.noreply.github.com>
…timator starting 1.12 (aws#3500)

Co-authored-by: Ubuntu <ubuntu@ip-172-31-52-39.us-west-2.compute.internal>
Co-authored-by: Malav Shastri <malavhs@amazon.com>
Co-authored-by: Brock Wade <bwayde@amazon.com>
Co-authored-by: Mufaddal Rohawala <89424143+mufaddal-rohawala@users.noreply.github.com>
Co-authored-by: Dewen Qi <qidewen@amazon.com>
@yl-to yl-to requested review from knikure and removed request for a team December 12, 2022 06:04
@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-unit-tests
  • Commit ID: e19124d
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@codecov-commenter
Copy link

codecov-commenter commented Dec 12, 2022

Codecov Report

Merging #3528 (18b227c) into master (93a8466) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #3528      +/-   ##
==========================================
+ Coverage   89.57%   89.58%   +0.01%     
==========================================
  Files         960      226     -734     
  Lines       88744    21747   -66997     
==========================================
- Hits        79495    19483   -60012     
+ Misses       9249     2264    -6985     
Impacted Files Coverage Δ
src/sagemaker/estimator.py 90.03% <100.00%> (ø)
...ib/python3.7/site-packages/sagemaker/image_uris.py
.../lib/python3.10/site-packages/sagemaker/clarify.py
...python3.7/site-packages/sagemaker/xgboost/utils.py
...ython3.9/site-packages/sagemaker/spark/defaults.py
...ib/python3.9/site-packages/sagemaker/amazon/lda.py
...3.9/site-packages/sagemaker/jumpstart/accessors.py
...ackages/sagemaker/amazon/factorization_machines.py
...3.8/site-packages/sagemaker/workflow/properties.py
....7/site-packages/sagemaker/experiments/__init__.py
... and 1177 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-local-mode-tests
  • Commit ID: e19124d
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-pr
  • Commit ID: e19124d
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-notebook-tests
  • Commit ID: e19124d
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-slow-tests
  • Commit ID: e19124d
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

ci and others added 6 commits December 12, 2022 18:18
…aws#3530)

Currently the analysis configuration schema of SageMaker Clarify API
allows the content_type configuration "image/jpeg" and "image/jpg",
but the service side validation only accepts the former which is the
registered MIME type for JPEG (see rfc3745 and JPEG specification).
The commit removes the latter from the schema to avoid confusion and
enable early API validation.
Co-authored-by: Anton Repushko <repuanto@amazon.com>
@knikure knikure self-assigned this Dec 13, 2022
mizanfiu and others added 5 commits December 13, 2022 16:06
…st_feature_group (aws#3534)

Co-authored-by: Eric Zou <zoueric@amazon.com>
Co-authored-by: Yiming Zou <imingtsou@gmail.com>
Co-authored-by: Brandon Chatham <bdchatham@gmail.com>
Co-authored-by: jiapinw <95885824+jiapinw@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>
@knikure knikure force-pushed the default_disable_smd branch from e19124d to 18b227c Compare December 14, 2022 18:02
@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-unit-tests
  • Commit ID: 18b227c
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-local-mode-tests
  • Commit ID: 18b227c
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-pr
  • Commit ID: 18b227c
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-notebook-tests
  • Commit ID: 18b227c
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-slow-tests
  • Commit ID: 18b227c
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@knikure
Copy link
Contributor

knikure commented Dec 19, 2022

@yl-to Can you please fix the failing tests?

@yl-to
Copy link
Contributor Author

yl-to commented Jan 10, 2023

closing PR, creating a new PR #3584 for doing this.

@yl-to yl-to closed this Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.