Skip to content
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

feat(sagemaker): add model hosting L2 constructs #17399

Closed
wants to merge 4 commits into from
Closed

feat(sagemaker): add model hosting L2 constructs #17399

wants to merge 4 commits into from

Conversation

ajaykarpur
Copy link

Based closely on PR #6107, this commit introduces the Endpoint L2 construct and the L2 constructs on which it depends, including Model and EndpointConfig. Departures from PR #6107 include:

  • Added the DlcEcrImage class for AWS Deep Learning Containers
  • Added support for AsyncInferenceConfig
  • Linting and formatting

Fixes #2809


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

@gitpod-io
Copy link

gitpod-io bot commented Nov 8, 2021

@github-actions github-actions bot added the @aws-cdk/aws-sagemaker Related to AWS SageMaker label Nov 8, 2021
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 55699d9
  • Result: FAILED
  • Build Logs (available for 30 days)

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

@njlynch njlynch added effort/large Large work item – several weeks of effort p2 labels Nov 16, 2021
@njlynch njlynch removed their assignment Nov 16, 2021
@philschmid
Copy link

Any reason why this got never merged?

@petermeansrock
Copy link
Contributor

petermeansrock commented Feb 25, 2022

As the submitter of the earlier PR #6107 on which this newer PR was based, I too am interested in the answer to Philipp's question above.

Specifically, I'd like to know which of the following paths forward the CDK folks would like to take with the SageMaker L2 constructs:

  1. Review & merge this newer PR: If you choose to take this route, I kindly ask you to include the Co-authored-by information (adding me as well) from my original commit when squashing-and-merging the PR as the authorship information was not retained when this new PR was created.
  2. Review & merge the earlier PR feat(sagemaker): add model hosting L2 constructs #6107: I personally stopped merging changes from upstream due to the lack of traction on my PR, but I'd be more than happy to bring it up-to-date if I can get confirmation that the CDK folks have plans to review it.
  3. If there's an alternate contribution strategy the CDK folks would prefer, please let us know. Both @ajaykarpur and I have been active on GitHub in 2022, so we can likely accommodate any recommended changes in process.

@rix0rrr rix0rrr added feature-request A feature should be added or improved. p2 and removed p2 effort/large Large work item – several weeks of effort @aws-cdk/aws-sagemaker Related to AWS SageMaker feature-request A feature should be added or improved. labels Mar 4, 2022
@aws-cdk-automation
Copy link
Collaborator

This PR has been in BUILD FAILING for 21 days, and looks abandoned. It will be closed in 10 days if no further commits are pushed to it.

@github-actions
Copy link

This PR has been deemed to be abandoned, and will be automatically closed. Please create a new PR for these changes if you think this decision has been made in error.

@github-actions github-actions bot added the closed-for-staleness This issue was automatically closed because it hadn't received any attention in a while. label Apr 20, 2022
@github-actions github-actions bot closed this Apr 20, 2022
renovate bot added a commit to cythral/brighid-discord-adapter that referenced this pull request Apr 14, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [Amazon.CDK.Lib](https://togithub.com/aws/aws-cdk) | nuget | minor |
`2.73.0` -> `2.74.0` |

---

### Release Notes

<details>
<summary>aws/aws-cdk</summary>

### [`v2.74.0`](https://togithub.com/aws/aws-cdk/releases/tag/v2.74.0)

##### ⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

- **batch:** `ComputeEnvironment` has been removed and replaced by
`ManagedEc2EcsComputeEnvironment`, `ManagedEc2EksComputeEnvironment`,
and `UnmanagedComputeEnvironment`.

`JobDefinition` has been removed and replaced by `EcsJobDefinition`,
`EksJobDefinition`, and `MultiNodeJobDefinition`

##### Features

- **batch:** new L2 Constructs
([#&#8203;24775](https://togithub.com/aws/aws-cdk/issues/24775))
([92e6c67](https://togithub.com/aws/aws-cdk/commit/92e6c6706aae72d406cb5bf6a3f5c4d4885a5cb2))
- **ec2:** added ulimits property to ContainerDefinitionOptions
([#&#8203;24963](https://togithub.com/aws/aws-cdk/issues/24963))
([e37d16a](https://togithub.com/aws/aws-cdk/commit/e37d16ada1572518b4859c9dbf68e9f08eb3f4eb)),
closes [#&#8203;24918](https://togithub.com/aws/aws-cdk/issues/24918)
- **pipelines:** allow artifactBucket to be overridden
([#&#8203;24945](https://togithub.com/aws/aws-cdk/issues/24945))
([292c846](https://togithub.com/aws/aws-cdk/commit/292c846531cc3ecb033569953ebad1826d06c341))
- **sagemaker:** support dlc images in sagemaker model
([#&#8203;25018](https://togithub.com/aws/aws-cdk/issues/25018))
([91553e5](https://togithub.com/aws/aws-cdk/commit/91553e5622fd702e5137f253d266e93b5f0b1a5e)),
closes
[/github.com/aws/aws-cdk/pull/17399/files#diff-356f35099770f68f4ceee2e63d34aad8729b0a9be6c933a0c05e999be7374685R98-R145](https://togithub.com/aws//github.com/aws/aws-cdk/pull/17399/files/issues/diff-356f35099770f68f4ceee2e63d34aad8729b0a9be6c933a0c05e999be7374685R98-R145)
- **ses:** event destinations for configuration sets
([#&#8203;24745](https://togithub.com/aws/aws-cdk/issues/24745))
([3be43eb](https://togithub.com/aws/aws-cdk/commit/3be43eb1f467a0defcca6a298fd7c5c41ab80b6e))
- **step-functions-tasks:** Support PropagatedTagSource property for
EcsRunTask
([#&#8203;24949](https://togithub.com/aws/aws-cdk/issues/24949))
([a98a981](https://togithub.com/aws/aws-cdk/commit/a98a98147534f89a219521a2e51a6a1e25a2ac06)),
closes [#&#8203;12999](https://togithub.com/aws/aws-cdk/issues/12999)
- **stepfunctions-tasks:** Node.js 18.x runtime for `EvaluateExpression`
([#&#8203;25002](https://togithub.com/aws/aws-cdk/issues/25002))
([f26bfe9](https://togithub.com/aws/aws-cdk/commit/f26bfe9c1465389f1c8f5ef80c4e6ed9279fc0c2))

##### Bug Fixes

- **cloudwatch:** `p100` statistic is no longer recognized
([#&#8203;24981](https://togithub.com/aws/aws-cdk/issues/24981))
([adc1a13](https://togithub.com/aws/aws-cdk/commit/adc1a131c306eb3633a55b62cc301e276727a7da)),
closes [#&#8203;23095](https://togithub.com/aws/aws-cdk/issues/23095)
[#&#8203;24976](https://togithub.com/aws/aws-cdk/issues/24976)
- **events-targets:** parameter JobName can exceed limit of 128
characters
([#&#8203;24786](https://togithub.com/aws/aws-cdk/issues/24786))
([923b9f1](https://togithub.com/aws/aws-cdk/commit/923b9f19152eec889f10db9849ecf1db016c33f3)),
closes [#&#8203;24654](https://togithub.com/aws/aws-cdk/issues/24654)
- **redshift:** Column ids were not being default assigned
([#&#8203;24546](https://togithub.com/aws/aws-cdk/issues/24546))
([8a655bd](https://togithub.com/aws/aws-cdk/commit/8a655bdb57fa178a7247a2c74bc24fd1ff6e67a1)),
closes [#&#8203;24545](https://togithub.com/aws/aws-cdk/issues/24545)
- **s3:** deprecate unencrypted encryption configuration for s3 bucket
([#&#8203;24770](https://togithub.com/aws/aws-cdk/issues/24770))
([b971615](https://togithub.com/aws/aws-cdk/commit/b971615b6d5577c7c972e4a816d9f0de38fe56b5))
- ecr policy warning always throws
([#&#8203;25041](https://togithub.com/aws/aws-cdk/issues/25041))
([c0c3d19](https://togithub.com/aws/aws-cdk/commit/c0c3d19039981eb71bb37b2b1e3a1d5c12025b4f)),
closes [#&#8203;25028](https://togithub.com/aws/aws-cdk/issues/25028)
- **core:** Add stage prefix to stack name shortening process
([#&#8203;24443](https://togithub.com/aws/aws-cdk/issues/24443))
([55621ad](https://togithub.com/aws/aws-cdk/commit/55621adee7ee268c127333d0630eb93d1e472fa3)),
closes [#&#8203;23628](https://togithub.com/aws/aws-cdk/issues/23628)
- **servicecatalogappregistry:** Imported attribute group cannot be
associated to an application
([#&#8203;24960](https://togithub.com/aws/aws-cdk/issues/24960))
([4c2e7d6](https://togithub.com/aws/aws-cdk/commit/4c2e7d63b46490bbaf512b3c2b96efc189deb78d))

***

#### Alpha modules (2.74.0-alpha.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/cythral/brighid-discord-adapter).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDAuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot added a commit to cythral/brighid-commands that referenced this pull request Apr 14, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [Amazon.CDK.Lib](https://togithub.com/aws/aws-cdk) | nuget | minor |
`2.73.0` -> `2.74.0` |

---

### Release Notes

<details>
<summary>aws/aws-cdk</summary>

### [`v2.74.0`](https://togithub.com/aws/aws-cdk/releases/tag/v2.74.0)

##### ⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES

- **batch:** `ComputeEnvironment` has been removed and replaced by
`ManagedEc2EcsComputeEnvironment`, `ManagedEc2EksComputeEnvironment`,
and `UnmanagedComputeEnvironment`.

`JobDefinition` has been removed and replaced by `EcsJobDefinition`,
`EksJobDefinition`, and `MultiNodeJobDefinition`

##### Features

- **batch:** new L2 Constructs
([#&#8203;24775](https://togithub.com/aws/aws-cdk/issues/24775))
([92e6c67](https://togithub.com/aws/aws-cdk/commit/92e6c6706aae72d406cb5bf6a3f5c4d4885a5cb2))
- **ec2:** added ulimits property to ContainerDefinitionOptions
([#&#8203;24963](https://togithub.com/aws/aws-cdk/issues/24963))
([e37d16a](https://togithub.com/aws/aws-cdk/commit/e37d16ada1572518b4859c9dbf68e9f08eb3f4eb)),
closes [#&#8203;24918](https://togithub.com/aws/aws-cdk/issues/24918)
- **pipelines:** allow artifactBucket to be overridden
([#&#8203;24945](https://togithub.com/aws/aws-cdk/issues/24945))
([292c846](https://togithub.com/aws/aws-cdk/commit/292c846531cc3ecb033569953ebad1826d06c341))
- **sagemaker:** support dlc images in sagemaker model
([#&#8203;25018](https://togithub.com/aws/aws-cdk/issues/25018))
([91553e5](https://togithub.com/aws/aws-cdk/commit/91553e5622fd702e5137f253d266e93b5f0b1a5e)),
closes
[/github.com/aws/aws-cdk/pull/17399/files#diff-356f35099770f68f4ceee2e63d34aad8729b0a9be6c933a0c05e999be7374685R98-R145](https://togithub.com/aws//github.com/aws/aws-cdk/pull/17399/files/issues/diff-356f35099770f68f4ceee2e63d34aad8729b0a9be6c933a0c05e999be7374685R98-R145)
- **ses:** event destinations for configuration sets
([#&#8203;24745](https://togithub.com/aws/aws-cdk/issues/24745))
([3be43eb](https://togithub.com/aws/aws-cdk/commit/3be43eb1f467a0defcca6a298fd7c5c41ab80b6e))
- **step-functions-tasks:** Support PropagatedTagSource property for
EcsRunTask
([#&#8203;24949](https://togithub.com/aws/aws-cdk/issues/24949))
([a98a981](https://togithub.com/aws/aws-cdk/commit/a98a98147534f89a219521a2e51a6a1e25a2ac06)),
closes [#&#8203;12999](https://togithub.com/aws/aws-cdk/issues/12999)
- **stepfunctions-tasks:** Node.js 18.x runtime for `EvaluateExpression`
([#&#8203;25002](https://togithub.com/aws/aws-cdk/issues/25002))
([f26bfe9](https://togithub.com/aws/aws-cdk/commit/f26bfe9c1465389f1c8f5ef80c4e6ed9279fc0c2))

##### Bug Fixes

- **cloudwatch:** `p100` statistic is no longer recognized
([#&#8203;24981](https://togithub.com/aws/aws-cdk/issues/24981))
([adc1a13](https://togithub.com/aws/aws-cdk/commit/adc1a131c306eb3633a55b62cc301e276727a7da)),
closes [#&#8203;23095](https://togithub.com/aws/aws-cdk/issues/23095)
[#&#8203;24976](https://togithub.com/aws/aws-cdk/issues/24976)
- **events-targets:** parameter JobName can exceed limit of 128
characters
([#&#8203;24786](https://togithub.com/aws/aws-cdk/issues/24786))
([923b9f1](https://togithub.com/aws/aws-cdk/commit/923b9f19152eec889f10db9849ecf1db016c33f3)),
closes [#&#8203;24654](https://togithub.com/aws/aws-cdk/issues/24654)
- **redshift:** Column ids were not being default assigned
([#&#8203;24546](https://togithub.com/aws/aws-cdk/issues/24546))
([8a655bd](https://togithub.com/aws/aws-cdk/commit/8a655bdb57fa178a7247a2c74bc24fd1ff6e67a1)),
closes [#&#8203;24545](https://togithub.com/aws/aws-cdk/issues/24545)
- **s3:** deprecate unencrypted encryption configuration for s3 bucket
([#&#8203;24770](https://togithub.com/aws/aws-cdk/issues/24770))
([b971615](https://togithub.com/aws/aws-cdk/commit/b971615b6d5577c7c972e4a816d9f0de38fe56b5))
- ecr policy warning always throws
([#&#8203;25041](https://togithub.com/aws/aws-cdk/issues/25041))
([c0c3d19](https://togithub.com/aws/aws-cdk/commit/c0c3d19039981eb71bb37b2b1e3a1d5c12025b4f)),
closes [#&#8203;25028](https://togithub.com/aws/aws-cdk/issues/25028)
- **core:** Add stage prefix to stack name shortening process
([#&#8203;24443](https://togithub.com/aws/aws-cdk/issues/24443))
([55621ad](https://togithub.com/aws/aws-cdk/commit/55621adee7ee268c127333d0630eb93d1e472fa3)),
closes [#&#8203;23628](https://togithub.com/aws/aws-cdk/issues/23628)
- **servicecatalogappregistry:** Imported attribute group cannot be
associated to an application
([#&#8203;24960](https://togithub.com/aws/aws-cdk/issues/24960))
([4c2e7d6](https://togithub.com/aws/aws-cdk/commit/4c2e7d63b46490bbaf512b3c2b96efc189deb78d))

***

#### Alpha modules (2.74.0-alpha.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/cythral/brighid-commands).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDAuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-for-staleness This issue was automatically closed because it hadn't received any attention in a while. p2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sagemaker: Create L2 construct for Amazon SageMaker
6 participants