Oxotall·Jul 21Mixture Density NetworksImagine a self-driving car approaching an obstacle in the middle of the road. Human drivers in the logs went around it on the left half the…
Oxotall·Jun 23Visualizing Attention in Text-to-Image DiffusionIn the previous post we took a text-to-image diffusion model apart and looked at its three working parts: a CLIP text encoder that turns…
Oxotall·Jun 15How Text-to-Image Diffusion Models Work: The Full PipelineType “a ferret reading a book by lantern light” into Stable Diffusion and, a few seconds later, it returns an image that did not previously…
Oxotall·Jun 8Multi-Agent Coordination PatternsA single agent — one model loop with access to tools, memory, and multi-step reasoning — can already handle a wide range of work: research…
Oxotall·Jun 1What Is an Agent? Telling It Apart From an LLM, an LLM Workflow, and a Multi-Agent SystemAgent is one of the most overloaded words in software right now. It gets applied to chatbots, to RAG pipelines, to any system that strings…
Oxotall·May 17A visualization of how Context Parallelism works and how to combine it with Tensor and Sequence…In the previous post we split a transformer block two ways. Tensor Parallelism (TP) sliced the weight matrices along the hidden dimension…
Oxotall·May 8Tensor and sequence parallelism — explained with picturesA modern LLM does not fit on a single GPU. A 70B-parameter model in bf16 needs ~140 GB just for the weights, and during training the…A response icon1A response icon1
Oxotall·Apr 24Collective Operations Used in LLM TrainingTraining large language models is not just about matrix multiplies and optimizer steps. Once a model is distributed across many GPUs, the…
Oxotall·Apr 20How to Estimate resources for Training and Serving Large Language ModelsTraining or serving a large language model requires a large amount of compute, memory, and communication bandwidth. These requirements can…