π Welcome! Start Here
This repository teaches you everything about LLM serving and inference through hands-on, practical examples.
π― What Youβll Learn
Youβll learn how to:
- Serve LLMs in production
- Optimize for performance
- Deploy to Kubernetes
- Monitor and debug systems
- Handle model updates safely
- Detect and handle drift
π How This Repository is Organized
Learning Structure
- Topics are numbered (01, 02, 03β¦) - work through them in order
- Each topic is self-contained - has its own code, docs, and examples
- Builds incrementally - each topic builds on previous concepts
Key Files
| File | Purpose |
|---|---|
HOW_TO_START.md | π START HERE - Step-by-step guide to begin learning |
LEARNING_PATH.md | Overview of all topics and learning approach |
README.md | Repository overview and quick reference |
docs/ | Detailed concept explanations |
01_basic_serving/ | Your first serving example |
02_docker/ | Containerization |
03_kubernetes/ | K8s deployment |
| β¦ | More topics as you progress |
π Your First Steps
1. Read the Start Guide
cat HOW_TO_START.md
This has everything you need to begin.
2. Understand the Fundamentals
cat docs/llm_inference_fundamentals.md
Learn how LLM inference works internally.
3. Run Your First Server
cd 01_basic_serving
pip install -r requirements.txt
python app.py
4. Test It
# In another terminal
python test_api.py
π Learning Topics
- LLM Inference Fundamentals - How LLMs work
- Basic Serving - FastAPI + HuggingFace
- Containerization - Docker
- Kubernetes - K8s deployment
- Load Testing - Performance measurement
- vLLM Serving - High-performance serving
- Autoscaling - Scale automatically
- Canary Deployments - Safe rollouts
- Monitoring - Metrics and dashboards
- Model Versioning - Version management
- Drift Detection - Detect issues
- Triton - Multi-model serving
π‘ Learning Approach
- Read the documentation
- Study the code
- Run the examples
- Modify and experiment
- Move to the next topic
β Prerequisites
- Python 3.9+
- Basic Python knowledge
- Understanding of REST APIs
- (Optional) Docker and Kubernetes
Donβt have Docker/K8s? No problem - you can learn the basics without them!
π Ready to Start?
π Open HOW_TO_START.md and follow the step-by-step guide!
Questions? Check the README.md in each topic directory for detailed explanations.
Stuck? Read error messages carefully, check the docs, and experiment with simpler examples first.
Letβs learn! π