Skip to main content

Rewritten PyTorch framework designed to help you learn AI/ML

Project description

edutorch

Rewritten PyTorch framework designed to help you learn AI/ML!

Python 3.7+ Build Status GitHub license codecov Downloads

PyTorch is one of the most amazing frameworks for building and training deep neural networks. One of its biggest strengths is providing an intuitive and extendable interface for building and training these models.

In this project, I provide my own version of the PyTorch framework, designed to help you understand the key concepts. The goal is to provide explicit implementations of popular layers, models, and optimizers. Above all else, this code is designed to be readable and clear. Many of these examples are modified from Stanford's CS 230 / 231N course materials available online.

EduTorch vs PyTorch

One notable difference between EduTorch and PyTorch is that EduTorch does NOT provide autograd. There are many educational benefits to deriving/implementing the backprop step yourself, and if you want automatic gradient calculations, you are better off using the real framework. Additionally, if you wanted to learn how the autograd system is implemented, you can check out Andrej Karpathy's micrograd project.

There is no CUDA or GPU support either, for the same reasons.

Contributing

All issues and pull requests are much appreciated!

  • First, be sure to run scripts/install-hooks.
  • To run all tests and use auto-formatting tools, check out scripts/run-tests.
  • To only run unit tests, run pytest.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edutorch-0.0.3.tar.gz (28.0 kB view hashes)

Uploaded Source

Built Distribution

edutorch-0.0.3-py3-none-any.whl (49.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page