Volume 1: Infrastructure Fundamentals¶
"Building the Foundation" - Set up your AI lab and run your first local LLMs.
Volume Overview¶
Difficulty: ⭐ Beginner
Time: 2-3 weeks (part-time)
Prerequisites: Basic computer literacy, 8GB+ RAM
What You'll Learn¶
After completing this volume, you will be able to:
- ✅ Run LLMs locally on your computer
- ✅ Containerize applications with Docker
- ✅ Build basic AI applications
- ✅ Understand network topology for AI systems
- ✅ Deploy services with Docker Compose
Why This Volume Matters¶
Before diving into model internals, fine-tuning, or RAG, you need a solid foundation. This volume gets you:
- Running models locally - No API costs, full privacy
- Containerized deployments - Reproducible, portable AI applications
- Network understanding - Essential for distributed AI systems
- Production basics - Ready for scaling later
Learning Path¶
Week 1: Quick Start & Docker Fundamentals¶
Day 1-2: Quick Start (30 min - 2 hours)¶
Start here if you're new to AI
-
QUICK-START.md (30 minutes)
- Install Ollama
- Run Mistral 7B
- First Python AI script
-
CHEAT-SHEET-002-Python-AI.md (reference)
- Python essentials for AI
- NumPy, PyTorch basics
- API integration patterns
Day 3-5: Docker Essentials¶
Containerize your first AI application
-
TUTORIAL-002: Docker Essentials (45 min)
- Docker concepts
- Container basics
- Docker Compose
-
CHEAT-SHEET-001-Docker.md (reference)
- Common Docker commands
- Troubleshooting tips
-
LAB-001: Docker & LLM (2 hours)
- Deploy Ollama with Docker
- Build containerized AI service
- Practice: Complete all 5 exercises
Checkpoint: You have a running Dockerized LLM service
Week 2: Local LLMs & Hello LLM¶
Day 1-3: Understanding Local LLMs¶
Learn how LLMs work on your hardware
-
TUTORIAL-001: Hello LLM (30 min)
- What are LLMs?
- How they work
- Your first conversation
-
1401: Ollama Enterprise (4 hours)
- Running localized model APIs
- Model management
- API server setup
Day 4-5: Network & Hardware (Optional)¶
For those building HomeLab infrastructure
-
1101: Internet Uplink & Modem Configuration
- Understanding your internet connection
- Signal path optimization
- Bridge mode configuration
-
- Multi-gigabit network design
- Switch configuration
- Traffic management
-
- MTU 9000 optimization
- Throughput improvement
Checkpoint: You understand network topology for AI systems
Week 3: Advanced Infrastructure (Optional)¶
For HomeLab enthusiasts and production deployment:
Day 1-2: Virtualization & GPU Passthrough¶
-
- Core pinning
- RAM balloons
- ZFS configurations
-
1202: GPU Passthrough (IOMMU/VFIO)
- IOMMU/VFIO GPU passthrough
- eGPU configuration
-
- DKMS setup
- Driver stability
-
- Multi-GPU configuration
- Load balancing
Day 3-5: Kubernetes & Container Orchestration¶
-
- K3s cluster setup
- Master-worker architecture
- Service orchestration
-
- GPU allocation in K8s
- Resource management
-
- Dynamic provisioning
- NFS integration
Checkpoint: You can deploy AI services to Kubernetes
Volume 1 Capstone: PROJECT-001¶
Build Your First AI Assistant¶
PROJECT-001: AI Assistant (4-6 hours)
What You'll Build:
- Complete AI assistant with memory
- Dockerized deployment
- API endpoints
- Web interface
Skills Demonstrated:
- Docker containerization ✅
- Ollama API integration ✅
- FastAPI development ✅
- Basic conversation memory ✅
Requirements:
- Complete TUTORIAL-001
- Complete LAB-001
- Understand Docker Compose
Volume 1 Checklist¶
Use this checklist to track your progress:
Core Content (Required)¶
- QUICK-START.md - Run your first LLM (30 min)
- TUTORIAL-002: Docker Essentials (45 min)
- CHEAT-SHEET-001: Docker (reference)
- CHEAT-SHEET-002: Python AI (reference)
- LAB-001: Docker & LLM (2 hours)
- TUTORIAL-001: Hello LLM (30 min)
- 1401: Ollama Enterprise (4 hours)
- PROJECT-001: AI Assistant (4-6 hours)
Total Core Time: ~12-15 hours
Advanced Content (Optional)¶
- 1101: Internet Uplink & Modem Configuration
- 1102: Star Topology Core
- 1103: Jumbo Frames and MTU
- 1201: Proxmox Hypervisor SOP
- 1202: TB3 Passthrough
- 1203: NVIDIA Kernel Module
- 1204: Multi-GPU Setup
- 1301: K3s Architecture
- 1302: GPU Scheduler
- 1303: Storage Classes
Cross-References¶
Topics Covered in Volume 1 That Connect Later:¶
Docker & Containers:
- Volume 2: Docker for ML experiments
- Volume 4: Docker for inference engines
- Volume 7: Production Docker Compose
Ollama & Local Models:
- Volume 3: Understanding model internals
- Volume 4: Quantization for larger models
- Volume 5: Fine-tuning local models
Network & Infrastructure:
- Volume 6: Distributed RAG systems
- Volume 7: Production deployment
Kubernetes:
- Volume 4: vLLM on K3s
- Volume 7: Production orchestration
Volume 1 Statistics¶
| Metric | Value |
|---|---|
| Core Documents | 8 files |
| Optional Documents | 10 files |
| Tutorials | 2 (TUTORIAL-001, TUTORIAL-002) |
| Labs | 1 (LAB-001) |
| Cheat Sheets | 2 (Docker, Python AI) |
| Projects | 1 (PROJECT-001) |
| Estimated Time | 12-15 hours (core) |
| Difficulty | ⭐ Beginner |
Troubleshooting¶
Common Issues in Volume 1¶
Problem: Docker won't start
- Solution: Check CHEAT-SHEET-001-Docker.md for troubleshooting
Problem: Ollama slow on CPU
- Solution: Use smaller models (phi4-mini, gemma3:1b) - see TUTORIAL-001
Problem: GPU not detected
- Solution: Check 1203: NVIDIA Kernel Module
For more help, see TROUBLESHOOTING-Common-Issues.md
After Volume 1¶
You're Ready For:¶
Volume 2: AI/ML Foundations - Deep dive into the math and theory
OR
Volume 3: LLM Internals - Skip directly to understanding how transformers work
Skills You've Gained:¶
# You can now:
✅ Run LLMs locally
✅ Containerize applications
✅ Build AI services with APIs
✅ Deploy with Docker Compose
✅ Understand network topology
✅ Set up production infrastructure
Next Steps¶
- Track your progress in PROGRESS-TRACKER.md
- Continue to Volume 2 for math and theory foundations
- OR skip to Volume 3 for transformer internals
- Review the VOLUME-GUIDE.md for alternative learning paths
Volume 1 Status: 🟢 Complete
Maintainer: Minder Academy Team