gcp-mlops

statmikeApache-2.0活跃维护

提供在 Google Cloud Vertex AI 上搭建端到端 MLOps 工作流的模板与示例,覆盖训练、部署到监控的完整流程,方便快速落地机器学习运维。

Google Cloud Platform Vertex AI end-to-end workflows for machine learning operations

暂无版本720star315fork同步于 2026-11-10 17:56 UTC

怎么上手

由 README 提炼,执行前请确认
README 未给出安装命令
硬件要求按 README 说明

README 未说明本地硬件要求,强调重计算放在 Google Cloud 服务上而非本地机器

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

Google Cloud 上端到端 MLOps 与数据科学工作流笔记本合集,覆盖 BigQuery、Vertex AI 与 Agent

提供在 Google Cloud Vertex AI 上搭建端到端 MLOps 工作流的模板与示例,覆盖训练、部署到监控的完整流程,方便快速落地机器学习运维。

核心能力

  • 提供 580+ 交互式笔记本与 85+ 独立 SQL 脚本
  • 用 BigQuery ML 的 CREATE MODEL 与 ML.* 函数在库内训练模型
  • 用 AI.* 函数在 SQL 中调用 Gemini、生成嵌入与向量检索
  • 对比 5 种特征存储架构与 6 种模型服务模式
  • 用 ADK、MCP、A2A 构建并部署多智能体到 Agent Engine

容易踩的坑

README 未说明依赖版本与运行前置条件,需自行查阅各子目录 readme;多数笔记本依赖 Google Cloud 项目与对应服务开通

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    tracker


    ML, MLOps, Data + AI, and Agents on Google Cloud

    Data Science Workflows for GCP

    Google Cloud's AI platform has gone through several names over the years — Cloud ML Engine, then AI Platform, then Vertex AI, then Gemini Enterprise Agent Platform, and unified under the Gemini Enterprise umbrella (which brings together the developer Agent Platform, the employee-facing Gemini Enterprise app formerly known as Agentspace, and Gemini Enterprise for Customer Experience). Each name change tracked a real expansion in scope: from custom model training, to a unified ML platform with AutoML and managed notebooks, to the current platform where model building, agent development, evaluation, and enterprise governance live side by side.

    This repository (statmike/gcp-mlops, formerly vertex-ai-mlops) has grown along that same path. It started as a collection of end-to-end training and serving workflows on Vertex AI and has expanded across the Google Cloud data and AI stack:

    • In-database ML, GenAI, and causal inference in BigQuery (CREATE MODEL, ML.*, and AI.* functions) — now also packaged as the standalone repository statmike/bigquery-data-science and on PyPI (bigquery-data-science)
    • AI agents and multi-agent architectures built with ADK, MCP, MCP Toolbox for Databases, and A2A, deployed on Agent Engine
    • Cross-service MLOps infrastructure — online and batch serving, five feature store architectures, Vertex AI Pipelines (KFP), Managed Airflow (formerly Cloud Composer), Dataflow (RunInference), and Dataproc Serverless Spark
    • Database-backed AI across Spanner, AlloyDB, Cloud SQL, Bigtable, Memorystore/Valkey, and Firestore for feature serving, vector search, and SQL-based inference
    • Packaged Agent Skills, CLI & Stdio MCP Server (SKILL.md with 4-Lens progressive disclosure) distilled from the notebooks and reference guides so AI coding agents can use the verified patterns and gotchas directly (uvx bigquery-data-science install or npx skills add statmike/bigquery-data-science)

    Across this repository and its companion statmike/bigquery-data-science repository you will find 580+ interactive notebooks, 85+ standalone SQL scripts, and deep reference guides. Every workflow is written to be a clear, runnable starting point — heavy compute happens on Google Cloud services rather than your local machine, and related notebooks share datasets so you can compare approaches head to head.


    How the Repository Is Organized

    %%{init: {'flowchart': {'wrappingWidth': 650, 'nodeSpacing': 25, 'rankSpacing': 30}}}%%
    flowchart TD
        Start["statmike/gcp-mlops<br/>580+ Notebooks · 85+ SQL Scripts · Packaged Agent Skills"]
    
        P1["1. Data + AI & In-Database ML (data+ai/ + statmike/bigquery-data-science)<br/>BigQuery ML (CREATE MODEL · ML.* Functions · Causal & MLOps Pipelines)<br/>BigQuery AI (AI.* & Remote ML.* Functions · RAG & Hybrid Search) · Dataflow · Dataproc · Iceberg"]
    
        P2["2. Agent Skills, CLI & MCP (agent-skills/ → PyPI: bigquery-data-science)<br/>3 4-Lens Skills: bigquery-data-science · bigquery-ml · bigquery-ai"]
    
        P3["3. Applied ML, AI Agents & Solutions (Applied ML/ — 29 notebooks · 60+ guides)<br/>9 AI Agent Projects (Gemini Enterprise Tour · 1,800-Cell NL2SQL MCP Benchmark)<br/>3 Solution Prototypes (Doc Fraud · 9-Way Taxonomy · Forecasting) · Vizier Optimization"]
    
        P4["4. MLOps Infrastructure (MLOps/ — 100 notebooks)<br/>5 Feature Stores (BigQuery · Spanner · Bigtable · Valkey · Vertex AI)<br/>6 Model Serving Patterns (Online · Batch · SQL · Containers · Triton · vLLM) · KFP"]
    
        P5["5. Applied GenAI, Frameworks & Forecasting (117 notebooks)<br/>11-Database Vector Retrieval Comparison (Applied GenAI/ — 58 notebooks)<br/>Framework Workflows (PyTorch · R · AutoML · Keras · CatBoost · Flax) · Forecasting (20)"]
    
        Start --> P1 --> P2 --> P3 --> P4 --> P5
    
        classDef root fill:#1a73e8,stroke:#0b57d0,stroke-width:2px,color:#ffffff
        classDef primary fill:#e8f0fe,stroke:#1a73e8,stroke-width:1.5px,color:#174ea6
        classDef secondary fill:#f1f5f9,stroke:#475569,stroke-width:1.5px,color:#0f172a
        class Start root
        class P1,P3,P4 primary
        class P2,P5 secondary
    

    Quick Navigation by Question

    If you want to...Go here
    Train, evaluate, explain, or schedule models directly in BigQuery SQLdata+ai/bq-ml/ · statmike/bigquery-data-science/bigquery-ml
    Call Gemini, generate embeddings, run hybrid search, or zero-shot forecast in SQLdata+ai/bq-ai-functions/ · statmike/bigquery-data-science/bigquery-ai
    Give your AI coding agent (Claude Code, Antigravity, Gemini CLI, Codex) verified BigQuery skills, CLI & MCPagent-skills/ · statmike/bigquery-data-science · PyPI
    Build, govern, benchmark, and deploy agents with ADK, MCP, A2A, and Agent EngineApplied ML/AI Agents/
    Compare 5 feature store architectures (BigQuery, Spanner, Bigtable, Valkey, Vertex AI)MLOps/Feature Store/
    Compare serving patterns (Online, Batch, SQL, Cloud Run, GKE, Triton, vLLM)MLOps/Serving/
    Compare 11 Google Cloud databases for vector search and RAG retrievalApplied GenAI/Retrieval/
    Compare ML training & batch inference across 7 GCP compute services on the same datasetdata+ai/overview/ml-training/
    See end-to-end multi-service applications (Document Fraud, 9-Way Taxonomy, Forecasting)Applied ML/Solution Prototypes/
    Train and serve with PyTorch, Keras, CatBoost, Flax, AutoML, or R across GCP runtimesFramework Workflows/

    Repository Pillars

    Each section below has its own detailed readme.md with vertical architecture diagrams and full notebook/SQL inventories:

    1. Data + AI (data+ai/) & statmike/bigquery-data-science

    Machine learning, generative AI, causal inference, and data engineering across Google Cloud's data services — bringing model training, foundation-model inference, and orchestration directly to where the data lives. The BigQuery ML and BigQuery AI curricula live in their dedicated repository (statmike/bigquery-data-science) and Python package (bigquery-data-science on PyPI) with local signpost hubs here in data+ai/:


    2. Agent Skills, CLI & Stdio MCP (agent-skills/) — bigquery-data-science on GitHub & PyPI

    Packaged, cross-tool Agent Skills distilled from live-tested BigQuery ML and BigQuery AI notebooks into 4 progressive lenses (SKILL.md routers $\to$ reference/*.md decision guides $\to$ <25 KB syntax/*.md cards $\to$ narrative/*.md textbook walkthroughs), shipped as a zero-dependency Python package (bigquery-data-science on PyPI) and standalone repository (statmike/bigquery-data-science):


    3. Applied ML, AI Agents & Solution Prototypes (Applied ML/) — 29 notebooks & 60+ guides

    Where MLOps/ focuses on serving and infrastructure, Applied ML/ focuses on what you build with models — autonomous multi-agent systems, multi-service business applications, and black-box optimization:


    4. MLOps Infrastructure (MLOps/) — 100 notebooks

    Everything between training a model and operating a fleet of models in production:


    5. Applied GenAI (Applied GenAI/) — 58 active notebooks

    Grounding generative models with your own data across the full RAG and multimodal pipeline:


    6. Framework Workflows, Applied Forecasting & Foundational Series


    How to Use These Notebooks

    Every notebook in this repository is designed around three practical rules:

    1. Self-contained and portable — Narrative explanations, architecture diagrams, setup cells, and cleanup cells live in a single .ipynb file (with one-click links in the header to open in Colab, Colab Enterprise, BigQuery Studio, or Vertex AI Workbench).
    2. Cloud-orchestrated compute — Notebooks orchestrate BigQuery, Vertex AI, Dataflow, Dataproc, and Cloud Run rather than crunching large datasets locally, so almost every notebook runs comfortably on the smallest standard runtime.
    3. Application Default Credentials (ADC) only — No service account JSON keys are ever created or stored; local workflows use gcloud auth application-default login and cloud runtimes use attached service accounts.

    Contributing & License

    This repository is maintained by Mike Henderson (@statmike). It is built on Google Cloud products for learning and reference and is not an officially supported Google product.