Skip to content

An experimental machine learning framework made to better understand pytorch

Notifications You must be signed in to change notification settings

StanleyNeoh/minitorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minitorch

"Hmm, I wonder how PyTorch works? I should write a toy version of it to find out."

Minitoch is a minimal recreation of Pytorch. It is intended for me to learn how a Machine Learning framework works, and to serve as a teaching tool for others. It is not intended to be fast or to be used for anything serious (at least not yet).

Stay tuned for updates!

Installation

Currently Minitorch is not available on PyPI. To install it, clone the repository and run

git clone git@github.com:StanleyNeoh/minitorch.git
cd minitorch
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Features implemented

  • Variable wrapper around numpy
  • Operations between Variable
  • Autograd
  • Autograd Checker
  • Losses
  • Optimizers
  • Layers
  • Datasets
  • Dataloaders
  • Training loop
  • Model saving/loading
  • GPU support
  • Distributed training
  • ONNX export
  • JIT compilation
  • C++ backend

About

An experimental machine learning framework made to better understand pytorch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages