← Writing · page 5 of 6

AI infrastructure

87 posts tagged ai-infrastructure.

Oct 20, 2026

How to Run a Local LLM With Ollama: Setup, GPU and API Guide (2026)

Step-by-step Ollama guide for 2026 (v0.40): install on macOS, Linux, Windows or Docker, confirm NVIDIA, AMD or Apple GPU use, pick a model that fits, set context length, write a Modelfile, call the OpenAI-compatible API, connect coding tools, and fix slow or out-of-memory runs.

14 min
Oct 20, 2026

RAG vs Long Context vs Fine-Tuning in 2026: 1M Tokens Isn't Free

RAG vs long context vs fine-tuning in 2026: current 1M-token context windows and prices, what context rot, NoLiMa and RULER show about long-context accuracy, where RAG fails, the per-query cost math, and a decision framework you can apply this quarter.

13 min
Oct 20, 2026

How to Build a RAG Pipeline With Postgres and pgvector (2026)

Step-by-step RAG pipeline on Postgres 18 and pgvector 0.8.7: install, schema, chunking, OpenAI embeddings, an HNSW index, hybrid search with full-text and reciprocal rank fusion, a Python example, retrieval evals, and fixes for slow queries and poor recall.

17 min
Oct 20, 2026

How to Tune pgvector Performance: HNSW, ef_search and Quantization (2026)

A step-by-step pgvector tuning guide for 0.8.x: HNSW vs IVFFlat, m, ef_construction and ef_search, maintenance_work_mem for fast builds, iterative scans for filtered queries, halfvec and binary quantization, EXPLAIN, and a troubleshooting table, with real timings.

14 min
Oct 20, 2026

Running LLMs Locally in 2026: Ollama vs llama.cpp vs LM Studio vs MLX

A practical 2026 guide to running LLMs locally: Ollama 0.40, llama.cpp 0.7, LM Studio 0.4, MLX and vLLM compared, which models fit in 8, 16, 32 and 64GB, how Q4_K_M quantization works, the bandwidth maths behind tokens per second, licences and privacy.

12 min
Oct 20, 2026

LiteLLM Proxy Setup: Docker, Virtual Keys, Budgets (2026)

Set up LiteLLM proxy v1.106 with Docker Compose or Helm: config.yaml, fallbacks, virtual keys with budgets and rate limits, plus fixes for common errors.

13 min
Oct 20, 2026

Is Fine-Tuning LLMs Worth It in 2026? Prices, LoRA, RFT and OpenAI's Exit

When fine-tuning an LLM beats prompting and RAG in 2026: OpenAI is winding down its fine-tuning API, Google and AWS added RL tuning, LoRA matches full fine-tuning when configured right, and a 5,000-example run costs $5 to $300 depending on where you train it.

14 min
Oct 20, 2026

How to Fine-Tune an LLM with LoRA Using Unsloth or TRL (2026)

Step-by-step LoRA and QLoRA fine-tuning of an open-weight LLM with Unsloth 2026.10 or Hugging Face TRL 1.16: dataset format, hyperparameters, GPU memory, training script, evaluation against the base model, GGUF and vLLM export, and fixes for OOM and loss problems.

14 min
Oct 20, 2026

Docker in 2026: Engine 29, containerd 2.3 LTS, Podman 6 and the AI Push

The state of Docker and containers in October 2026: Docker Engine 29.9, Desktop 4.96 and its licence terms, Model Runner and the MCP Toolkit, free Hardened Images, Hub pull limits, containerd 2.3 LTS, Podman 6.0, BuildKit 0.34 and OCI artifacts.

12 min
Oct 20, 2026

DevOps Roadmap 2026: Skills, Certifications and What AI Changed

A DevOps roadmap for 2026 built on current data: Indeed's senior-heavy rebound in software postings, Stack Overflow 2025 and 2026 survey results on AI and pay, CKA and CNPA exam facts, and a learning path from Linux to platform engineering.

13 min
Oct 20, 2026

How to Deploy vLLM on Kubernetes with GPUs: Step-by-Step (2026)

Deploy vLLM v0.32.0 on Kubernetes with NVIDIA GPUs: install GPU Operator v26.7.2, cache model weights on a PVC, serve an OpenAI-compatible API, autoscale on vllm:num_requests_waiting with KEDA, and fix CUDA out of memory and slow startup errors.

15 min
Oct 20, 2026

AI Gateways in 2026: Six Options Compared After LiteLLM's 40-Minute Backdoor

What an AI gateway (LLM gateway) does in 2026 and how LiteLLM, Portkey, Kong, Cloudflare, Envoy AI Gateway (now Agent Router) and OpenRouter compare on routing, budgets, caching and guardrails, plus the LiteLLM PyPI backdoor, three LiteLLM CVEs on CISA KEV, and build vs buy.

13 min
Oct 20, 2026

AI Agent Frameworks Compared 2026: LangGraph vs CrewAI vs ADK

Ten AI agent frameworks compared: LangGraph, CrewAI, OpenAI Agents SDK, Claude Agent SDK, Google ADK and more, with versions, licences and how to pick one.

12 min
Oct 5, 2026

World Models in 2026: Genie 3 at 24 fps, Cosmos 3 at 64B, V-JEPA 2 Planning in 16 Seconds, and an $8.2B Exit to AMD

What a world model is in 2026 and what actually shipped: Genie 3 at 720p and 20 to 24 fps for a few minutes behind a $249.99 subscription, World Labs' Marble and Atlas and the $8.2 billion all-stock sale to AMD, NVIDIA Cosmos 3 at 64B, 16B and 4B under OpenMDW 1.1, V-JEPA 2 planning a robot action in 16 seconds against Cosmos's four minutes, LeCun's AMI Labs raising $1.03 billion at $3.5 billion, the Physics-IQ ceiling of 29.5 out of 100, what inference costs, and a V-JEPA 2 embedding script I ran on a laptop CPU.

14 min
Oct 5, 2026

Model Collapse in 2026: The Loop Nobody Runs, a 40% Synthetic Phi-4, a 49.9% AI Web, and 300T Human Tokens Left

What the model-collapse research tested versus the headline: Shumailov's Nature loop deletes real data every generation and takes OPT-125m from 20 to 28 perplexity, while accumulating data bounds the error; my 100-generation Gaussian experiment shows median variance falling from 0.98 to 0.36 under replacement and holding at 0.98 under accumulation; how Phi-4 (40% synthetic), Llama 3, DeepSeek-R1 (800k samples), Qwen3, Kimi K2 and Nemotron-CC-v2 (38%) actually use it; Epoch's 300T-token stock, Graphite's 49.9% AI web, Cloudflare's 38,065:1 crawl ratio and the $1.5B Bartz settlement.

15 min