---
title: "Training Orchestrator: Unifying Model Training at Yelp"
description: "Yelp's Training Orchestrator replaces per-team monolithic Spark training scripts with a declarative, configuration-driven framework."
url: "https://swe.quest/articles/training-orchestrator-unifying-model-training-at-yelp-28e0641de090c84f"
canonical: "https://engineeringblog.yelp.com/2026/07/training-orchestrator-unifying-model-training-at-yelp.html"
source: "Yelp Engineering"
published: "2026-07-14"
difficulty: "medium"
kind: "Case study"
reading_minutes: 12
tags: ["ml-platform","model-training","python","testing"]
---

# Training Orchestrator: Unifying Model Training at Yelp

A post on [Yelp Engineering](https://swe.quest/sources/yelp.md), published 2026-07-14, 12 min read, Case study. Original: [https://engineeringblog.yelp.com/2026/07/training-orchestrator-unifying-model-training-at-yelp.html](https://engineeringblog.yelp.com/2026/07/training-orchestrator-unifying-model-training-at-yelp.html)

## Summary

Yelp's Training Orchestrator replaces per-team monolithic Spark training scripts with a declarative, configuration-driven framework. Pipelines are composed of typed steps whose dependencies form a DAG executed in topological order. Pydantic configs validate parameters and step input/output schemas up front, and injected Spark/MLflow context lets the same pipeline run locally, in Jupyter or in production. The payoff is local runs and unit-testable steps, config errors caught in seconds instead of hours into training, automatic MLflow logging of full configs for reproducibility, and swappable settings-plus-function pairs for reuse across batches.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [ML platforms](https://swe.quest/tags/ml-platform.md) (AI & ML)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [Python](https://swe.quest/tags/python.md) (Languages)
- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)

## Prerequisites

- Apache Spark basics ([easy posts on Data pipelines](https://swe.quest/tags/data-pipelines.md?difficulty=easy))
- MLflow experiment tracking
- Pydantic models
- ML training pipelines ([easy posts on Machine learning](https://swe.quest/tags/machine-learning.md?difficulty=easy))

## Keywords

Training Orchestrator, Yelp, MLflow, Pydantic, Apache Spark, DAG

## Related posts

- [Introducing Trackio: A Lightweight Experiment Tracking Library from Hugging Face](https://swe.quest/articles/introducing-trackio-a-lightweight-experiment-tracking-library-from-hugging-face-7dee3b3ee964ad19.md): Hugging Face · 2025-07-29 · Medium · 7 min read · ML platforms, Observability, Python, Open source
  Trackio is a free, open-source Python experiment tracking library that works as a drop-in replacement for wandb's init/log/finish API.
- [Zalando's Machine Learning Platform](https://swe.quest/articles/zalando-s-machine-learning-platform-ccf6f0b2dc8025a9.md): Zalando Engineering · 2022-04-18 · Medium · 8 min read · ML platforms, Cloud platforms, Infrastructure as code, Python
  Zalando's ML platform takes ideas from experimentation in a hosted JupyterHub (Datalab), Databricks and a GPU HPC cluster to production pipelines orchestrated by AWS Step Functions.
- [The Magic of Merlin: Shopify's New Machine Learning Platform](https://swe.quest/articles/the-magic-of-merlin-shopify-s-new-machine-learning-platform-f17a810670837d2b.md): Shopify Engineering · 2022-04-06 · Medium · 13 min read · ML platforms, Kubernetes, Model training, Python
  Merlin is Shopify's redesigned ML platform built on open source tools.
- [Shopify's Playbook for Scaling Machine Learning](https://swe.quest/articles/shopify-s-playbook-for-scaling-machine-learning-01ef31091481dd96.md): Shopify Engineering · 2022-02-11 · Easy · 12 min read · ML platforms, Machine learning, Threat detection, E-commerce
  Shopify's approach to scaling machine learning grew out of its first ML product, an order fraud detector that replaced a rule-based system with a high false-positive rate.
- [Unlocking Real-time Predictions with Shopify's Machine Learning Platform](https://swe.quest/articles/unlocking-real-time-predictions-with-shopify-s-machine-learning-platform-f4124fdd81e9cd3f.md): Shopify Engineering · 2023-03-10 · Medium · 13 min read · ML platforms, Inference & serving, Kubernetes, Deployment, Python
  Shopify extended its Ray-based Merlin ML platform with online inference, running each real-time model as a dedicated service in its own namespace on GKE that loads models from the Comet ML registry and can read features from the Feast-based Pano store.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
