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…
If you’ve been using PyTorch since the 2.0 release, you’ve likely encountered — and hopefully benefited from — torch.compile(). It’s the…
When running PyTorch code, there is one line we all type out of sheer muscle memory:
This post is written for engineers who already know the Transformer basics but want to understand why it was designed this way.
📌 Note: This article was originally written in April 2023. Even though I’ve updated parts of it, some parts may feel a bit dated by…
📌 Note: This article was originally written in April 2023. Even though I’ve updated parts of it, some parts may feel a bit dated by…
📌 Note: This article was originally written in April 2023. Even though I’ve updated parts of it, some parts may feel a bit dated by…
LLMs are Massive. I Mean, Really Massive.
Note: This article was originally written in May 2024. Even though I’ve updated parts of it, some parts may feel a bit dated by today’s…
Let’s talk about one of the most talked-about LLM patterns: RAG. The acronym stands for Retrieval-Augmented Generation.
Note: This article was originally written in 2023. Even though I’ve updated parts of it, some parts may feel a bit dated by today’s…