Blogs

Technical writeups on AI systems, backend engineering, and applied machine learning.

Mistral's Sovereign Appeal: Mistral Large 4 "le chonk"

Mistral Large 4, nicknamed le chonk: a 1-trillion-parameter open-weight model trained in Europe, and why its sovereign AI pitch matters for security teams.

Read More →

Inside TPU and GPU Clusters: The Anatomy of Collective Communication

A ground-up walkthrough of collective communication in TPU and GPU clusters: torus topologies, NVLink and InfiniBand fat trees, and cost models for All-Gather, Reduce-Scatter, All-Reduce ...

Read More →

Inside NVIDIA GPUs: How High-Performance Matmul Kernels Actually Work

A ground-up walkthrough of high-performance NVIDIA GPU matmul kernels: the Hopper H100 memory hierarchy, PTX/SASS, warp-tiling, TMA swizzling, and asynchronous tensor core pipelines.

Read More →

Reinforcement Learning for LLMs: RLHF, RLAIF, RLVF, RLEF & SWiRL Post-Training Explained

A deep technical guide to reinforcement learning for LLMs: how RLHF, RLAIF, RLVF, RLEF, and SWiRL differ by feedback source, and where PPO, GRPO, and DPO fit in modern post-training.

Read More →

Megatron-LM Explained: Tensor, Pipeline, and Data Parallelism for Training Large Language Models

Megatron-LM makes trillion-parameter LLMs trainable by combining tensor, pipeline, and data parallelism. Here's how 3D parallelism and its GPU communication patterns actually work.

Read More →

Why We Need Distributed Training

Why a single GPU is no longer enough for modern AI, and how distributed training turns into a distributed systems problem. An engineering-first look at the parallelism axes, DDP, ring all...

Read More →

Maximal Update Parameterization (μP): Hyperparameter Transfer Across Model Width — and Why It Isn't Free

Maximal Update Parameterization (μP) lets you tune hyperparameters on a small model and transfer them to a much wider one. But μP is not a learning-rate trick — it's a parameterization th...

Read More →

How XLA Compiles Deep Learning Models to GPU Kernels: Fusion, cuBLAS, Triton, and Where FlashAttention Fits

XLA is a compiler, not a CUDA kernel library. This is my engineering understanding of how the XLA compiler turns a high-level tensor graph into optimized GPU kernels through fusion, cuBLA...

Read More →

Reinforcement Learning for LLMs: RLHF, Reward Models, Reasoning RL, and Agentic RL

How reinforcement learning actually trains modern LLMs — RLHF, reward models, PPO, DPO, GRPO, verifiable rewards (RLVR), reasoning RL, and agentic RL — as one connected engineering story,...

Read More →

Prompt, Context, Loop, Graph: Why Context Engineering Is the Layer That Doesn't Go Away

Prompt, context, loop, and graph engineering aren't successive replacements. Here's why context engineering — and increasingly memory — stays the substrate that loops and multi-agent grap...

Read More →

Inside GenRec: How Netflix Turned an LLM into a Recommendation Ranker

A technical teardown of Netflix's GenRec — how an LLM-backed ranker replaces feature engineering with context engineering, and scores the catalog in a single prefill pass instead of gener...

Read More →

Deciphering Agent-to-Agent Communication using Google's A2A Protocol

A deep dive into Google's Agent-to-Agent (A2A) protocol — how AI agents discover, connect, and collaborate securely across frameworks and vendors.

Read More →