- Posted on
- Featured Image
Practical guide to speed up Ollama on Linux: store models on NVMe and keep them hot (OLLAMA_KEEP_ALIVE, OLLAMA_MAX_LOADED_MODELS), pick sensible quantization (q4_K_M/q5_1/q8_0/f16), offload layers to GPU and tune num_gpu_layers, num_batch, num_ctx, set sane concurrency and OLLAMA_MAX_QUEUE, warm favorite models, and benchmark tokens/sec via the HTTP API. Yields snappier first tokens and higher throughput.