Don't import it. Build it.
Build your own ML framework: from tensors to systems.
Preview · Classroom release Spring 2027
An educational framework for building and optimizing ML: understand how PyTorch, TensorFlow, and JAX work.
TinyTorch is usable today for self-paced learning and active course pilots. APIs, instructor packaging, and classroom workflows will continue to stabilize through the Spring 2027 classroom release. Self-study works today; courses adopting TinyTorch before then should expect to pilot it.
Recreate ML History
Walk through ML history by rebuilding its landmark results with YOUR TinyTorch implementations. Click each milestone to see what you will build and how it shaped modern AI.
Why Build Instead of Use?
Each milestone reruns a landmark result with your own implementation.
Traditional ML Education
import torch
model = torch.nn.Linear(784, 10)
output = model(input)
# When this breaks, you're stuckProblem: You cannot debug what you do not understand.
TinyTorch: Build → Use → Reflect
# BUILD it yourself
class Linear:
def forward(self, x):
return x @ self.weight + self.bias
# USE it on real data
loss.backward() # YOUR autogradAdvantage: You can debug it because you built it.
Learning Path
Five progressive stages take you from foundations to production systems, capstone benchmarking, and custom hardware kernels:
Is This For You?
Students
Taking ML courses, want to understand what is behind import torch
Instructors
Teaching ML systems with ready-made hands-on labs
Self-learners
Career changers or hobbyists going deeper than tutorials
Prerequisites: Python + basic linear algebra. No ML experience required.
Join the Community
See learners building ML systems worldwide
Add yourself to the map · Share your progress · Connect with builders
Part of the MLSysBook project. GitHub stars help the project find support for free ML education.
Next Steps: Quick Start | About the Course | Community