aws-samples / sagemaker-studio-custom-image-samples

This repository contains examples of Docker images that can be used as custom images for KernelGateway Apps in SageMaker Studio
MIT No Attribution
128 stars 88 forks source link

Poetry Python custom image example #11

Closed moose-in-australia closed 3 years ago

moose-in-australia commented 3 years ago

Issue #, if available: N/A

Description of changes: Adding an example for customers who use Poetry to manage Python environments and dependencies. This example shows how to use your Poetry-defined environment to create a custom image for SageMaker Studio.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

athewsey commented 3 years ago

Just a suggestion: IMO maybe would be good to add the sagemaker SDK to pyproject.toml?

moose-in-australia commented 3 years ago

Thanks for the suggestion! I've added the sagemaker SDK to the environment definition and tested it in Studio.

jaipreet-s commented 3 years ago

Thanks for the contribution!