Create a complete, fill-in-the-code learning path for TileLang Python, from fundamentals to Tensor Core optimization.
- Python developers with NumPy/PyTorch basics
- GPU beginners to intermediate practitioners
- Engineers focused on performance tuning
By the end of this tutorial, you should be able to:
- Write and debug TileLang kernels
- Use tiling and memory hierarchy effectively
- Optimize kernels with measurement-driven iteration
- Build Tensor Core kernels for GEMM-class workloads
- Foundations
- Core Kernel Engineering
- Performance Optimization
- Tensor Core Mastery
- Production Workflow
- Capstone: GEMM Optimization Ladder
For each chapter:
- Read the concept brief in
chapters/ - Complete TODO blocks in
exercises/ - Run the corresponding checkpoint in
checkpoints/ - Hit the chapter performance target
- Record findings and tradeoffs
chapters/: concept and exercise instructionsexercises/: starter code with TODO markerscheckpoints/: correctness/performance checksexercises/capstone/: end-to-end GEMM progression
- Finish correctness first.
- Add one optimization at a time.
- Benchmark after each change.
- Use profiler evidence for next decisions.
- Keep a short tuning log for reproducibility.