$npx skillfedfor your agent

google-cloud-mldiagnostics

diagnostic packages for profiling and ML experiment management

With conditionsPyPI Artificial IntelligenceReleased Aug 2026268.1K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — google_cloud_mldiagnostics-1.0.7-py3-none-any.whl
v1.0.7 · released 2026-08-05 · Python >=3.8 · 6 runtime deps: google-api-core, google-auth, google-cloud-logging, psutil, packaging, pynvml

Yes, if you run ML workloads on Google Cloud TPUs or GPUs and need integrated diagnostics. The low install friction, active maintenance, and permissive license make it a straightforward add to JAX-based projects. Requires upfront Google Cloud setup (API enablement, IAM roles, Log Analytics) and is tightly coupled to Google Cloud infrastructure—not suitable for on-premises or non-Google-Cloud deployments.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Google Cloud project with Cluster Director API enabled, appropriate IAM roles (clusterdirector.editor, logging.logWriter, storage.objectUser), and Log Analytics enabled on Cloud Logging _Default bucket.
  • Low friction: pure Python wheel with 6 runtime dependencies (google-api-core, google-auth, google-cloud-logging, psutil, packaging, pynvml).
  • Active maintenance as of 9 days ago.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most production environments.

last release 2026-08-05 (9 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 268,054 downloads/mo, #8,284 on PyPI

Verify before relying

pip install google-cloud-mldiagnostics

from google.cloud import mldiagnostics
# Integrate with your ML workload to track metrics and profiles
  • Whether the package works with frameworks beyond JAX (description says 'JAX on Google Cloud TPUs and GPUs today').
  • Whether multi-host profiling requires additional setup beyond the SDK itself.
  • Performance overhead of metrics collection on large-scale workloads.
Same gist for agents: .md · .json

What it is and what it does

Google Cloud ML Diagnostics is a Python SDK for integrating diagnostics into ML workloads running on Google Cloud. It lets you track machine learning runs, collect workload metrics (model quality, performance, system metrics), manage configs, and capture performance profiles using XProf—all visualized in the Google Cloud console. The package depends on google-api-core, google-auth, google-cloud-logging, psutil, packaging, and pynvml to communicate with Google Cloud services and gather system/GPU telemetry.

The SDK is designed for ML engineers to embed into their training or inference code on Google Cloud TPUs and GPUs. It works with orchestrators like Google Kubernetes Engine and custom setups. Metrics and profiles attach to a Machine Learning Run object, which can have multiple profiling sessions triggered either programmatically or on-demand from the UI. The package requires Python 3.8 or later and specific Google Cloud IAM permissions to function.

Use it for

  • Track metrics and profiles for JAX training runs on Google Cloud TPUs to identify performance bottlenecks.
  • Collect system metrics (CPU, memory, GPU utilization) alongside model performance during inference workloads.
  • Manage and version workload configs (software, system, user-defined) for reproducible ML experiments.
  • Trigger XProf profiling sessions programmatically from within your ML code to capture performance data at key training steps.
  • Collaborate on ML run diagnostics using shareable links to profiles and run metadata in the Google Cloud console.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you run ML workloads on Google Cloud TPUs or GPUs and need integrated diagnostics.

The low install friction, active maintenance, and permissive license make it a straightforward add to JAX-based projects. Requires upfront Google Cloud setup (API enablement, IAM roles, Log Analytics) and is tightly coupled to Google Cloud infrastructure—not suitable for on-premises or non-Google-Cloud deployments.

Install

google-cloud-mldiagnostics on PyPI

Before you install

Low friction: pure Python wheel with 6 runtime dependencies (google-api-core, google-auth, google-cloud-logging, psutil, packaging, pynvml). Active maintenance as of 9 days ago.

Requires Google Cloud project with Cluster Director API enabled, appropriate IAM roles (clusterdirector.editor, logging.logWriter, storage.objectUser), and Log Analytics enabled on Cloud Logging _Default bucket.

License in practice

Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most production environments.

Quickstart

pip install google-cloud-mldiagnostics

from google.cloud import mldiagnostics
# Integrate with your ML workload to track metrics and profiles

Verify before relying

  • Whether the package works with frameworks beyond JAX (description says 'JAX on Google Cloud TPUs and GPUs today').
  • Whether multi-host profiling requires additional setup beyond the SDK itself.
  • Performance overhead of metrics collection on large-scale workloads.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
google-api-coregoogle-authgoogle-cloud-loggingpsutilpackagingpynvml
MaintenanceActively maintained 9 days since the last release
First released
Downloads268,054 / month, #8,284 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: google_cloud_mldiagnostics-1.0.7-py3-none-any.whl

Tags

Capabilities
ML workload profiling and diagnosticsGoogle Cloud TPU GPU monitoringmachine learning run trackingXProf integration for MLworkload metrics collectionML experiment managementperformance profiling JAX
Topics
google-cloudml-profilingperformance-monitoring

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “ML workload profiling and diagnostics”

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also cloud-accelerator-diagnostics · ml-goodput-measurement · pathwaysutils · xprof · tensorboard-plugin-profile · tpu-info · google-cloud-profiler · torch-tb-profiler · azureml-telemetry · sagemaker-data-insights