-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
SageMaker is pushing SageMaker Studio as the preferred way of launching notebooks in a Jupyterlab interface. Currently we document how to run RAPIDS in the legacy Notebooks workflow (which can still be used today) but it would be good to add a guide on how users can leverage RAPIDS in Studio as well.
I spent a little time trying to get RAPIDS working in Studio, as the workflow is slightly different than it is in the classic Notebooks interface. It's not possible to create a Lifecycle Configuration from Studio directly. Instead, what I did was:
- Create a JupyterLab lifecycle configuration from the main Sagemaker dashboard
- I used a very simple one to test that this works but might be better to include more RAPIDS libraries in the guide:
#!/bin/bash
set -eux
pip install \
"cudf-cu12==25.10.*" "cuml-cu12==25.10.*"
echo "install completed"- Add that lifecycle configuration to a domain
- Environment Configuration > Domains > (choose domain) > Environment
- Attach the relevant lifecycle configuration under "Lifecycle configurations for personal Studio apps"
- Launch Studio and create a Jupyterlab Space with the corresponding lifecycle configuration selected (it should be available in the dropdown if the above steps were completed successfully)
Metadata
Metadata
Assignees
Labels
No labels