Rewritten PyTorch framework designed to help you learn AI/ML
Project description
edutorch
Rewritten PyTorch framework designed to help you learn AI/ML!
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file edutorch-0.0.3.tar.gz
.
File metadata
- Download URL: edutorch-0.0.3.tar.gz
- Upload date:
- Size: 28.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 162e0abdea32e5c68f66c339475effef1406741775f32d79488ec9ba73e8dec3 |
|
MD5 | 97461fe39e07f7db868da2c357dcdb54 |
|
BLAKE2b-256 | e3697a5f88f4648333a02bd623018478f46f0b120fd974c165c922a45bc152ec |
File details
Details for the file edutorch-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: edutorch-0.0.3-py3-none-any.whl
- Upload date:
- Size: 49.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37a7d3a13661f30a381aac75cd1f78324c757c4f2b677fee57a317bda0017fbb |
|
MD5 | ff712a14ff247a03c0dfb820a53afdde |
|
BLAKE2b-256 | 9d1895dc9daa1fbbc76f14b3d11b1c94f3669a789d1d69a5b2e48b49c82ec8a9 |