SageMaker example: make downloads conditional #446
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposes the following updates to https://docs.rapids.ai/deployment/nightly/cloud/aws/sagemaker/
guard downloads of the
HIGGS.csv
file withif
statements so you don't have to wait to re-download the data if it already exists locallyput a floor ofsagemaker>=2.198
in the lifecycle configuration script used to create therapids
JupyterLab kernel for the SageMaker notebook instanceNotes for Reviewers
I'd originally also added a floor on the
sagemaker
Python here, but reverted that per #446 (comment).details about why I'd added that sagemaker floor at first (click me)
Without that floor on
sagemaker
, even just runningimport sagemaker
at the top of a notebook fails like this:Conda was choosing a mix of very-old sagemaker and very-new
protobuf
:Forcing installation of a newer
sagemaker
(that controls itsprotobuf
dependency better) seems to help.Some related discussion of this issue: