{"categories":[{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring/4"}],"enrichment":{"capability":"Collects stack traces and diagnostic data from jobs running on Cloud TPU, capturing faults and periodic snapshots to help debug hung or failing workloads.","skillfed_tags":["tpu-specific","debugging","cloud-native"],"use_cases":["Capture stack traces when a TPU job crashes with a segmentation fault or other signal to diagnose the root cause.","Periodically snapshot the call stack of a hung TPU workload to identify where it is stuck.","Upload diagnostic traces to Google Cloud Logging for centralized analysis and troubleshooting across multiple TPU jobs.","Debug training or inference jobs on Cloud TPU by collecting stack traces at configurable intervals (default 10 minutes)."],"what_it_does":"Cloud TPU Diagnostics is a debugging and monitoring library for workloads running on Google Cloud TPU. It captures Python stack traces when faults occur (segmentation faults, floating-point exceptions, illegal operations) and can periodically collect snapshots to identify where a job is hung. Stack traces can be displayed on the console or uploaded to Google Cloud Logging for centralized troubleshooting.\n\nThe package is configured through a composition of configuration objects: you define stack trace behavior (whether to collect, where to send them, and how often), wrap that in a debug configuration, then wrap that in a diagnostic configuration, and finally use a context manager around the code you want to monitor. It has no external runtime dependencies and installs as a pure Python wheel, making it straightforward to add to a TPU VM.","worth_installing":"Yes, if you run workloads on Cloud TPU and need built-in fault and hang diagnostics. The package is actively maintained, has no external dependencies, and integrates directly with Google Cloud Logging. However, verify the license terms before production use, and confirm it meets your TPU environment's requirements."},"id":"cloud-tpu-diagnostics","links":{"html":"https://skillfed.io/packages/cloud-tpu-diagnostics","md":"https://skillfed.io/packages/cloud-tpu-diagnostics.md","pypi":"https://pypi.org/project/cloud-tpu-diagnostics/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-12-08","license_spdx":null,"license_treatment":"unclear","name":"cloud-tpu-diagnostics","python_support":"supports_current","summary":"Monitor, debug and profile the jobs running on Cloud TPU."},"popularity":{"monthly_downloads":191100,"position":9891,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.5"}
