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

Example use case #227

Open
akinolawilson opened this issue Feb 25, 2021 · 2 comments
Open

Example use case #227

akinolawilson opened this issue Feb 25, 2021 · 2 comments
Labels
type: documentation Documentation needs to be revised type: question Further information is requested

Comments

@akinolawilson
Copy link

would it possible to have an example use case of this repository?

Would I clone this whilst in the Sagemaker studio? Would it be possible to build an image from this repository and then push it up to the ECR service, following that mount it as an image to my Sagemaker Studio?

@ChoiByungWook ChoiByungWook added type: documentation Documentation needs to be revised type: question Further information is requested labels Feb 26, 2021
@ChoiByungWook
Copy link
Contributor

ChoiByungWook commented Feb 26, 2021

Hey @akinolawilson,

Thanks for the suggestion!

would it possible to have an example use case of this repository?

As of now, this repository hosts the container side code for enabling training within the SageMaker PyTorch container with the SageMaker Python SDK.

For example, all of the PyTorch examples using the Python SDK for training utilize containers generated from this repository: https://github.com/aws/amazon-sagemaker-examples/tree/master/sagemaker-python-sdk

Would I clone this whilst in the Sagemaker studio? Would it be possible to build an image from this repository and then push it up to the ECR service, following that mount it as an image to my Sagemaker Studio?

For using this image in Studio, I would recommend following:

You would need to do the following:

  1. Build the image from this repository
  2. Push the image to ECR
  3. Create a SageMaker Image and ImageVersion mapping to the ECR Image
  4. Create a SageMaker Studio AppImageConfig
  5. Create/Update your SageMaker Domain

Similar to: https://github.com/aws-samples/sagemaker-studio-custom-image-samples/tree/main/examples/r-image.

You can also extend an existing image, if you don't wish to build the image from this repository.

https://docs.aws.amazon.com/sagemaker/latest/dg/prebuilt-containers-extend.html

Thanks!

@akinolawilson
Copy link
Author

@ChoiByungWook thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation Documentation needs to be revised type: question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants