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.

  1. LLaMA.cpp: Compilation, quantization and benchmarking
  2. LM Studio: local LLMs with a graphical interface
  3. LiteLLM: unified LLM gateway
  4. Ollama: Installation and Getting Started
  5. vLLM: serving LLMs at scale with high throughput
  6. MeshLLM: distributed LLM inference over a P2P mesh
  7. Log Analysis and Troubleshooting with LLMs
  8. Local Chatbots with LLMs
  9. Automated Technical Content Generation with LLMs
  10. Deploying LLMs at Scale with Kubernetes
  11. Coherence Evaluation in LLMs
  12. Basic LLM Fine-tuning
  13. Introduction to Large Language Models (LLMs)
  14. LLMs on Kubernetes with Helm and ArgoCD
  15. Local Model Ecosystem
  16. MCP (Model Context Protocol) and FastMCP
  17. LLM Model Evaluation and Testing
  18. LLM Monitoring and Observability
  19. Open-source vs cloud LLMs: cost, latency, privacy and control
  20. Advanced Prompt Engineering for LLMs
  21. LLM Security Testing
  1. 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

    , 7 min read

  2. 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

    , 4 min read

  3. 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

    , 6 min read

  4. Ollama: Installation and Getting Started

    Complete Ollama guide: installation, local model management, REST APIs, Docker integration and DevOps use cases

    , 4 min read

  5. 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

    , 11 min read

  6. 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

    , 9 min read

  7. Log Analysis and Troubleshooting with LLMs

    Using Large Language Models for automatic log analysis, error detection and troubleshooting suggestions

    , 12 min read

  8. Local Chatbots with LLMs

    Building conversational chatbots using Ollama and LLaMA.cpp, with integration to Slack, Discord and Telegram

    , 8 min read

  9. Automated Technical Content Generation with LLMs

    Complete guide to generating technical documentation, READMEs, blog posts, and changelogs using local LLMs

    , 15 min read

  10. 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.

    , 8 min read

  11. Coherence Evaluation in LLMs

    Evaluating consistency, reproducibility and bias detection in language models

    , 15 min read

  12. Basic LLM Fine-tuning

    A complete introduction to fine-tuning language models: data preparation, training techniques, evaluation and deployment

    , 16 min read

  13. Introduction to Large Language Models (LLMs)

    Fundamental concepts of LLMs, transformer architecture, differences between open-source and proprietary models, and applications in DevOps

    , 3 min read

  14. 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.

    , 17 min read

  15. 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.

    , 1 min read

  16. 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

    , 4 min read

  17. LLM Model Evaluation and Testing

    Complete guide to evaluating LLM performance: MMLU and HellaSwag benchmarks, BLEU/ROUGE metrics, latency testing and evaluation tools

    , 5 min read

  18. 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

    , 20 min read

  19. 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

    , 22 min read

  20. Advanced Prompt Engineering for LLMs

    Professional prompt engineering techniques: zero-shot, few-shot, chain-of-thought, and prompt evaluation for local models

    , 14 min read

  21. LLM Security Testing

    Assessing vulnerabilities in language models: prompt injection, jailbreaking, hallucination detection and protective measures

    , 14 min read

Search