Monitor your DGX system and launch JupyterLab
Choose one of the following methods to access the DGX Dashboard web interface:
Option A: Desktop shortcut (local access)
If you have physical or remote desktop access to the Spark device:
http://localhost:11000
Option B: NVIDIA Sync (recommended for remote access)
If you have NVIDIA Sync installed on your local machine:
http://localhost:11000
using an automatic SSH tunnelDon't have NVIDIA Sync? Install it here
Option C: Manual SSH tunnels
For manual remote access without NVIDIA Sync you must first manually configure an SSH tunnel.
You must open a tunnel for the Dashboard server (port 11000) and for JupyterLab if you want to access it remotely. Each user account will have a different assigned port number for JupyterLab.
cat /opt/nvidia/dgx-dashboard-service/jupyterlab_ports.yaml
ssh -L 11000:localhost:11000 -L <ASSIGNED_PORT>:localhost:<ASSIGNED_PORT> <USERNAME>@<SPARK_DEVICE_IP>
Replace <USERNAME>
with your Spark device username and <SPARK_DEVICE_IP>
with the device's IP address.
Replace <ASSIGNED_PORT>
with the port number from the YAML file.
Open your web browser and navigate to http://localhost:11000
.
Once the dashboard loads in your browser:
You should see the main dashboard with panels for JupyterLab management, system monitoring, and settings.
Create and start a JupyterLab environment:
When starting, a default working directory (/home/requirements.txt
file that is created in the working directory.
In the future, you can change the working directory, creating a new isolated environment, by clicking the "Stop" button, changing the path to the new working directory and then clicking the "Start" button again.
Verify your setup by running a simple Stable Diffusion XL image generation example:
import warnings
warnings.filterwarnings('ignore', message='.*cuda capability.*')
import tqdm.auto
tqdm.auto.tqdm = tqdm.std.tqdm
from diffusers import DiffusionPipeline
import torch
from PIL import Image
from datetime import datetime
from IPython.display import display
# --- Model setup ---
MODEL_ID = "stabilityai/stable-diffusion-xl-base-1.0"
dtype = torch.float16 if torch.cuda.is_available() else torch.float32
pipe = DiffusionPipeline.from_pretrained(
MODEL_ID,
torch_dtype=dtype,
variant="fp16" if dtype==torch.float16 else None,
)
pipe = pipe.to("cuda" if torch.cuda.is_available() else "cpu")
# --- Prompt setup ---
prompt = "a cozy modern reading nook with a big window, soft natural light, photorealistic"
negative_prompt = "low quality, blurry, distorted, text, watermark"
# --- Generation settings ---
height = 1024
width = 1024
steps = 30
guidance = 7.0
# --- Generate ---
result = pipe(
prompt=prompt,
negative_prompt=negative_prompt,
num_inference_steps=steps,
guidance_scale=guidance,
height=height,
width=width,
)
# --- Save to file ---
image: Image.Image = result.images[0]
display(image)
image.save(f"sdxl_output.png")
print(f"Saved image as sdxl_output.png")
While the image generation is running:
When finished with your session:
If system updates are available it will be indicated by a banner or on the Settings page.
From the Settings page, under the "Updates" tab:
WARNING
System updates will upgrade packages, firmware if available, and trigger a reboot. Save your work before proceeding.
To clean up resources and return system to original state:
WARNING
If you ran system updates, the only rollback is to restore from a system backup or recovery media.
No permanent changes are made to the system during normal dashboard usage.
Now that you have DGX Dashboard configured, you can: