Monitor GPU or TPU instances with prebuilt dashboards

This document explains how to monitor the capacity, utilization, and telemetry of your GPU and TPU instances and on-demand reservations in Cluster Director.

By using the Accelerator observability page in the Google Cloud console, you can view capacity, usage metrics, and telemetry for your GPU and TPU instances and reservations by using prebuilt Cloud Monitoring dashboards. This information helps you understand the operational status of your reservations and compute instances.

Alternatively, you can do one or both of the following:

Limitations

When you view capacity, usage metrics, and telemetry for your GPU and TPU instances and reservations, the following limitations apply:

  • You can view only active on-demand reservations in your project, whether you created them directly or Compute Engine created them to fulfill a future reservation request.

  • If you view a shared reservation, then you can only view the accelerator instances that reside in your project.

  • For reservations of GPU instances, you can only view reservations for A5X, A4X Max, and A4X machine series.

Before you begin

When you access and use the Google Cloud console, you don't need to authenticate. You can automatically use Google Cloud services and APIs.

Required roles

To get the permissions that you need to view Monitoring dashboards, ask your administrator to grant you the following IAM roles on the project:

For more information about granting roles, see Manage access to projects, folders, and organizations.

These predefined roles contain the permissions required to view Monitoring dashboards. To see the exact permissions that are required, expand the Required permissions section:

Required permissions

The following permissions are required to view Monitoring dashboards:

  • View Monitoring dashboards:
    • monitoring.dashboards.get
    • monitoring.dashboards.list
    • monitoring.metricDescriptors.list
    • monitoring.monitoredResourceDescriptors.list
    • monitoring.timeSeries.list
  • View accelerator reservations: compute.reservations.list

You might also be able to get these permissions with custom roles or other predefined roles.

Available metrics

The prebuilt Monitoring dashboards on the Accelerator observability page show the following metrics:

  • TPU: monitor reserved chip counts, available and active chips, duty cycle for Google Kubernetes Engine (GKE) workloads, compute instance uptime, and compute instance interruptions.

  • GPU: monitor reserved versus used GPUs, infrastructure health and degradation status, Streaming Multiprocessor (SM) utilization, power consumption, temperature, thermal margin, and compute instance uptime.

View GPU or TPU dashboards

To view Monitoring dashboards for your GPU and TPU instances, complete the following steps:

  1. In the Google Cloud console, go to the Accelerator observability page.

    Go to Accelerator observability

  2. Click one of the following tabs:

    • To view capacity, usage, and reservations for your TPU instances, click the TPU tab.

    • To view capacity, usage, and reservations for your GPU instances, click the GPU tab.

  3. Optional: To change the time window for the dashboard widgets, click Pick time range, and then select a duration.

  4. Optional: To automatically refresh the dashboard widgets, click Enable auto refresh.

  5. Verify that the dashboard widgets and the Reservations table display capacity and telemetry data for the supported accelerators in your project.

  6. Optional: To view individual reservations for an accelerator type, in the Reservations table, click an entry in the Accelerator type column. A side panel opens and lists active reservations for that accelerator type.

  7. Optional: To inspect block and sub-block health for a specific reservation, in the Reservation name column of the side panel, click the reservation name. The Accelerator health page opens with a filter applied for that reservation.

What's next