aws / sagemaker-core

Apache License 2.0
5 stars 3 forks source link

update notebooks for beta #31

Closed benieric closed 4 months ago

benieric commented 4 months ago

Issue #, if available:

Description of changes:

Replace this:

!pip install <path to sagemaker_core tar.gz file>

With this:

%%bash

# Download the latest version of sagemaker_core from the s3 bucket
sagemaker_core_latest=$(aws s3 ls s3://sagemaker-core-beta-release/releases/ | sort | tail -n 1 | awk '{print $4}')
aws s3 cp s3://sagemaker-core-beta-release/releases/$sagemaker_core_latest dist/

# Install the latest version of sagemaker_core
pip install dist/$sagemaker_core_latest

Testing Tested in a SageMaker Studio Notebook: image

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

review-notebook-app[bot] commented 4 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB