Guide contents

Inference Engines

llama.cpp architecture, flags, tuning, and llama-server; the chat completions protocol and streaming in Java; vLLM; Ollama and the other engines; and the loop serve and chat commands.

9 lessons

  1. 33.llama.cpp Architecture
  2. 34.Running llama.cpp: Core Flags
  3. 35.Tuning llama.cpp
  4. 36.llama-server: Endpoints, Slots, and Prompt Cache
  5. 37.The Chat Completions Protocol and Streaming in Java
  6. 38.vLLM Architecture and Installation
  7. 39.Serving with vLLM
  8. 40.The Engine Landscape and How Ollama Works
  9. 41.Workshop: loop serve, run, and chat