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
- Tiny TPUtinytpu.com
- GitHub - adam-maj/tiny-gpu: A minimal GPU design in Verilog to learn how GPUs work from the ground up · GitHubgithub.com
- Making Deep Learning go Brrrr From First Principleshorace.io
- microgptkarpathy.github.io
- PiTorch: ML on Baremetal Raspberry Pis | projectsmasonjwang.com
- PyTorch internals : ezyang's blogblog.ezyang.com
- The Little Book of Deep Learningfleuret.org
- PyTorch in One Hour: From Tensors to Training Neural Networks on Multiple GPUssebastianraschka.com
- The Annotated Transformernlp.seas.harvard.edu
- A friendly introduction to machine learning compilers and optimizershuyenchip.com
- Taking PyTorch for Granted | whnrehiew.github.io
- GitHub - HazyResearch/ThunderKittens: Tile primitives for speedy kernelsgithub.com