All
Articles 188,787Blog Posts 170,785Tech Tutorials 50,579Research Papers 36,766News 23,131
⚡ AI Lessons

Dev.to · Lewis Won
📰 AI News & Updates
1mo ago
KV Cache by hand
Table of Contents Motivation What is the KV Cache? Setup Scenario 1: Generation WITHOUT KV...

Dev.to · Lewis Won
🧠 Large Language Models
⚡ AI Lesson
1y ago
How does low-rank adaptation for large language models work
Table of Contents Why study LoRA? The challenge of fine-tuning massive models Conceptual...

Dev.to · Lewis Won
🧠 Large Language Models
⚡ AI Lesson
1y ago
FlashAttention by hand
Table of content Introduction to FlashAttention Vanilla self-attention mechanism without...

Dev.to · Lewis Won
📐 ML Fundamentals
⚡ AI Lesson
1y ago
Online softmax by hand
Table of Contents Why study online softmax? The key to flash attention Conceptual overview: tiled...

Dev.to · Lewis Won
📐 ML Fundamentals
⚡ AI Lesson
1y ago
Tensor parallelism by hand
Table of Contents Motivation What is tensor parallelism When do we implement tensor...

Dev.to · Lewis Won
📐 ML Fundamentals
⚡ AI Lesson
1y ago
Plain Guide to Einops
Table of Contents Why learn Einops? Why read this guide instead of the official Einops...

Dev.to · Lewis Won
📐 ML Fundamentals
⚡ AI Lesson
1y ago
ZeRO by hand with a 4-parameter model
Note as of 2 Aug 2025, GMT+8 1am: Updated article to include activation checkpointing. Table of...

Dev.to · Lewis Won
🧠 Large Language Models
⚡ AI Lesson
1y ago
Key Insights Gained from Building and Training LLM
Table of Contents Introduction Architecture of the LLM Byte pair encoding (BPE)...

Dev.to · Lewis Won
📊 Data Analytics & Business Intelligence
⚡ AI Lesson
1y ago
Navigating the world of Harry Potter with Knowledge Graphs
Aim Are you a Harry Potter fan who want to have everything about the Harry Potter universe...
DeepCamp AI