liveBook · Manning

Infrastructure

As explained in LLMs in Production

Infrastructure is the hardware, software, networking, and operational resources that support computing systems.

Infrastructure is the hardware, software, networking, storage, and operational machinery that makes computing systems usable in production. For machine learning, it is the how; the machine learning life cycle is the why. A laptop may support a scrappy scikit-learn system, but LLMs can outgrow local storage before serving begins. section 3.4

A practical infrastructure view includes:

  • Data stores, orchestrators, pipelines, streaming integrations, and container runtimes that surround model development and deployment. section 3.4
  • Vector databases that move similarity search from an in-memory Python experiment toward a persistent, scalable service. section 10.2.1
  • Operational choices that trade off local simplicity against cloud scale, managed services, GPU acceleration, and data durability. section 10.2.1

A small but real deployment

For a local coding-copilot project, run Milvus Standalone with Docker, start it using the supplied shell script, load data, and stop or delete the container when finished. Small datasets can instead remain in memory with Faiss or USearch. section 10.2.1

Figure 3.7 A high level view of an MLOps infrastructure with LLMs in mind. This diagram attempts to cover the full picture and the complexity of the many tools involved to make ML models work in production.
figure

Use the infrastructure diagram to inspect how LLM-oriented MLOps connects storage, pipelines, orchestration, containers, and model-serving components. section 3.4

How LLMs in Production covers it

How deep it goes
Contrasts laptop-scale infrastructure with LLM production needs and demonstrates a local vector database setup, but stops short of full platform implementation.
Examples
Uses a laptop-based scikit-learn system, an LLM platform diagram, and a Docker-hosted Milvus instance as concrete infrastructure examples.
What it assumes
Assumes familiarity with machine learning workflows while contrasting simple scikit-learn systems with the demands of LLM infrastructure.
What you can do after
Operate/configure a local Milvus vector database and evaluate when laptop, in-memory, managed-cloud, or GPU-enabled infrastructure fits.
How it connects
Connects infrastructure to MLOps, the machine learning life cycle, DataOps, DevOps, vector databases, GPUs, Docker, and LLMs.

Also explained in

Compare how 8 books explain infrastructure →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of LLMs in Production. The section links point to the parts of the book it draws on.