How torch.compile() Actually Works: From Python Bytecode to Fused Triton Kernels

If you’ve been using PyTorch since the 2.0 release, you’ve likely encountered — and hopefully benefited from — torch.compile(). It’s the…

February 10, 2026 · 10 min · Jimin Lee

From PyTorch Code to the GPU: What Really Happens Under the Hood?

When running PyTorch code, there is one line we all type out of sheer muscle memory:

February 3, 2026 · 8 min · Jimin Lee

Demystifying loss.backward(): How PyTorch Autograd Actually Works

If you use PyTorch, there’s one line of code you probably type out of sheer muscle memory: loss.backward().

December 6, 2025 · 12 min · Jimin Lee