Varuntej·Jun 23Tree Communication Collective by Hand: Why the Cost Is 2 log2(N), and When That Beats the RingThe previous blog traced ring all-reduce and showed its cost is 2(N-1): one N-1 for reduce-scatter, one N-1 for all-gather. The ring is…
Varuntej·Jun 22Why All-Reduce is Reduce-Scatter + All-Gather? and Why is the Cost 2(N-1), Not (N-1)??Most explanations of all-reduce hand you a diagram of arrows going around a ring and a formula that says the cost is 2(N-1) steps. Then…A response icon1A response icon1
Varuntej·Jun 18Tensor Parallelism by Hand: The Matrix Math Most Explainers SkipEvery explainer says the same sentence: “a tensor is split into N chunks along a dimension so each device holds 1/N of it.” That sentence…A response icon1A response icon1
Varuntej·Mar 18Two AI Agents Arguing With Each Other Over Voice in Real-TimeHave you ever been walking to the store, riding alone in a car, sitting on a bus with nothing but dead air in your ears and thought, I…
Varuntej·Mar 11What If Learning Looked Like a Map Instead of a Chat Thread?Stop Using NotebookLM If You Want to Go Deep
Varuntej·Feb 25Triton Is Not CUDA in Python — It’s a Tiling DSLTriton Basics: tiles vs threads, program_id, tl.arange, masks, and autotuning for fast GPU kernels.
Varuntej·Feb 11Why PyTorch Wastes Your GPU Memory on Purpose (And Why That’s Brilliant)A low-level look at how GPU memory actually works, from silicon to torch.cuda.memory_allocated()
Varuntej·Feb 10The Physics of GPU Memory: A Deep Dive into Bits, Circuits, and AI QuantizationThe rabbit hole I fell into while studying GPU programming
Varuntej·Dec 12, 2025How I Managed to Build an iOS App from Windows Using CodemagicI don’t own a Mac. I don’t own an iPhone. Yet I just published an iOS app to the App Store. Here’s how.
Varuntej·Aug 21, 2025How I built my AI clone that talks like me (Ollama + ChromaDB, Local & Real-Time)A step-by-step guide to creating a local, private AI assistant that understands my notes, projects, and personal style: an AI that talks…