8000 GitHub - google/xmc · GitHub
[go: up one dir, main page]

Skip to content
8000
googlePublic

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

2 watching

Forks

Latest commit

 

History

1,157 Commits

Folders and files

8000
NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

XManager on Cloud (XMC)

License

XManager on Cloud (XMC) serves as a central command platform for both human researchers and autonomous agents building AI. Built on the experiment model of Google DeepMind's battle-tested XManager, XMC is designed to operate at scale to boost research velocity across AI labs and enterprise organizations.

Key capabilities

Capability What XMC provides
Workload execution & agent integration Reliable workload launching alongside first-class agent interaction capabilities.
Persistent experiment storage High-performance, persistent storage for experiment metadata and research artifacts.
Resource visibility & scheduling Out-of-the-box visibility into TPU and GPU availability and scheduling states, with full compatibility and configurable support for Kueue.
Kubernetes-native deployment Built on standard Kubernetes primitives (Kueue, JobSet). GKE is the supported, documented target; other Kubernetes environments (other clouds, on-premises) are possible with additional configuration.
Metrics & profiling (optional) Training metric streaming with charts and dashboards, and Managed XProf hardware profiles attached to work units. Both are off by default.

Note

XMC spans two repositories. This repository holds the XMC services, SDKs, and deployment charts. The Python launcher and xmanager CLI that define and submit experiments live in google-deepmind/xmanager (see Getting started for installation).

How it works

flowchart LR
    Client["Humans & agents<br/>(xmanager CLI, Python, APIs)"] -->|"gRPC / HTTPS"| CP["XMC control plane"]
    CP -->|"Submits JobSets"| K8s["Kubernetes + Kueue<br/>(GPU / TPU / CPU)"]
    K8s -->|"Status"| CP
    CP --> UI["XMC web UI"]
    K8s -.->|"Metrics (optional)"| MP["XMC metrics pipeline"]
    MP -.-> UI
Loading

XMC organizes work around three concepts:

Concept What it represents
Experiment (xid) A group of related runs, 9D87 such as a sweep, an ablation, or an RL campaign, with shared priority, metadata, and access control.
WorkUnit (wid) One trial or training job inside an experiment. Restarting a work unit creates a new execution and keeps earlier attempts in history.
Artifact (aid) A typed output or link attached to an experiment or work unit: URLs (such as TensorBoard or checkpoint locations), code snapshots, text notes, metric charts, or Managed XProf profiles.

The Architecture Overview and Execution Model cover the services, the execution lifecycle, and how XMC maps work units to Kueue and JobSet.

Getting started

You can deploy XMC to GKE or evaluate it locally on KinD in three steps:

  1. Stand up an XMC environment
    • For GKE deployments, provision a stack with Cluster Toolkit v2 or Terraform and Helm using the Installation & Deployment Guide.
    • For local evaluation, boot a KinD control plane with python3 tools/dev_env/dev_env.py up (requires a GCP project for Cloud Spanner, gcloud, and bazel; see Local & Hybrid Development).
  2. Install the XManager launcher and sign in The launcher and xmanager CLI come from google-deepmind/xmanager, published on PyPI:
    pip install 'xmanager>=0.8.5.post1'
    export XMC_DOMAIN=<your-xmc-domain>
    xmanager login
    When working from a clone of this repository with local protobuf changes or xdash, run python3 deploy/cli/install_xmanager.py instead (see CLI Setup).
  3. Run an example workload Launch a multi-WorkUnit job from one of the ready-to-run templates in examples/:

Metrics streaming and Managed XProf are optional and off by default. Enable metrics with enable_metrics and the Redpanda and ClickHouse add-ons in deploy/addons/metrics, and Managed XProf with managed_xprof_gcs_bucket (see the Cluster Toolkit v2 README; Helm installs use metrics.enabled and managedXprofGcsBucket).

Documentation

Operations and usage

Architecture

Contributing

Contact and support

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0