Skip to Content
Building Machine Learning Systems with a Feature Store
book

Building Machine Learning Systems with a Feature Store

by Jim Dowling
November 2025
Intermediate to advanced
508 pages
14h 13m
English
O'Reilly Media, Inc.
Book available
Content preview from Building Machine Learning Systems with a Feature Store

Chapter 11. Inference Pipelines

Inference pipelines define the type of AI system you are building. Batch inference pipelines are batch AI systems, online inference pipelines are real-time AI systems, and agentic workflows are LLM-powered AI systems. An inference pipeline is a program that acquires inference data, applies transformations to the input data to produce one or more feature vectors, and then feeds the feature vector(s) to one or more models that output predictions. Inference pipelines can be anything from a batch/streaming/embedded program, to a network service with SLOs, to an agent that uses LLMs and tools to achieve a goal. Inference pipelines log their inputs and outputs so that you can monitor and debug their performance.

This chapter covers challenges in writing batch, online, embedded, and streaming inference programs. Agents and LLM workflows are covered in Chapter 12. You will learn how to design batch inference pipelines and scale them out with PySpark. You will learn how to write online inference pipelines that retrieve context/history from the feature store and how to deploy models in model-serving infrastructure behind a deployment API. You will learn how to embed a model in a stream-processing application and write a user interface for your AI system in Python.

Batch Inference Pipelines

Batch inference pipelines make non-time-critical predictions, run on a schedule, and output predictions to some kind of inference store, from which consumers asynchronously ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Feature Engineering for Machine Learning

Feature Engineering for Machine Learning

Alice Zheng, Amanda Casari

Publisher Resources

ISBN: 9781098165222Errata PageSupplemental Content