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.
Metadata
Release files for edutorch 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| edutorch-0.0.3.tar.gz | 28.0 kB | Without provenance | Details for edutorch-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| edutorch-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for edutorch-0.0.3-py3-none-any.whl |
Total release size: 77.1 kB
Release files / edutorch-0.0.3.tar.gz
| Download URL | edutorch-0.0.3.tar.gz |
|---|---|
| Size | 28.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
162e0abdea32e5c68f66c339475effef1406741775f32d79488ec9ba73e8dec3
|
|
BLAKE2b-256 checksum How to use checksums |
e3697a5f88f4648333a02bd623018478f46f0b120fd974c165c922a45bc152ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / edutorch-0.0.3-py3-none-any.whl
| Download URL | edutorch-0.0.3-py3-none-any.whl |
|---|---|
| Size | 49.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37a7d3a13661f30a381aac75cd1f78324c757c4f2b677fee57a317bda0017fbb
|
|
BLAKE2b-256 checksum How to use checksums |
9d1895dc9daa1fbbc76f14b3d11b1c94f3669a789d1d69a5b2e48b49c82ec8a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for edutorch 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.