// guide

Run RAPIDS cuDF and cuML in JupyterLab on one NVIDIA L4 GPU

To run RAPIDS cuDF and cuML in JupyterLab, load cudf.pandas or cuml.accel before your pandas and scikit-learn imports; on NVIDIA Brev, the RAPIDS Data Science with cuDF and cuML Launchable runs NVIDIA RAPIDS 26.10 in JupyterLab on one NVIDIA L4 24GB GPU.

Updated

Published

On this page

What does the RAPIDS Data Science Launchable run?

The Launchable runs JupyterLab on the RAPIDS 26.10 notebooks image with cuDF, cuDF-Polars, cuML, cuGraph, Dask-CUDA and XGBoost built for CUDA. A Launchable is a reproducible, shareable environment configuration on NVIDIA Brev: GPU, disk, container setup and ports in one link. The RAPIDS Data Science Launchable page has the deploy button; the data science topic lists it with related pages.

Pins as of 2026-11-15, the date of the last fresh-deploy smoke.

ComponentPinned versionLicence
NVIDIA RAPIDS (cuDF, cuDF-Polars, cuML, cuGraph, Dask-CUDA)26.10, image rapidsai/notebooks:26.10-cuda12-py3.12, pinned by tag and digestApache-2.0
XGBoost (CUDA build)3.4.2Apache-2.0
JupyterLabas shipped in the RAPIDS image aboveBSD-3-Clause

Polars is licensed under MIT; pandas, scikit-learn and Dask are licensed under BSD-3-Clause. JupyterLab listens on port 8888 behind the authenticated Brev link. The Dask dashboard is on port 8787.

How do I run pandas code on the GPU with cuDF?

Load the cudf.pandas extension before you import pandas; your pandas code then runs on the GPU where cuDF supports the operation. The cuDF documentation describes this accelerator mode as zero code change.

  1. In a notebook cell, run %load_ext cudf.pandas before any other import.

  2. Run import pandas as pd and your existing pandas code.

  3. For a script, run python -m cudf.pandas script.py.

  4. Operations cuDF does not support fall back to pandas on the CPU, per the cuDF documentation.

  5. For Polars, pass engine="gpu" to .collect() on a lazy query; Polars documents its GPU engine, built on RAPIDS cuDF, as open beta and falls back to the CPU engine for unsupported queries.

How do I train a model with cuML or XGBoost?

Load cuml.accel before you import scikit-learn, or set device="cuda" in XGBoost; both train on the GPU without a rewrite of your model code.

  • cuML: run %load_ext cuml.accel before other imports in a notebook, or python -m cuml.accel script.py for a script.
  • cuml.accel runs supported scikit-learn, UMAP and HDBSCAN workloads on the GPU and falls back to the CPU for the rest, per the cuML documentation.
  • XGBoost: set device="cuda" and tree_method="hist" in the training parameters, per the XGBoost GPU documentation.
  • The Launchable ships XGBoost 3.4.2 in its CUDA build.
  • The public source folder has walkthroughs in its docs/ folder: cudf-pandas.md, cuml-accel.md, xgboost-gpu.md and time-series-finance.md, plus one for the Polars GPU engine.

Which GPU, disk and price does it use?

The Launchable uses one NVIDIA L4 24GB on GCP g2-standard-8 with 64 GiB of disk, at about $1.02/hr (Brev console, 2026-11-15).

ItemValue
GPU1x NVIDIA L4 24GB
Instance typeGCP g2-standard-8
Disk64 GiB
Priceabout $1.02/hr (Brev console, 2026-11-15)
Last fresh-deploy smoke2026-11-15
Launchable IDenv-3M8aZ3FqwckUgj9tV7qQc9B3vVG

RAPIDS notebooks or the RAPIDS data science agent: which fits?

Use this Launchable when you write the notebooks yourself; use the RAPIDS Data Science Agent with Hermes when you want an agent to write and run them. The GPU data science agent guide covers the agent. The two prices below are separate console reads for two different GPU types, each with its own date.

ItemRAPIDS Data Science with cuDF and cuMLRAPIDS Data Science Agent with Hermes
Who writes the codeYou, in JupyterLabHermes Agent, with you reviewing
ModelNoneNVIDIA Nemotron 3.5 Lightning, served by vLLM on the instance
GPU1x NVIDIA L4 24GB1x NVIDIA L40S 48GB
Instance typeGCP g2-standard-8AWS g6e.xlarge
Disk64 GiB200 GiB
Priceabout $1.02/hr (Brev console, 2026-11-15)about $2.26/hr (Brev console, 2026-11-19)

How do I deploy it on NVIDIA Brev?

You deploy it from its deploy link and open JupyterLab with the token stored on the instance.

  1. Open the deploy page (external site) on NVIDIA Brev.

  2. Follow how to deploy a Launchable on NVIDIA Brev and wait until the instance is running.

  3. Read the JupyterLab token: run brev shell INSTANCE_NAME, then sudo cat /home/ubuntu/workspace/rapids/.jupyter-token.

  4. Open JupyterLab through the authenticated Brev link on port 8888.

  5. New to Launchables? Read what is a Brev Launchable?.

What happens when I stop or delete the instance?

Stop keeps everything under /home/ubuntu/workspace/rapids; Delete removes the instance and all of its data. Read stop, start and delete an NVIDIA Brev instance for the console steps and what a stopped instance is billed.

  • Save notebooks and data in /home/ubuntu/workspace/rapids; that folder survives Stop.
  • Files outside the workspace live inside the container and are lost if the container is recreated.
  • Start normally recreates the JupyterLab container and keeps your notebooks and token; if JupyterLab does not answer after Start, run cd /home/ubuntu/workspace && sudo docker compose up -d (in our test on 2026-11-15, one of two starts needed this command).
  • Delete removes the instance and all of its data.

How does this relate to NightKeeper?

This Launchable is a finished environment you deploy yourself. NightKeeper is a separate 9owls product for your own code: it packages your repository as an NVIDIA Brev Launchable, proves it on a fresh GPU and keeps it running.

Sources: where do these facts come from?

Every fact on this page comes from these sources, read 2026-11-22; the RAPIDS documentation link was re-read on 2026-11-28.

  • Launchable public README: https://github.com/ashishsalve/gpu-launchables/blob/main/rapids-datascience/README.md
  • Agent Launchable public README: https://github.com/ashishsalve/gpu-launchables/blob/main/rapids-data-science-agent/README.md
  • cuDF pandas accelerator mode: https://docs.nvidia.com/cudf/latest/cudf_pandas/
  • cuML zero code change acceleration: https://docs.nvidia.com/cuml/latest/cuml-accel/
  • Polars GPU support: https://docs.pola.rs/user-guide/gpu-support/
  • XGBoost GPU support: https://xgboost.readthedocs.io/en/stable/gpu/index.html
  • Launchables concept: https://docs.nvidia.com/brev/latest/concepts/launchables.md
  • NVIDIA RAPIDS documentation: https://docs.nvidia.com/datascience/

What changed on this page?

  • 2026-12-03: the Start note now says what our 2026-11-15 start tests showed and gives the recovery command; the JupyterLab row no longer states a version we did not record.
  • 2026-11-28: the title now names the task and the GPU, the pins carry an as-of date, and the side-by-side prices say why they differ.

How was this page made?

9owls publishes this page; it has no personal author.

  • Tested facts: the Launchable's fresh-deploy smoke of 2026-11-15 on GCP g2-standard-8.

  • Upstream facts: the cuDF, cuML, Polars and XGBoost documentation listed above, each with its read date.

  • Corrections: tell us through the contact form and we fix the page and its date.

All guides