Posts

Diagram showing Triton ReLU kernel integration into PyTorch via torch.compile, Dynamo, and AOT Autograd

How PyTorch Sees Your Triton Kernel: Using ReLU Kernel in Model with Dynamo and AOT Autograd Backend

How to write Triton Kernel, wire it into model with full gradient support, and then trace the entire …

Triton kernel execution model showing program instances mapping to tensor blocks on GPU

Understanding Triton Kernels from First Principles

A deep dive into how Triton kernels work, explained from absolute basics to complete understanding. …

PyTorch attention kernel selection flow between Flash Attention, Math, and Memory Efficient implementations

Under the Hood: How PyTorch Chooses Attention Kernels and Why It Matters for Performance

A deep dive into PyTorch’s attention kernel selection and what each choice means for your …

Quantization pipeline diagram showing float32 to int8 conversion with scale and zero-point parameters

From Theory to Practice: Quantization and Dequantization Made Simple

Quantization transforms floating-point values (‘float32’) into lower-precision formats, such as …

Vision Transformer architecture diagram showing patch embedding, positional encoding, and transformer encoder layers

Breaking Down Vision Transformers: A Code-Driven Explanation

In this article, I’ll break down the layers of a ViT step by step with code snippets, and a …

3D Gaussian splat rendered in Unity 6 showing photorealistic point cloud visualization

Turn 3D Gaussian Splat Files into Stunning Assets in Unity 6

This guide walks you through the process of loading splat files in Unity 6 using the Gaussian …