teenygrad is <1000 line MNIST trainer It shares 90% of its code with tinygrad, so understanding teenygrad is a good step to understanding tinygrad. While it supports almost all of tinygrad's functionality, the extra 4k lines in tinygrad get you speed and diverse backend support. tensor.py and mlops.py are both tinygrad's and teenygrad's frontend. lazy.py is a replacement for all of tinygrad's backend. The only dependency of teenygrad is numpy (well, and tqdm) Usage: pip install numpy tqdm PYTHONPATH="." python mnist.py
← 开源
tinygrad
teenygrad (在 GitHub 打开)
If tinygrad wasn't small enough for you...
Model DevelopmentDeep Learning FrameworksPython
增长势头
+024 小时新增 Star0.0%
827
Star
100
Fork
+0
本周
1
贡献者
创建于 2023-08-20 · 更新于 2026-11-24 · 今日第 16975 名
主要开发者
README
排名相邻
同类项目