I’ve started a 12week journey into LLM inference.
The goal isn’t to collect courses or papers.
I want to understand what happens between a prompt and a generated token - then build, benchmark and optimize the system myself.
I’ll document the wins, failures and numbers here.
I recently dove into the Model Context Protocol.
First, I learned the basics by reading the docs.
Then, I set up existing servers and tested them.
Next, I built my own server using Python.
Finally, I debugged and deployed it.
Want to start your own?
https://t.co/HQodoeCvQN
I recently dove into the Model Context Protocol.
First, I learned the basics by reading the docs.
Then, I set up existing servers and tested them.
Next, I built my own server using Python.
Finally, I debugged and deployed it.
Want to start your own?
https://t.co/HQodoeCvQN
I’m looking for an off-campus internship in AI or AI engineering.
If anyone knows how to apply or has a guide, I’d really appreciate your help.
Please drop your tips or links.
Let’s support each other in this journey!
I’m looking for an off-campus internship in AI or AI engineering.
If anyone knows how to apply or has a guide, I’d really appreciate your help.
Please drop your tips or links.
Let’s support each other in this journey!
Before jumping into Transformers, I'd understand:
Linear regression
Logistic regression
Decision trees
Bias vs variance
Gradient descent
Regularization
Cross-validation
Feature scaling
Classification metrics
Probability
Deep learning makes much more sense afterward.
Learning LLM inference is key for AI engineers. It helps us build smarter models and solve real problems. Let’s dive in and explore this exciting area together. The future of AI is bright, and we can be part of it!
The 20 papers I’d read/implement to become a better LLM inference engineer.
1. Attention Is All You Need
2. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
3. FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning
4. FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precision
5. Orca: A Distributed Serving System for Transformer-Based Generative Models
6. Efficient Memory Management for Large Language Model Serving with PagedAttention
7. AlpaServe: Statistical Multiplexing with Model Parallelism for Deep Learning Serving
8. SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
9. GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
10. AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration
11. Fast Inference from Transformers via Speculative Decoding
12. SpecInfer: Tree-based Speculative Inference and Verification for Large Language Models
13. SGLang: Efficient Execution of Structured Language Model Programs
14. SARATHI-Serve: Taming Throughput–Latency Tradeoff in LLM Inference with Sarathi-Serve
15. Splitwise: Efficient Generative LLM Inference Using Phase Splitting
16. DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving
17. Mooncake: A KVCache-centric Disaggregated Architecture for LLM Serving
18. Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads
19. EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty
20. DeepSeek-V3 Technical Report
Some of these papers were recommended to me by an engineer working at NVIDIA, and I take his recommendations seriously. If possible, I would have loved to form a community where we could share implementations and learn from one another.
I am genuinely emotional looking at my dashboard today.
My post just hit over 500+ impressions first time 😇!
Small wins are still wins.
Let's go!
Target: 50 followers by the end of this month.
Before jumping into Transformers, I'd understand:
Linear regression
Logistic regression
Decision trees
Bias vs variance
Gradient descent
Regularization
Cross-validation
Feature scaling
Classification metrics
Probability
Deep learning makes much more sense afterward.
If LLMs feel overwhelming, you're probably learning them in the wrong order.
Master the Transformer first:
(Sort by impact, not hype)
Attention
Tokenization
Embeddings + position
FFN + residuals + normalization
Training + loss
KV cache + inference
Scaling + optimization
If LLMs feel overwhelming, you're probably learning them in the wrong order.
Master the Transformer first:
(Sort by impact, not hype)
Attention
Tokenization
Embeddings + position
FFN + residuals + normalization
Training + loss
KV cache + inference
Scaling + optimization
Before jumping into Transformers, I'd understand:
Linear regression
Logistic regression
Decision trees
Bias vs variance
Gradient descent
Regularization
Cross-validation
Feature scaling
Classification metrics
Probability
Deep learning makes much more sense afterward.
Before jumping into Transformers, I'd understand:
Linear regression
Logistic regression
Decision trees
Bias vs variance
Gradient descent
Regularization
Cross-validation
Feature scaling
Classification metrics
Probability
Deep learning makes much more sense afterward.
Day 2 of learning LLM inference.
Today I stopped studying and started building Micro-Transformer from Scratch.
I took 1.1M characters of Shakespeare and turned them into something a Transformer can actually learn from.
Here's what I built 👇