Machine Learning framework allowing plug-and-play training for pytorch models
Project description
🔥 pyro
Lightweight Machine Learning framework allowing plug-and-play training for Pytorch models
- ⚡ Lightning inspired
- 💾 Support for wandb and checkpoints out-of-the-box
- 📊 Pretty logs, plots and support for metrics
- ✨ Fully type-safe
- 🪶 Lightweight and easy to use
Requirements
- Python 3.10 : 3.12
Installation
pip install pyroml
Locally
# Clone the repo
git clone https://github.com/peacefulotter/pyroml.git
cd pyroml
# Install dependencies
poetry config virtualenvs.in-project true # Optional, easier for vscode to find the venv folder
poetry install
Running tests
$ cd tests
$ python main.py # this will launch the training, follow the wandb link to access the plots
$ python pretrain.py # will load the last checkpoint and compute mse on a small part of the dataset, outputs True if model predicts correctly!
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
pyroml-2.0.0.tar.gz
(29.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pyroml-2.0.0-py3-none-any.whl
(46.1 kB
view details)
File details
Details for the file pyroml-2.0.0.tar.gz.
File metadata
- Download URL: pyroml-2.0.0.tar.gz
- Upload date:
- Size: 29.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.11.7 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26fbf2ede1c761d0eeac6fd7ee2b604abf48148a1599f6c5b0608f4212a90c07
|
|
| MD5 |
2166461745acd7e295822a0f35bfaa71
|
|
| BLAKE2b-256 |
385ed2a7d85933227b2a683c335a3a3393dc47876ae0e31f42791388332df0ae
|
File details
Details for the file pyroml-2.0.0-py3-none-any.whl.
File metadata
- Download URL: pyroml-2.0.0-py3-none-any.whl
- Upload date:
- Size: 46.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.11.7 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e596e341d8d351726797ce84e592779e41c16ec6fdd058e7f24bd9a55f5e31d
|
|
| MD5 |
902e3f5af5358afc96945392d85e097e
|
|
| BLAKE2b-256 |
c3cb177c2faae8610f3a4049f82e2ec296d58d045f4f69f2993d33004b828563
|