Introducing tinygrad
Update: Initial version was based on a tinygrad version released in February 2021. Updated to recent version on 2022-06-26 Apparently, it seems to be just another deep learning framework. Well, not exactly. It is a few orders of magnitude smaller and simpler than e.g. PyTorch. Everyone who ever tried to read the low-level source code of PyTorch or TensorFlow would appreciate that. It certainly promises a low barrier of adding more accelerators. Due to its extreme simplicity, it aims to be the easiest framework to add new accelerators to, with support for both inference and training. Where does the name come from? tinygrad will always be below 1000 lines. If it isn’t, we will revert commits until tinygrad becomes smaller. I think that this is a bit too ambitious unless you split it into various packages to add e.g. support for various accelerators and outsource e.g. model structures to config files and load it from there or so. But yes, it certainly sounds interesting. Update: seems lik
Contents Introduction Structure Accelerator usage GPU ANE First Steps Conclusions Introduction Update: Initial version was based on a tinygrad version released in February 2021. Updated to recent version on 2022-06-26 Apparently, it seems to be just another deep learning framework . Well, not exactly. It is a few orders of magnitude smaller and simpler than e.g. PyTorch. Everyone who ever tried to read the low-level source code of PyTorch or TensorFlow would appreciate that. It certainly promises a low barrier of adding more accelerators. Due to its extreme simplicity, it aims to be the easies
saved by
related reading
- PyTorch internals : ezyang's blogblog.ezyang.com
- Tiny TPUtinytpu.com
- GitHub - tinygrad/tinyspec: A spec for tinygrad (let's see if this works) · GitHubgithub.com
- PyTorch (@PyTorch) / Xx.com
- The Best GPUs for Deep Learning in 2023 — An In-depth Analysistimdettmers.com
- PyTorch in One Hour: From Tensors to Training Neural Networks on Multiple GPUssebastianraschka.com
- PiTorch: ML on Baremetal Raspberry Pis | projectsmasonjwang.com
- microgptkarpathy.github.io
- The Short Case for Nvidia Stock | YouTube Transcript Optimizeryoutubetranscriptoptimizer.com
- GitHub - HazyResearch/ThunderKittens: Tile primitives for speedy kernelsgithub.com
- the tiny corp raised $5.1M | the singularity is nearergeohot.github.io
- AI Chip Architecturesjacobpeake.com