What is mmap?
Memory-mapping a file so the OS loads model pages on demand; makes startup fast and lets the page cache be shared.
Where it comes up
Lessons that use this term, most mentions first.
- Loading weights: the GGUF file format and memory mapping · 20 min · Pro
- The forward pass end to end: a Llama-style engine in 100 lines · 25 min · free
- Speed on the CPU: SIMD, threads, cache layout and profiling · 17 min · Pro
- Capstone: ship your engine with correctness tests, a benchmark and a design report · 18 min · Pro
- GPU offload, threads and batch sizes · 12 min · free
- Lab: run a real model with your engine and benchmark it against llama.cpp · 180 min · Pro
- llama.cpp: build, run and serve · 13 min · free
- Tokenizers and chat templates for real models · 15 min · Pro