- Posted on
- Featured Image
Hands-on guide to enable fast, private local LLMs with Ollama on Linux: install via apt/dnf/zypper, confirm NVIDIA or AMD/ROCm drivers (nvidia-smi/rocminfo), pull and run models, watch GPU activity, tune gpu_layers and num_ctx to fit VRAM, optionally run in Docker (NVIDIA --gpus all, AMD /dev/kfd,/dev/dri), and apply env vars and troubleshooting to avoid OOM, CPU fallback, and container GPU access issues.