$ tree ./blog/./gen-ai/llm-fundamentals/
Topic how llms work
The foundation under every LLM: tokens, attention, the Transformer architecture, and the path an answer takes.
<- all postsshowing 13-14 of 14 postspage 2 of 2
132026-09-0529 min142026-09-0246 min
Using Transformers: From pipeline() to Optimized LLM Deployment
pipeline() is only a thin layer of abstraction. This post opens it up: the tokenizer, the model head, logits, padding and attention masks, then on to device, dtype, the KV cache, continuous batching, quantization, and how to choose between vLLM, SGLang and llama.cpp now that TGI is archived.
Transformer from A to Z: Understanding the Foundation of LLMs
A systematic mental model of the Transformer: from tokens and why some languages cost more of them, through Attention, residuals, the FFN and RoPE, to the three architecture families, MoE and the full path of inference.
No posts match the current filters.
Get new posts by email
Once a month, new posts only. No ads, unsubscribe anytime.