cloud-accelerator-diagnostics
Monitor, debug and profile the jobs running on Cloud accelerators like TPUs and GPUs.
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-diagnosticsuv
uv add cloud-accelerator-diagnosticspoetry
poetry add cloud-accelerator-diagnosticsInstalling 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
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
accelforgeAccelForge models, designs, and explores tensor…
unclear · top 15,000 on PyPI
google-cloud-mldiagnosticsCollects metrics, configs, and performance…
permissive · top 15,000 on PyPI
ml-goodput-measurementMeasures and monitors the productive…
unclear · top 15,000 on PyPI
torch-tb-profilerIntegrates PyTorch profiling data with…
permissive · top 15,000 on PyPI
cloud-tpu-diagnosticsCollects stack traces and diagnostic data from…
unclear · top 15,000 on PyPI
google-cloud-pipeline-componentsProvides predefined Kubeflow Pipelines…
permissive · top 5,000 on PyPI
tensorboard-data-serverProvides fast data loading and serving for…
permissive · top 5,000 on PyPI
tensorboardTensorBoard is a web-based visualization suite…
permissive · top 1,000 on PyPI
tb-nightlyTensorBoard is a web-based visualization suite…
permissive · top 15,000 on PyPI
tf-nightlytf-nightly provides nightly builds of…
permissive · top 15,000 on PyPI