Local AI
Language models running on your own hardware: inference engines (llama.cpp, Ollama, vLLM), quantisation, deployment on Kubernetes, evaluation and cost against cloud APIs.
- LLaMA.cpp: Compilation, quantization and benchmarking
- LM Studio: local LLMs with a graphical interface
- LiteLLM: unified LLM gateway
- Ollama: Installation and Getting Started
- vLLM: serving LLMs at scale with high throughput
- MeshLLM: distributed LLM inference over a P2P mesh
- Log Analysis and Troubleshooting with LLMs
- Local Chatbots with LLMs
- Automated Technical Content Generation with LLMs
- Deploying LLMs at Scale with Kubernetes
- Coherence Evaluation in LLMs
- Basic LLM Fine-tuning
- Introduction to Large Language Models (LLMs)
- LLMs on Kubernetes with Helm and ArgoCD
- Local Model Ecosystem
- MCP (Model Context Protocol) and FastMCP
- LLM Model Evaluation and Testing
- LLM Monitoring and Observability
- Open-source vs cloud LLMs: cost, latency, privacy and control
- Advanced Prompt Engineering for LLMs
- LLM Security Testing
LLaMA.cpp: Compilation, quantization and benchmarking
Practical guide to llama.cpp: building for CPU, CUDA, Metal and Vulkan, the GGUF format and quantization, using llama-cli and llama-server with an OpenAI-compatible API, and benchmarking with llama-bench
LM Studio: local LLMs with a graphical interface
Practical guide to LM Studio: installation, downloading and managing models, configuring context length and GPU offload, a local OpenAI-compatible API server, and the lms CLI
LiteLLM: unified LLM gateway
LiteLLM guide: one OpenAI-compatible API for 100+ providers, proxy server with config.yaml, virtual keys, budgets, cost tracking, fallbacks, load balancing and Docker/Kubernetes deployment
Ollama: Installation and Getting Started
Complete Ollama guide: installation, local model management, REST APIs, Docker integration and DevOps use cases
vLLM: serving LLMs at scale with high throughput
Advanced vLLM guide: PagedAttention, continuous batching, OpenAI-compatible server, multi-GPU tensor parallelism, AWQ/GPTQ/FP8 quantization, memory tuning and benchmarking
MeshLLM: distributed LLM inference over a P2P mesh
Mesh LLM guide: pool GPUs from several machines into a P2P mesh on iroh and expose a single OpenAI-compatible endpoint at localhost:9337/v1
Log Analysis and Troubleshooting with LLMs
Using Large Language Models for automatic log analysis, error detection and troubleshooting suggestions
Local Chatbots with LLMs
Building conversational chatbots using Ollama and LLaMA.cpp, with integration to Slack, Discord and Telegram
Automated Technical Content Generation with LLMs
Complete guide to generating technical documentation, READMEs, blog posts, and changelogs using local LLMs
Deploying LLMs at Scale with Kubernetes
A complete guide to deploying and scaling large language models (LLMs) in production using Kubernetes, vLLM and advanced optimization strategies.
Coherence Evaluation in LLMs
Evaluating consistency, reproducibility and bias detection in language models
Basic LLM Fine-tuning
A complete introduction to fine-tuning language models: data preparation, training techniques, evaluation and deployment
Introduction to Large Language Models (LLMs)
Fundamental concepts of LLMs, transformer architecture, differences between open-source and proprietary models, and applications in DevOps
LLMs on Kubernetes with Helm and ArgoCD
Packaging an inference service (vLLM, Ollama) as a Helm chart and shipping it via GitOps with ArgoCD: values, probes for models that take minutes to load, weight management, secrets, multi-release and queue-based scaling.
Local Model Ecosystem
This guide compares the main frameworks for running large language models (LLMs) locally, focusing on ease of use, performance, and use cases.
MCP (Model Context Protocol) and FastMCP
Quick MCP guide: a protocol for sharing context between model clients and servers, with FastMCP as a lightweight implementation
LLM Model Evaluation and Testing
Complete guide to evaluating LLM performance: MMLU and HellaSwag benchmarks, BLEU/ROUGE metrics, latency testing and evaluation tools
LLM Monitoring and Observability
What actually gets measured in an LLM inference service: TTFT, TPOT, KV cache, throughput and cost per token, with vLLM metrics, Ollama instrumentation, Grafana dashboards and useful alerts
Open-source vs cloud LLMs: cost, latency, privacy and control
A practical analysis of when to use a local LLM and when to use a cloud API: real cost formula, TTFT versus tokens/s, legal privacy requirements, model versioning and a multi-server fallback architecture implemented in this repository
Advanced Prompt Engineering for LLMs
Professional prompt engineering techniques: zero-shot, few-shot, chain-of-thought, and prompt evaluation for local models
LLM Security Testing
Assessing vulnerabilities in language models: prompt injection, jailbreaking, hallucination detection and protective measures