Skip to content

breaking: rename image_name to image_uri #1667

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 6, 2020
Merged

Conversation

laurenyu
Copy link
Contributor

@laurenyu laurenyu commented Jul 2, 2020

Issue #, if available:
#1473

Description of changes:
I just pretty blindly did a find and replace for this one. I'll update the migration tool separately since there are so many files changed here.

Testing done:
unit tests, linters

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 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 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.

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-unit-tests
  • Commit ID: 5dcbb9d
  • 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-notebook-tests
  • Commit ID: 5dcbb9d
  • 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-local-mode-tests
  • Commit ID: 5dcbb9d
  • 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-zwei-pr
  • Commit ID: 5dcbb9d
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

Copy link
Contributor

@metrizable metrizable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will you update model classes with image attribute to image_uri attribute in a future pr?

@laurenyu
Copy link
Contributor Author

laurenyu commented Jul 6, 2020

will you update model classes with image attribute to image_uri attribute in a future pr?

yeah. with 32 files changed in this PR, I didn't think it was prudent to lump that change in here too 😂

@sagemaker-bot
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: sagemaker-python-sdk-unit-tests
  • Commit ID: d2fe67c
  • 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-notebook-tests
  • Commit ID: d2fe67c
  • 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-zwei-pr
  • Commit ID: d2fe67c
  • 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-local-mode-tests
  • Commit ID: d2fe67c
  • 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: d2fe67c
  • 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-local-mode-tests
  • Commit ID: d2fe67c
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@laurenyu laurenyu merged commit 5dee4e4 into aws:zwei Jul 6, 2020
@laurenyu laurenyu deleted the image-name branch July 6, 2020 17:13
goelakash added a commit to aws/sagemaker-rl-container that referenced this pull request Aug 4, 2020
* Recent breaking changes introduced a bug where several params are no longer applicable: aws/sagemaker-python-sdk#1667

Co-authored-by: Akash Goel <[email protected]>
benieric added a commit that referenced this pull request May 3, 2025
* prepare release v2.241.0

* update development version to v2.241.1.dev0

* pipeline definition function doc update (#5074)

Co-authored-by: Rohan Gujarathi <[email protected]>

* feat: add integ tests for training JumpStart models in private hub (#5076)

* feat: add integ tests for training JumpStart models in private hub

* fixed formatting

* remove unused imports

* fix unused imports

* fix unit test failure and fix bug around versioning

* fix formatting

* fix unit tests

* fix model_uri usage issue

* fix some formatting

* separate private hub setup code

* add try catch block

* fix flake8 issue so except clause is not bare

* black formatting

* fix: resolve infinite loop in _find_config on Windows systems (#4970)

* fix: resolve Windows path handling in _find_config

* Replace Path.match("/") with Path.anchor comparison
* Fix infinite loop in _studio.py path traversal

* test: Add tests for the new root path exploration

* Fix formatting style

* Fixed line to long

* Fix docstyle by running black manually

* Fix testcase with \\ when running on non-windows machines

* Fix formatting style

* cleanup unused import

* change: update image_uri_configs  03-11-2025 07:18:09 PST

* Fixing Pytorch training python version in tests (#5084)

* Fixing Pytorch training python version in tests

* Updating Inference test handling

* remove s3 output location requirement from hub class init (#5081)

* remove s3 output location requirement from hub class init

* fix integ test hub

* lint

* fix test

---------

Co-authored-by: Gokul Anantha Narayanan <[email protected]>

* fix: Prevent RunContext overlap between test_run tests (#5083)

Co-authored-by: Gokul Anantha Narayanan <[email protected]>

* Torch upgrade (#5086)

* Fix Flake8 Violations

* UPDATE PYTORCH VERSION TO ADDRESS SECURITY RISK

**Description**

Currently used Pytorch version has a possible vulnerability .

Internal - https://tiny.amazon.com/p5i4jla1

**Testing Done**

Unit and Integration tests in the CodeBuild

* REvert CPU Versions

* Test Fix

* Codestyle fixes

* debug attempt

* Fixes

* Fix

* Fix

* prepare release v2.242.0

* update development version to v2.242.1.dev0

* add new regions to JUMPSTART_LAUNCHED_REGIONS (#5089)

Co-authored-by: isha chidrawar <[email protected]>
Co-authored-by: Gokul Anantha Narayanan <[email protected]>

* ADD Documentation to ReadtheDocs for Upgrading torch versions (#5090)

* ADD Documentation to ReadtheDocs for Upgrading torch versions

**Description**

**Testing Done**
Only documentation updates

* Fix for Codestyle

* Remove unused import

* Flake8 Fix

* CodeStyle Fixes

* feature: Enabled update_endpoint through model_builder (#5085)

* feature: Enabled update_endpoint through model_builder

* fix: fix unit test, black-check, pylint errors

* fix: fix black-check, pylint errors

---------

Co-authored-by: Roja Reddy Sareddy <[email protected]>

* fix: factor in set instance type when building JumpStart models in ModelBuilder. (#5093)

* Remove main function entrypoint in ModelBuilder dependency manager.

* Remove main function entrypoint in ModelBuilder dependency manager.

* fix: factor in set instance type when building JumpStart models in ModelBuilder.

* Remove default instance type from ModelBuilder.

* Restore default instance type. Tweak integ test.

---------

Co-authored-by: Joseph Zhang <[email protected]>

* change: update image_uri_configs  03-21-2025 07:17:55 PST

* Skip tests failed due to deprecated instance type (#5097)

Co-authored-by: pintaoz <[email protected]>

* Feat: Added support for returing most recently created approved model package in a group (#5092)

Co-authored-by: Keshav Chandak <[email protected]>

* change: update image_uri_configs  03-25-2025 07:18:13 PST

* chore: fix integ tests to use latest version of model (#5104)

* change: update image_uri_configs  03-26-2025 07:18:16 PST

* Update Jinja version (#5101)

* Aligned disable_output_compression for @Remote with Estimator (#5094)

* Update transformers version (#5102)

* fix: use temp file in unit tests (#5106)

* fix: fix flaky spark processor integ (#5109)

* fix: fix flaky spark processor integ

* format

* fix: fix flaky clarify model monitor test (#5107)

* chore: move jumpstart region definitions to json file (#5095)

* chore: move jumpstart region definitions to json file

* chore: address formatting issues

* fix: neo regions not ga in 5 regions

* chore: make variable private

---------

Co-authored-by: Erick Benitez-Ramos <[email protected]>

* change: Update for PT 2.5.1, SMP 2.8.0 (#5071)

* Added the config utils - centralized module for managing config file utils

* Add image_uris to sagemaker utils

* Updated python version

* Added other common utils in pysdk to this centralized module

* Test Intelligent Defaults with new utils module

---------

Co-authored-by: ci <ci>
Co-authored-by: Rohan Gujarathi <[email protected]>
Co-authored-by: Rohan Gujarathi <[email protected]>
Co-authored-by: Rohan Narayan <[email protected]>
Co-authored-by: Julian Grimm <[email protected]>
Co-authored-by: sagemaker-bot <[email protected]>
Co-authored-by: Gokul Anantha Narayanan <[email protected]>
Co-authored-by: Ben Crabtree <[email protected]>
Co-authored-by: rrrkharse <[email protected]>
Co-authored-by: IshaChid76 <[email protected]>
Co-authored-by: isha chidrawar <[email protected]>
Co-authored-by: Roja Reddy Sareddy <[email protected]>
Co-authored-by: cj-zhang <[email protected]>
Co-authored-by: Joseph Zhang <[email protected]>
Co-authored-by: pintaoz-aws <[email protected]>
Co-authored-by: pintaoz <[email protected]>
Co-authored-by: Keshav Chandak <[email protected]>
Co-authored-by: Keshav Chandak <[email protected]>
Co-authored-by: Erick Benitez-Ramos <[email protected]>
Co-authored-by: Bruno Pistone <[email protected]>
Co-authored-by: evakravi <[email protected]>
Co-authored-by: Victor Zhu <[email protected]>
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.

3 participants