Add code block to example notebooks so user can always install latest beta distribution if they are allow listed. User can run a single cell to download and install latest, no need to manually insert path to tar.gz
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:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
Description of changes:
Replace this:
With this:
Testing Tested in a SageMaker Studio Notebook:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.