Latent Notes
Engineering log: local inference, GPUs and model tooling
A 24 GB consumer GPU for local LLMs: what fits in practice
A 24 GB card is the sweet spot for hobby and small-team inference. Here is what fits after a year of experiments.…
Quantization formats in plain words: Q4, Q8, AWQ, GPTQ, FP8
Quantization stores model weights with fewer bits. Less memory means bigger models fit on the same GPU and token generation, which is mostly memory-bound, gets faster.…
Serving stacks compared: llama.cpp, vLLM and friends
There is no single best inference server. The right choice depends on hardware, model format and traffic pattern.…
RAG in production: where retrieval actually fails
Retrieval-augmented generation looks simple in demos: embed documents, find the closest chunks, paste them into the prompt. In production most failures happen before the model sees anything.…
Tokens, context windows and why long prompts cost more
Models read tokens, not characters. In English a token is roughly four characters; in many other languages a word can take several tokens, so the same text costs more.…
Evaluating LLM features without a research team
Teams ship prompts the way they once shipped CSS: change, eyeball, deploy. That works until a model update silently breaks something important.…