6 Hours of YouTube and 85 handtyped pages of notes on LLM Inference – Start here
samirswr
77 points
12 comments
November 09, 2026
Related Discussions
Found 5 related stories in 134.6ms across 12,324 title embeddings via pgvector HNSW
- WebLLM: high-performance in-browser LLM inference engine saikatsg · 103 pts · September 02, 2026 · 58% similar
- The efficient frontier of LLM inference philipkiely · 83 pts · September 01, 2026 · 54% similar
- I Benchmarked Local LLMs on the Laptop I Have konmam · 20 pts · August 10, 2026 · 52% similar
- How I use LLMs to learn complex topics laurentiurad · 774 pts · August 09, 2026 · 52% similar
- vLLM v0.28.0 mrrrcs · 106 pts · August 29, 2026 · 51% similar
Discussion Highlights (3 comments)
samirswr
I filmed over 6+ Hours of footage and hand wrote 85+ pages of notes to teach absolute beginners about AI Inference. Over the last 2 months, whilst working as a full-time SWE intern, I was grinding after hours to create this video series. I learned to code, amongst many other things, through YouTube videos aimed at beginners. Now, with the rise of AI, these videos tend to show up less, so I decided I wanted to change that. This is . A lot of thinking and consideration went into creating this, and all of my notes are written by me. For transparency almost all code was also written by me with exception of small bug-fixes, readme updates and stuff like that. There is also extra notes pertaining to each video which are AI generated, but main notes are all me. The series walks you through building a small Llama 3.2 1B inference engine in C++ and CUDA, starting with what happens when you send an LLM a prompt. I cover: How text becomes tokens, and tokens become embeddings. Loading model weights into GPU memory. CUDA basics, writing your own GPU kernels, and matrix multiplication with cuBLAS. The transformer step by step: RMSNorm, RoPE, attention, and the SwiGLU feed-forward network. Prefill and decode: processing your prompt and generating a response one token at a time. KV caching and how it saves repeated computation. Static and continuous batching to handle multiple requests. Paged KV caching and paged attention to manage and read cached data on the GPU. Here is the github repo as well as a link to my youtube: https://github.com/samir-sarwar/samir-vllm https://www.youtube.com/@samir-sarwar (if anyone hiring for summer 2027 interns focused on inference or mle hmu please!! )
samirswr
if you like what you see, lets connect! : https://www.linkedin.com/in/samir-sarwar-swe/
ericreg92
These slides are obviously generated by an llm.