Chapter 7 / 16

Running Local LLMs with Ollama, llama.cpp and vLLM

Intermediate 3 h · Prerequisites: Transformer Architecture and Attention

Learning objectives

  • Choose between Ollama, llama.cpp and vLLM for a use case
  • Understand quantisation formats, context length and memory needs
  • Serve a model behind an OpenAI-compatible API

In preparation

This chapter is being written and technically reviewed. Until then only its learning objectives are shown; it cannot be marked as completed.

Planned labs: Running a pretrained LLM locally (project)