AI & LLM
Local LLMs
Running open models on your own hardware: quantization, performance and trade-offs.
Article
Local language models: Ollama, llama.cpp, vLLM, quantization and the real trade-offs
How to run an open model on your own hardware, how much memory it really needs, what quantization and GGUF are, where generation speed comes from and when a local model makes sense instead of an API. Code in Python, TypeScript and C#.
Related articles
- Fine-tuning language models: when it pays off, LoRA and QLoRA in practice
How fine-tuning differs from prompting and RAG, when it really makes sense, how to prepare data, how LoRA and QLoRA work and how to measure whether the tuned model is better – with code in Python,…
Around the topic
- Llama.cpp guide – Running LLMs locally on any hardware, from scratch article · web · steelph0enix.github.io
- Finding thousands of exposed Ollama instances using Shodan article · web · Giannis Tziakouris, Elio Biasiotto
- Structured Outputs with Ollama article · web · ollama.com
- library article · web · Ollama
- Local AI 301: Quantization video · youtube · Hugging Face
- vLLM article · web · vLLM
- ollama/ollama repo · github · ollama
- ggml-org/llama.cpp repo · github · ggml-org
- Llama.cpp 30B runs with only 6GB of RAM now article · web · GitHub
- ollama/ollama-python repo · github · ollama
- Running Local LLMs With Ollama and Connecting With Python podcast · apple-podcasts · The Real Python Podcast
- Episode 106. Spring AI and Ollama podcast · apple-podcasts · Java Pub House
- 514: Running Local LLMs in VS Code podcast · apple-podcasts · Merge Conflict
- BM127: Lokalne modele AI: Twoje dane, Twoje zasady podcast · apple-podcasts · Biznes Myśli
- sgomez/ollama-ai-provider repo · github · sgomez
- Pi Durable EXPLAINED: Build Always-On Agents with Local Models video · youtube · Hugging Face
- Local AI 202: Get Massive Speed-ups with Speculative Decoding video · youtube · Hugging Face
- China just dropped a new frontier model... and nobody can explain how video · youtube · Fireship
- How to Run LLMs Locally (Great For Learning and Privacy) video · youtube · ByteByteGo
- Learn Local AI in 30 Minutes - Run LLMs locally for FREE video · youtube · Dave Ebbelaar
- Llama: Local AI on Your Mac video · youtube · Hugging Face
- Science Behind the Open Cyber Frontier with Mistral Large 4 video · youtube · Hugging Face