← 开源

A JupyterLab extension for displaying dashboards of GPU usage.

TypeScript
增长势头
+024 小时新增 Star0.0%
684
Star
90
Fork
+1
本周
29
贡献者
创建于 2019-08-12 · 更新于 2026-12-02 · 今日第 17674 名
主要开发者
README

JupyterLab NVdashboard

NVDashboard is a JupyterLab extension for displaying GPU usage dashboards. It enables JupyterLab users to visualize system hardware metrics within the same interactive environment they use for development. Supported metrics include:

  • GPU-compute utilization
  • GPU-memory consumption
  • PCIe throughput
  • NVLink throughput

Demo

Table of Contents

Features

JupyterLab-nvdashboard provides tools for exploring GPU metrics in your notebook, from inspecting chart history to enabling GPU accelerators.

Brush for Time Series Charts

Use brushing by clicking and dragging to select a time range on time series charts and inspect past activity in more detail.

Synced Tooltips

On pages with multiple charts, tooltips align at the same timestamp so you can compare metrics at a given moment.

Theme Compatibility

The dashboard follows JupyterLab's light and dark themes, keeping its charts readable in either theme.

Light Theme

Dark Theme

GPU Accelerators

A GPU accelerator activator button that lets you enable GPU-backed execution with zero code changes. When active, your existing pandas code runs on the GPU via cuDF pandas, and/or your scikit-learn, umap, or hdbscan code runs on the GPU via cuML accel. Accelerators are shown only when the corresponding dependencies are installed in the notebook's environment: cuDF for pandas acceleration and cuML for scikit-learn acceleration.

For example, the first pandas run uses the CPU: note its execution time and the lack of activity in the GPU dashboard. After turning on cuDF pandas, the next run shows GPU activity in the dashboard and completes faster:

For a closer look at the controls:

  1. Open GPU Accel in the notebook toolbar.

  2. Select cuDF pandas or cuML Accelerator. Choose Select All to enable every available accelerator.

  3. A check mark shows which accelerator is active, and the number beside GPU Accel shows how many are selected. Select a checked accelerator to turn it off, or choose Clear All to disable all accelerators. Restart the kernel when prompted so the change takes effect.

To accelerate scikit-learn, UMAP, or HDBSCAN code, turn on cuML Accelerator in the GPU Accel menu.

Version Compatibility

JupyterLab-nvdashboard v4 is designed exclusively for JupyterLab v4 and later versions.

Installation

Conda

Releases of the conda packages are first published to the rapidsai channel, then generally land on conda-forge shortly after.

# nightly version
conda install -c rapidsai-nightly -c conda-forge jupyterlab-nvdashboard

# stable version
conda install -c rapidsai -c conda-forge jupyterlab-nvdashboard

# stable version (conda-forge only)
conda install -c conda-forge jupyterlab-nvdashboard

PyPI

# nightly version
pip install --extra-index-url https://pypi.anaconda.org/rapidsai-wheels-nightly/simple 'jupyterlab-nvdashboard>=0.14.0a0'

# stable version
pip install jupyterlab-nvdashboard

Troubleshoot

If you are seeing the frontend extension, but it is not working, check that the server extension is enabled:

jupyter server extension list

If the server extension is installed and enabled, but you are not seeing the frontend extension, check the frontend extension is installed:

jupyter labextension list

Contributing Developers Guide

For more details, check out the contributing guide.

排名相邻

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载