skillfed

cloud-accelerator-diagnostics

Monitor, debug and profile the jobs running on Cloud accelerators like TPUs and GPUs.

cloud-accelerator-diagnostics v0.1.1 274.7K downloads/30d#8,186 on PyPI32
License unclear Active released

What it is and what it does

Cloud Accelerator Diagnostics is a library for monitoring and profiling machine learning workloads on cloud TPUs and GPUs. It wraps Vertex AI Tensorboard integration, allowing you to automatically capture and upload diagnostic logs from accelerator runs without manual instrumentation of your training code.

The package provides three main entry points: creating Vertex AI Tensorboard instances, creating Experiments within those instances, and starting a background thread that continuously monitors a log directory and uploads new data to Tensorboard. It is designed to work alongside profiling frameworks, and handles the Google Cloud authentication and API calls on your behalf. The main runtime dependency is google-cloud-aiplatform.

Use it for:

  • Profile workloads running on TPUs and automatically upload traces to Vertex AI Tensorboard for analysis.
  • Monitor GPU training jobs and stream diagnostic logs to a centralized Tensorboard instance for debugging.
  • Set up a Vertex AI Experiment with automatic Tensorboard attachment to compare multiple accelerator runs.
  • Capture and persist accelerator performance metrics without writing custom Google Cloud API boilerplate.
  • Debug training failures by reviewing uploaded logs in Vertex AI Tensorboard after a job completes.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Monitors, debugs, and profiles workloads running on cloud accelerators (TPUs and GPUs), with built-in support for uploading diagnostic data to Vertex AI Tensorboard.

Yes, if you are running workloads on Google Cloud TPUs or GPUs and want streamlined Tensorboard integration. The package is actively maintained, has low install friction, and eliminates boilerplate for Vertex AI setup. However, verify the license treatment before use in commercial contexts, and confirm that google-cloud-aiplatform's dependencies fit your environment. Not relevant for non-Google-Cloud accelerator setups.

Install

cloud-accelerator-diagnostics on PyPI

pip

pip install cloud-accelerator-diagnostics

uv

uv add cloud-accelerator-diagnostics

poetry

poetry add cloud-accelerator-diagnostics

Installing cloud-accelerator-diagnostics

Before you install

Low install friction with a pure-Python wheel. Actively maintained with last commit on 2026-08-14. Depends on google-cloud-aiplatform, which brings substantial Google Cloud infrastructure as a transitive dependency.

License in practice

License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. The description excerpt shows Apache 2.0 headers, but verify the actual license before adopting in a commercial or restricted-license context.

Quickstart

pip install cloud-accelerator-diagnostics

from cloud_accelerator_diagnostics import tensorboard
instance_id, tensorboard_url = tensorboard.create_experiment(
    project="test-project",
    location="us-central1",
    experiment_name="test-experiment",
    tensorboard_name="test-instance"
)

Requires Vertex AI API enabled in Google Cloud console and Vertex AI User IAM role assigned to the service account.

Verify before relying

  • Actual license classification—description shows Apache 2.0 headers but metadata does not declare it formally.
  • Whether google-cloud-aiplatform's full dependency tree is acceptable for your environment.
  • Real-world performance and stability on production TPU/GPU workloads at scale.

Package facts

License not declared (unclear)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 1 — google-cloud-aiplatform
Maintenance actively maintained — 668 days since the last release
Last repo commit
First released
Downloads 274,717/month — #8,186 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: cloud_accelerator_diagnostics-0.1.1-py3-none-any.whl

Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

TPU GPU profiling monitoringcloud accelerator diagnosticsVertex AI Tensorboard uploadworkload profiling debuggingaccelerator performance monitoringcloud training diagnosticsaccelerator workload debugging
accelerator-profilingvertex-aigoogle-cloud

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

accelforge

AccelForge models, designs, and explores tensor…

unclear · top 15,000 on PyPI

google-cloud-mldiagnostics

Collects metrics, configs, and performance…

permissive · top 15,000 on PyPI

ml-goodput-measurement

Measures and monitors the productive…

unclear · top 15,000 on PyPI

torch-tb-profiler

Integrates PyTorch profiling data with…

permissive · top 15,000 on PyPI

cloud-tpu-diagnostics

Collects stack traces and diagnostic data from…

unclear · top 15,000 on PyPI

google-cloud-pipeline-components

Provides predefined Kubeflow Pipelines…

permissive · top 5,000 on PyPI

tensorboard-data-server

Provides fast data loading and serving for…

permissive · top 5,000 on PyPI

tensorboard

TensorBoard is a web-based visualization suite…

permissive · top 1,000 on PyPI

tb-nightly

TensorBoard is a web-based visualization suite…

permissive · top 15,000 on PyPI

tf-nightly

tf-nightly provides nightly builds of…

permissive · top 15,000 on PyPI