Skip to content

[AWS] Sagemaker: Add documentation on SageMaker Studio #639

@btepera

Description

@btepera

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:

  1. 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"
  1. 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"
  1. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions