Show HN: AI Inference for Beginners: 6 hours of video and 85 pages of notes [pdf]
Category: ai-ml
Tags: llm-inference, cuda, cpp, transformer, educational, gpu
Score: 7.0/10 (Innovation: 5, Technical: 9, Documentation: 8, Utility: 6)
A from-scratch C++/CUDA implementation of LLM inference for Llama 3.2 1B, featuring custom kernels for RMSNorm, RoPE, attention, paged KV cache, and continuous batching. Accompanied by extensive educational material (6+ hours of video, 85 pages of notes) that walks through every component step by step.
Target audience: AI/ML engineers, systems programmers, students learning GPU programming and LLM internals
Repository: https://github.com/samir-sarwar/samir-vllm/blob/main/InferenceFromScratch.pdf · C++ · NOASSERTION · 227 stars
View on Hacker News