#7777th of 433 in ML frameworks and libraries
tinygrad
Small deep learning stack with tensors, autograd, and a readable compiler
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts tinygrad on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.tinygrad is on your watch list. Its new releases and problems show there.
- Stars
- 34k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Aug 2026
- Language
- Python
31,680 on 24 Mar 202634,002 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
tinygrad is a Python tensor library with autograd, an IR and compiler that fuses and lowers kernels, a JIT (TinyJit) with graph execution, and nn, optim and dataset modules for training. It targets OpenCL, CPU, Metal, CUDA, AMD, NV, QCOM and WebGPU, and a new backend needs about 25 low-level ops. The API follows PyTorch, but the compiler and IR are kept small enough to read and modify.
Who it is for: Engineers who want a hackable PyTorch alternative or a compiler to study
Strengths
- Whole compiler and IR are visible and hackable, unlike PyTorch
- Eager Tensor API and autograd close to PyTorch, so training loops look familiar
- Backends for OpenCL, CPU, Metal, CUDA, AMD, NV, QCOM and WebGPU
- New accelerator needs only about 25 low-level ops
Weaknesses
- Fewer functional transforms than JAX: no full vmap or pmap yet
- README says the library is not 1.0 yet
- Recommended install is from source; no PyPI instructions in the README
- Strict contribution rules: AI-looking PRs from new contributors are closed
What it needs
- GPU optional
- Models: OpenCL, CPU, Metal, CUDA, AMD
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #75 | riverPython library for online machine learning on streaming data | 77 out of 100 |
| #76 | deeplabcutMarkerless animal pose estimation toolbox with GUI and Python API | 77 out of 100 |
| #78 | ncnnC++ neural network inference library for mobile, embedded and desktop devices | 76 out of 100 |
| #79 | visionPyTorch library of vision datasets, model architectures and image transforms | 76 out of 100 |
| #80 | flaxNeural network library for JAX built around mutable Python objects | 76 out of 100 |