What is layer offload (-ngl)?
How many transformer layers run on the GPU; the rest run on CPU.
Learn it properly in the lesson →
Where it comes up
Lessons that use this term, most mentions first.
- Lab: benchmark your rig and compare with theory · 40 min · Pro
- llama.cpp: build, run and serve · 13 min · free
- GPU offload, threads and batch sizes · 12 min · free
- Lab: choose a quant for your hardware · 45 min · Pro
- Placing a model across GPUs, CPU and RAM: MoE offload and multi-GPU splits · 14 min · Pro
- Docker and Compose deployment · 12 min · Pro
- GGUF and the K-quant family · 12 min · free
- Measuring quality: perplexity, KL divergence and task evals · 14 min · Pro