Skip to content
Gopi Krishna Tummala

Archives

All the articles I've archived.

2026 29
November 19
  • Intermediate GenAI Systems
    11 MIN READ

    LLM Evaluation: How Do You Know Your Model Is Actually Better?

    A new model scores 3 points higher on your eval. Is it better? How to build an eval set that reflects your product, grade answers with code, LLM judges and people, put error bars on the result, compare models head to head, catch benchmark contamination, and confirm the win with real users.

  • Intermediate Computer Vision
    9 MIN READ

    Computer Vision, Module 2: Image Formation and Filtering

    Where images come from and the first things we do to them: how a camera projects the 3D world onto a sensor, how light and color become pixel values, how filters blur, sharpen and find edges, and why thinking in frequencies explains blur, sharpening, aliasing and hybrid images. The foundations under every CNN.

  • Intermediate Computer Vision
    9 MIN READ

    Computer Vision, Module 3: Feature Detection and Matching

    How to find the same point in two different images: interest points like Harris corners, descriptors like SIFT that survive changes in scale, rotation and lighting, matching with the ratio test, geometric transformations, and RANSAC for fitting models when many matches are wrong. Plus the learned features that replaced hand-designed ones.

  • Intermediate Computer Vision
    9 MIN READ

    Computer Vision, Module 1: How Machines See

    The map for the computer vision series. The ladder of vision tasks from classification to 3D, why vision is hard, how the field moved from hand-designed features to learned ones to foundation models, and how data and evaluation shape everything, followed through one self-checkout camera.

  • Intermediate Computer Vision
    9 MIN READ

    Computer Vision, Module 10: Vision Foundation Models

    How vision moved from fixed category lists to recognizing anything you can describe: CLIP's shared image-text space, open-vocabulary detection with Grounding DINO, combining detectors with Segment Anything, general-purpose features from DINOv2, and vision-language models that answer questions about images. When to use them and where they still fail.

  • Intermediate Computer Vision
    9 MIN READ

    Computer Vision, Module 4: Convolutional Networks

    How convolutional networks learn to see: why sliding the same small filter everywhere is the right bias for images, how layers build from edges to objects, and the line of architectures from AlexNet and ResNet to MobileNet, EfficientNet and ConvNeXt, plus transfer learning and augmentation.

  • Intermediate Computer Vision
    9 MIN READ

    Computer Vision, Module 5: Vision Transformers and Self-Supervised Learning

    How transformers came to vision by treating image patches as words, why they need more data than CNNs and scale better, and how self-supervised methods like MAE, DINO and CLIP let them learn from unlabeled images and web captions, producing general-purpose visual features.

  • Intermediate Computer Vision
    9 MIN READ

    Computer Vision, Module 6: Object Detection

    Finding every object in an image and drawing a box around it. Why detection is harder than classification, how the field went from two-stage detectors (R-CNN family) to one-stage (YOLO, RetinaNet) to set prediction with transformers (DETR), plus IoU, non-maximum suppression, mAP and the practical trade-offs.

  • Intermediate Computer Vision
    8 MIN READ

    Computer Vision, Module 7: Segmentation

    Labeling images pixel by pixel. The three kinds of segmentation (semantic, instance, panoptic), the encoder-decoder idea behind FCN, U-Net and DeepLab, Mask R-CNN and mask-transformer models, and Segment Anything, the promptable foundation model that changed how segmentation is done.

  • Intermediate Computer Vision
    8 MIN READ

    Computer Vision, Module 8: Video and Tracking

    What changes when images become video: optical flow and motion, recognizing actions with 3D convolutions and video transformers, and following objects over time with tracking-by-detection (SORT, DeepSORT, ByteTrack), plus the costs of processing video and how tracking is measured.

  • Intermediate Computer Vision
    9 MIN READ

    Computer Vision, Module 9: 3D Vision

    Recovering the third dimension from images: cameras and geometry, depth from stereo and from a single image, structure from motion, point clouds, and the new scene representations, NeRF and 3D Gaussian splatting, that render real places from new viewpoints.

  • Intermediate Agentic AI
    8 MIN READ

    Craft Anything: Agents That Study Software and Rebuild It

    Craft Anything, an open-source project that went viral in late 2026, wraps a coding agent in a harness that studies a website, app or game from the outside and rebuilds it in the framework you choose. How its study-build-check loop works, what its clean-room design means, the security and legal caveats its own README spells out, and what it says about where software value now lives.

  • Intermediate Agentic AI
    10 MIN READ

    Agent Harnesses: Why the Code Around the Model Matters as Much as the Model

    An agent is a model plus a harness: the runtime that runs the loop, offers tools, manages context and memory, enforces permissions and coordinates sub-agents. What's inside harnesses like Claude Code and Codex CLI, what 2025-2026 research says about which design choices matter, and the newest idea: letting agents improve their own harnesses.

  • Intermediate Agentic AI
    9 MIN READ

    Discovery Harnesses: How Google's Co-Scientist and AlphaEvolve Generate and Test Ideas

    Two Google systems show what a harness can do when the goal is discovery rather than chat: Co-Scientist, a team of agents that generate, debate and rank scientific hypotheses in a tournament, and AlphaEvolve, which evolves code against automated evaluators. How each loop works, what they've found, and the shared idea underneath: generate many candidates, test them hard, keep the best.

  • Intermediate GenAI Systems
    11 MIN READ

    Diffusion Distillation: Teaching a Fast Student to Paint Like a Slow Teacher

    A diffusion model paints by taking dozens of small steps, each a full pass through a large network. Distillation trains a student to get there in one to four. Why steps are the cost that matters, and the three families of tricks (follow the path, match the result, add a critic) behind SDXL-Turbo, FLUX.1 schnell, DMD2 and real-time video.

  • Intermediate GenAI Systems
    11 MIN READ

    Behind the Generate Button: The Pipeline Around Image and Video Models

    When you type a prompt into an image or video generator, the model is only one stage. A map of what surrounds it: input safety checks, prompt rewriting and expansion, generation, output safety checks and watermarking, and the newer agentic pipelines that plan shots and call several models. Built from Google's documentation and open-source releases from Google, Alibaba and Tencent.

  • Intermediate MLOps & Production
    10 MIN READ

    Speculative Decoding: Guess Cheaply, Check in One Pass

    Why a large language model can check several guessed tokens for about the cost of generating one, how the acceptance rule keeps the output exactly the same, the main ways to make guesses (draft models, n-grams, Medusa, EAGLE, multi-token prediction), and when it stops helping, including for vision-language and mixture-of-experts models.

  • Intermediate Robotics
    13 MIN READ

    Vision-Language-Action Models: Data, Architecture and the Hard Part, Evaluation

    A map of the models that see, read and act, for robots and for cars: where their training data comes from and how it's curated (with Qwen-Drive's pipeline as a worked example), the three ways to turn a language model into a controller, how they're trained, and why evaluating them is harder than building them.

  • Intermediate GenAI Systems
    12 MIN READ

    Qwen3-VL and Mixture of Experts: How a Big Model Runs Like a Small One

    One support team, one screenshot, one model. How a Qwen-style vision-language model reads an image, how a mixture-of-experts layer routes each token to a few experts, how the router and experts are trained without collapsing, and what changes when you deploy it.

October 4
  • Intermediate Fundamentals
    9 MIN READ

    Preparing for AI-Enabled Coding Interviews

    Some coding interviews now put an AI assistant next to you. Here's what those rounds actually grade, how to spend the hour, and a four-week plan to prepare.

  • Intermediate Fundamentals
    13 MIN READ

    Coding With AI Without Losing Your Edge

    AI can now write a clean, tested change in seconds. This post is about the part it can't see: who owns the code, who depends on it, and how to stay the person who understands the system.

  • Intermediate MLOps & Production
    12 MIN READ

    The Ray Field Guide: When You Need It and How It Works

    Ray turns a Python program into one that runs across a cluster of CPUs and GPUs. This is a map of what it gives you over a process pool, the few ideas it's built on, and its libraries for data, training and serving.

September 1
  • Intermediate MLOps & Production
    11 MIN READ

    Beyond Parquet: Lance and the Data Layer for Machine Learning

    Parquet was built for scanning. ML keeps asking for single rows, new columns and exact dataset versions. Here's what Lance changes, what its benchmarks actually show, and where Parquet is still the right answer.

April 1
  • Intermediate MLOps & Production
    10 MIN READ

    ML Pipeline Orchestration: Which Layer Does What

    Airflow, Kubeflow, Temporal and Ray all 'orchestrate,' but they sit at different layers and solve different problems. A map of the layers, using one daily retraining pipeline to show which tool owns which part.

February 2
  • Intermediate Fundamentals
    8 MIN READ

    Backpropagation: How a Network Knows Which Weight to Blame

    Backpropagation answers one question: when a network's prediction is wrong, how much should each weight change? Here's the idea, the three equations that do the work, and a tiny network you can trace by hand.

  • Intermediate Robotics
    8 MIN READ

    Module 9: Foundation Models in Autonomous Driving

    Self-driving stacks were built as a chain of specialist modules. Foundation models promise one model that sees, reasons and acts. Here's what that looks like, why teams keep a fast path and a safety layer around it, and what's still unsolved.

January 2
  • Intermediate Fundamentals
    9 MIN READ

    Python Interview Patterns: The Tools and Traps Worth Knowing Cold

    A short map of the Python tools that show up again and again in coding interviews (heaps, memoization, union-find, tries, binary search) and the gotchas that cost people time, organized by the shape of the problem.

  • Intermediate MLOps & Production
    12 MIN READ

    Post-Training: SFT, LoRA, DPO and GRPO in Plain Terms

    Pre-training gives a model knowledge; post-training gives it behavior. A map of the main steps (supervised fine-tuning, LoRA, preference tuning, and reinforcement learning with checkable rewards), following one model as it becomes a SQL assistant.

2025 39
December 4
  • Intermediate GenAI Systems
    9 MIN READ

    Retrieval-Augmented Generation in Production

    Retrieval-augmented generation lets a model answer from your documents instead of its memory. A map of what it takes to make it work beyond a demo: hybrid search, reranking, chunking, video, freshness and how to measure it.

  • Intermediate MLOps & Production
    9 MIN READ

    Agentic MLOps: Running Models That Use Tools

    Serving a model that answers questions is one problem. Serving one that queries databases, runs code and sends messages is another. A map of what changes: the agent loop, tools through MCP, sandboxes, safety and versioning.

  • Intermediate MLOps & Production
    7 MIN READ

    The MLOps Map: Infrastructure From Data to Agents

    A guide to this site's MLOps series: eight short modules that follow a model from the files its data lives in to the GPUs that serve it, with the one trade-off each layer is about.

  • Intermediate MLOps & Production
    8 MIN READ

    Data DNA: Parquet, Arrow and Why Layout Decides Speed

    How data is laid out on disk and in memory decides how fast everything above it can go. A map of Parquet (for storing) and Arrow (for computing), why ML pipelines use both, and the file-layout mistakes that quietly slow training down.

November 5
  • Intermediate Fundamentals
    9 MIN READ

    Reinforcement Learning: From Intuition to Q-Learning

    Reinforcement learning is how an agent learns what to do now when the reward comes later. The core ideas (states, rewards, value, Q-learning and deep Q-networks), built up on one tiny grid world.

  • Intermediate MLOps & Production
    8 MIN READ

    Custom GPU Kernels: Why Moving Data Costs More Than Math

    On a modern GPU, arithmetic is cheap and moving data is expensive. A map of why that's true, how fusion and tiling fix it, how FlashAttention works, and when it's worth writing your own kernel.

  • Intermediate MLOps & Production
    9 MIN READ

    LLM Serving With vLLM: Why Memory Decides How Many Users Fit

    When you serve a large language model, the GPU usually runs out of memory for conversations long before it runs out of compute. A map of the KV cache, PagedAttention, continuous batching and the other tricks that let one GPU serve many more people.

  • Intermediate GenAI Systems
    9 MIN READ

    When AI Sees and Speaks: How Vision-Language Models Came Together

    How models learned to look at a picture and talk about it, told as a short sequence of ideas: CLIP's shared space, BLIP's captions, Flamingo's frozen language model, LLaVA's thin adapter, and natively multimodal models.

February 1
  • Intermediate MLOps & Production
    11 MIN READ

    Training Frameworks: How Big Models Get Split Across GPUs

    A model that doesn't fit on one GPU has to be split across many. A map of where training memory goes, how DDP, ZeRO and FSDP divide it, when to add tensor and pipeline parallelism, and how big runs survive failures.

January 29
  • Intermediate MLOps & Production
    9 MIN READ

    Life of a Request: Following One Prompt Through an Inference Server

    Where the time goes when you send a prompt to a model in production: the network, the queue, tokenization, batching, the two very different GPU phases, and streaming the answer back. Following one request from start to finish.

  • Advanced Fundamentals
    25 MIN READ

    XGBoost — The Art of Boosting Trees with Second-Order Gradients

    A deep dive into XGBoost — how second-order Taylor approximations and sophisticated regularization make it the dominant algorithm for structured data, bridging mathematical rigor with system engineering excellence.

  • Intermediate GenAI Systems
    9 MIN READ

    Diffusion for Action: Generating Robot and Vehicle Trajectories

    The same denoising recipe that paints images can generate robot motions and driving trajectories. Why that handles 'two good ways to do it' better than ordinary regression, how Diffusion Policy works (action chunks, receding horizon), how it runs fast enough for control, and where it leads: flow-matching action experts in VLA models and diffusion planners for driving.

  • Intermediate GenAI Systems
    9 MIN READ

    Image Diffusion: From U-Net to DiT

    The network inside the denoising loop. Why diffusion started with convolutional U-Nets, why it moved to Diffusion Transformers, and how a transformer is told the noise level, the prompt and where each patch sits. U-Net, DiT, adaLN-Zero, cross-attention versus MMDiT, and the prediction targets.

  • Intermediate GenAI Systems
    9 MIN READ

    Modern Video Models: What Sora, Veo, Movie Gen and the Open Models Show

    A tour of the video generators that defined the field and what each one revealed: Sora's spacetime patches, Movie Gen's fully published recipe, Veo's native audio, and open models like HunyuanVideo, CogVideoX, Wan and Open-Sora that brought the recipe to anyone with GPUs.

  • Intermediate GenAI Systems
    9 MIN READ

    The Training Lifecycle: Data, Pre-Training and Post-Training for Diffusion Models

    How an image or video diffusion model goes from raw web data to a product: curating and re-captioning data, pre-training from low to high resolution, weighting noise levels, then quality tuning, preference tuning and reinforcement learning. Plus the training-health signals worth watching.

  • Intermediate GenAI Systems
    9 MIN READ

    Sampling and Guidance: Turning a Trained Model Into Images

    A trained diffusion model is a direction-finder, not an image generator. Samplers decide how to walk from noise to an image, and guidance decides how hard to steer toward the prompt. DDPM, DDIM, ODE solvers, classifier and classifier-free guidance, negative prompts, and the knobs that trade speed, variety and prompt-following.

  • Intermediate GenAI Systems
    9 MIN READ

    Video Diffusion: Adding Time to the Picture

    A video model is an image model that also has to keep things consistent and moving plausibly over time, at many times the cost. How video diffusion grew from image models with temporal layers to full space-time transformers, why video VAEs compress time, how long videos are made, and how video quality is measured.

  • Advanced MLOps & Production
    20 MIN READ

    Datasets & Dataloaders: The Art of Never Starving Your GPU

    GPU utilization is a lagging indicator — the real battle is in the data pipeline. A practitioner's deep dive into PyTorch DataLoader internals, zero-copy data pumps, WebDataset streaming, and the exact questions this gets you in ML system design interviews.

  • Intermediate Robotics
    10 MIN READ

    Module 1: How a Self-Driving Car Is Organized, and Why It's Hard

    The map for the autonomous stack series. What the parts of a self-driving system do, why driving is harder than it looks, what an operational design domain is, why latency and rare events dominate the engineering, and how the architecture has moved from separate modules toward learned end-to-end systems with safety checks around them.

  • Intermediate Robotics
    9 MIN READ

    Module 2: Sensors, or How a Car Measures the World

    Cameras, lidar, radar, ultrasonics and microphones each measure something different and fail in different conditions. What each one is good and bad at, why robotaxis carry all of them while some carmakers use cameras only, and why the point of combining them is that they fail differently.

  • Intermediate Robotics
    9 MIN READ

    Module 4: Localization, or Knowing Where You Are to the Centimeter

    GPS alone puts a car somewhere within a few meters, which is the width of a lane. How self-driving cars get to centimeters by combining satellites, motion sensors, wheel odometry and map matching; why filters gave way to factor graphs; and what happens in tunnels, snow and other places where one source of position fails.

  • Intermediate Robotics
    9 MIN READ

    Module 3: Calibration and Time, the Part Nobody Notices Until It Breaks

    Before sensors can be combined, the car must know exactly where each one is mounted, how each camera lens bends light, and when each measurement was taken. Why tiny errors become big ones at distance, how factory calibration and calibration trees work, how cars keep calibration correct while driving, and why time synchronization matters as much as position.

  • Intermediate Robotics
    10 MIN READ

    Module 6: Perception, Turning Sensor Data Into a Picture of the World

    Perception turns millions of raw measurements per second into a short list of what's around the car, where it is and how it's moving. How fusion moved from combining boxes to combining features, why a bird's-eye view became the standard workspace, why occupancy matters for things that aren't boxes, and how perception copes with the open world.

  • Intermediate Robotics
    9 MIN READ

    Module 5: Mapping, the Car's Memory of the Road

    An HD map tells a self-driving car what the road looks like before its sensors can see it: exact lane geometry, stop lines, which lane leads where. What these maps contain, how they're built, why keeping them fresh is the hard part, and why the field is moving toward cars that draw much of the map themselves while they drive.

  • Intermediate Robotics
    10 MIN READ

    Module 8: Planning, Deciding What to Do Next

    Planning turns everything the car knows into a decision: go now, wait, or creep forward. How planners balance safety, legality, comfort and progress; how classical search and optimization work; why learning to plan from human driving is harder than it looks; why a simple rule-based planner once beat the learned ones; and where hybrid planners stand now.

  • Intermediate Robotics
    10 MIN READ

    Module 7: Prediction, Guessing What Everyone Else Will Do

    A self-driving car has to guess what every car, cyclist and pedestrian nearby will do in the next several seconds, knowing there's usually more than one plausible answer. How prediction grew from physics to learned models that read the map, why it outputs several futures with probabilities, why predicting agents one at a time breaks down, and how the field measures success.

  • Intermediate GenAI Systems
    10 MIN READ

    Physics-Aware Video Diffusion: Looking Right Versus Being Right

    Video models produce motion that looks right far more often than motion that is physically right. What the research shows about how much physics they actually learn, the four ways people are adding it (physics losses, simulators in the loop, post-training on simulated data, and world foundation models), and how physical plausibility is measured.

  • Intermediate Agentic AI
    10 MIN READ

    Part 04: Agentic AI, Part 4: How Agents Fail, and How to Catch It

    Agents fail in a small number of recognizable ways: overusing tools, forgetting what they did, drifting from the goal, inventing actions, looping, stopping too early, and being manipulated by what they read. What each failure looks like, why it happens, and the defenses that catch it, from budgets and verification to recovery reflexes and people in the loop.

  • Intermediate Agentic AI
    8 MIN READ

    Agentic AI: A Map of How Agents Work

    The map for the agentic AI series. What makes a language model an agent, the difference between a workflow and an agent, the handful of ideas every agent is built from, where they go wrong, and the harness that holds it all together, with links to each part.

  • Intermediate Agentic AI
    9 MIN READ

    Part 05: Agentic AI, Part 5: Putting an Agent Into Production

    How the patterns from this series fit together in a real agent, followed through one task from request to verified result, and what production adds: budgets, tracing every step, evaluating whole trajectories, controlling cost with smaller models, and a short list of what to ship and what to skip.

  • Intermediate Agentic AI
    10 MIN READ

    Part 03: Agentic AI, Part 3: Agents in the World

    Agents that operate computers and browsers like a person does, robots that plan with language and act with learned skills, 3D scene understanding, imagining the outcome of an action before taking it, and teams of agents that debate and divide work. What each adds, and what makes each hard.

  • Intermediate Agentic AI
    10 MIN READ

    Part 02: Agentic AI, Part 2: Memory, Tools and Orchestration

    How agents reach the world through tools and the Model Context Protocol, what they remember and how, why their limited context window is the resource that matters most, how work is split between a supervisor and specialist agents, and how routine steps move to smaller, cheaper models.

  • Intermediate Agentic AI
    10 MIN READ

    Part 01: Agentic AI, Part 1: The Loop, and How Agents Think Harder

    The core of every agent is a loop: reason, act, observe, repeat. How that loop works, how planning and reflection make it more reliable, and how agents spend extra effort on hard problems by sampling several answers, searching over options as a tree or graph, and learning from their own mistakes within a task.

  • Intermediate Fundamentals
    20 MIN READ

    The Transformer — How Machines Pay Attention

    An intuitive introduction to the Transformer architecture — from the attention mechanism to self-attention and cross-attention, using language translation as a concrete example.

  • Intermediate GenAI Systems
    10 MIN READ

    Diffusion Foundations: How a Model Learns to Reverse Noise

    The core idea behind Stable Diffusion, FLUX, Veo and robot policies: destroy data with noise in small steps, then train a network to undo one step at a time. The forward process, what the network actually predicts, sampling, noise schedules, latent diffusion and flow matching, explained through one image.

2024 1
December 1
  • Intermediate Robotics
    7 MIN READ

    The Role of Predictions in Closed-Loop Autonomous Driving

    Reflections from building behavior prediction for autonomous vehicles: why prediction is a probability over futures, why the car's own actions change what everyone else does, and why that feedback loop is the real reason prediction and planning are hard to separate.

2019 1
January 1
2017 1
November 1