MiniTorch: A DIY teaching library for machine learning engineers Sasha Rush, with Ge Gao, Anton Abilov and Aaron Gokaslan, released MiniTorch, a pure Python re-implementation of the Torch API built as a DIY teaching library for machine learning engineers who want to learn the internals of deep learning systems. Developed for the Machine Learning Engineering course at Cornell Tech and based on Rush's experience at Hugging Face, MiniTorch is designed to be simple, easy-to-read, tested and incremental, with students filling in TODO statements and passing an included unit test suite; the final library can run Torch code. MiniTorch MiniTorch https://github.com/minitorch/ is a diy teaching library for machine learning engineers who wish to learn about the internal concepts underlying deep learning systems. It is a pure Python re-implementation of the Torch http://www.pytorch.org API designed to be simple, easy-to-read, tested, and incremental. The final library can run Torch code. The main repo for the course is available on GitHub https://github.com/minitorch/minitorch . To complete the assignments you fill in TODO statements and pass the included unit test suite. There are also additional visualization tools to follow your progress. python class ReLU ScalarFunction : @staticmethod def forward ctx, a : TODO: Implement for Task 1.2. raise NotImplementedError 'Need to implement for Task 1.2' @staticmethod def backward ctx, d output : TODO: Implement for Task 1.4. raise NotImplementedError 'Need to implement for Task 1.4' Individual assignments cover: The project was developed for the course Machine Learning Engineering at Cornell Tech https://www.tech.cornell.edu/ and based on my experiences working at Hugging Face https://huggingface.co/ . Reach out if you are interested in the teacher's version of the repository. Enjoy Sasha Rush @srush nlp https://twitter.com/srush nlp with Ge Gao, Anton Abilov, and Aaron Gokaslan.