Snowflake#

You can access cuDF and cuML in Snowflake Notebooks in Workspaces (Jupyter compatible) or in the Snowflake Notebooks on Container Runtime for ML. You can also install RAPIDS on Snowflake via Snowpark Container Services.

Snowflake Notebooks in Workspaces (Jupyter compatible)#

Snowflake Notebooks in Workspaces provide a Jupyter-compatible environment. The environment is pre-configured for AI/ML development with fully-managed access to GPUs, and it has cuDF and cuML built-in.

  1. In the left panel, go to ProjectsWorkspaces.

Screenshot of how to access workspace
  1. Inside your workspace, click + Add new and select Notebook to create a new notebook, or choose Upload files to import an existing .ipynb file.

Screenshot of how to access create new notebook on workspace
  1. Once your notebook is open, click the Connect dropdown and select Create new service to attach a compute service that will run your notebook.

Screenshot of how to create a new service to connect the new notebook
  1. In the Connect your notebook dialog, give your service a name, set the Compute type to GPU, select a GPU compute pool (e.g. SYSTEM_COMPUTE_POOL_GPU (GPU_NV_S)), and choose an External access integration (e.g. ALLOW_ALL_INTEGRATION) to allow package installation from PyPI and general internet access. Click Create and connect when ready.

Screenshot of how to configure service to get GPU access
  1. You can import cuDF and or cuML and start using the notebook.

Related Examples#

Getting Started with cuML’s accelerator mode (cuml.accel) in Snowflake Notebooks

library/cuml platforms/snowflake

Getting Started with cuML’s accelerator mode (cuml.accel) in Snowflake Notebooks

Getting Started with cudf.pandas and Snowflake

library/cudf platforms/snowflake

Getting Started with cudf.pandas and Snowflake