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: add sagemaker-custom-kernel module #40

Merged
merged 8 commits into from
Apr 8, 2024

Conversation

kukushking
Copy link
Contributor

@kukushking kukushking commented Apr 4, 2024

Describe your changes

  • add sagemaker-custom-kernel module

Checklist before requesting a review

  • I updated CHANGELOG.MD with a description of my changes
  • If the change was to a module, I ran the code validation script (scripts/validate.sh)
  • If the change was to a module, I have added thorough tests
  • If the change was to a module, I have added/updated the module's README.md
  • If a module was added, I added a reference to the module to the repository's README.md
  • I verified that my code deploys successfully using seedfarmer apply

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

Signed-off-by: Anton Kukushkin <[email protected]>
Signed-off-by: Anton Kukushkin <[email protected]>
Signed-off-by: Anton Kukushkin <[email protected]>
Signed-off-by: Anton Kukushkin <[email protected]>
Signed-off-by: Anton Kukushkin <[email protected]>
@kukushking kukushking marked this pull request as ready for review April 5, 2024 12:25
Signed-off-by: Anton Kukushkin <[email protected]>
Signed-off-by: Anton Kukushkin <[email protected]>
@kukushking
Copy link
Contributor Author

Tested E2E, including image updates (& enabled ECR image tag mutability).

Copy link

@dgraeber dgraeber left a comment

Choose a reason for hiding this comment

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

Is this being moved from another repo?

modules/sagemaker/sagemaker-custom-kernel/modulestack.yaml Outdated Show resolved Hide resolved
@kukushking
Copy link
Contributor Author

kukushking commented Apr 8, 2024

Signed-off-by: Anton Kukushkin <[email protected]>
@kukushking kukushking merged commit d9d2630 into awslabs:main Apr 8, 2024
10 checks passed
@kukushking kukushking deleted the feat/sagemaker-custom-kernel branch April 8, 2024 15:35
- !Sub "arn:aws:iam::${AWS::AccountId}:role/${ProjectName}-${DeploymentName}-${ModuleName}-image-role"
- !Ref StudioExecutionRoleArn
- Action:
- "ecr:*LayerUpload"
Copy link
Contributor

Choose a reason for hiding this comment

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

Curious to know why do you need ECR IAM permissions? I have noticed you are building images using CDK Lib

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, yes, we no longer need it as it's handled by CDK now. Will fix in the next PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks!

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