This package helps train, document and evaluate a Pytorch model.
Project description
DRYTorch
Reproducible machine learning experiments with PyTorch.
Design
Applies Don't Repeat Yourself principles: replicable, documented, reusable.
- Reproducibility: experimental isolation to prevent unintended dependencies, data leakage, and misconfiguration.
- Modularity: flexible protocols preserving type inference in custom implementations.
- Decoupled Tracking: execution independent of tracking events (logging, plotting, and storing metadata).
- Optional Dependencies: support for external libraries (Hydra, W&B, TensorBoard, etc.) but minimal requirements.
- Self-Documentation: automatic metadata extraction and standardization.
- Ready-to-use: high-level implementations for advanced applications and workflows.
Installation
Requirements:
- The library only requires recent versions of PyTorch and NumPy.
- PyYAML and tqdm are recommended.
pip:
pip install drytorch
UV:
uv add drytorch
Package Structure
Modules are organized into the following subpackages:
core: internal routines and the interfaces for library and custom components.lib: reusable implementations and abstract classes of the protocols.tracker: optional tracker plugins that integrate via the event system.contrib: community-driven extensions and support for external libraries.utils: general utilities independent to the framework.
Documentation
Read the full documentation on Read the Docs →
The documentation includes:
- Tutorials: walkthrough through the core features.
- API Reference: detailed API documentation.
- Architecture Overview: design structure.
See also
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
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
File details
Details for the file drytorch-0.1.0rc7.tar.gz.
File metadata
- Download URL: drytorch-0.1.0rc7.tar.gz
- Upload date:
- Size: 944.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12659645b003bc52402acef2951b1e3eb574688b05e7fd39d5305da19685bf92
|
|
| MD5 |
85fe182ab526c360ec0ab4e2c19aa92c
|
|
| BLAKE2b-256 |
8a4f5d2ae91899553c2dac1aeef1082539e7d2da1673d90235cb06a58e5766c7
|
Provenance
The following attestation bundles were made for drytorch-0.1.0rc7.tar.gz:
Publisher:
publish.yaml on nverchev/drytorch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
drytorch-0.1.0rc7.tar.gz -
Subject digest:
12659645b003bc52402acef2951b1e3eb574688b05e7fd39d5305da19685bf92 - Sigstore transparency entry: 1586642612
- Sigstore integration time:
-
Permalink:
nverchev/drytorch@e49fba534ad736d3c9804acd2978679d2ec9c98a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/nverchev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@e49fba534ad736d3c9804acd2978679d2ec9c98a -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file drytorch-0.1.0rc7-py3-none-any.whl.
File metadata
- Download URL: drytorch-0.1.0rc7-py3-none-any.whl
- Upload date:
- Size: 95.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
994bb9823117d4fb6262e4156deb845a36a0193eb8f5912fa5a4e8e54fb48482
|
|
| MD5 |
e587a0945842bbf2c19e08e5e16cde48
|
|
| BLAKE2b-256 |
d232db4667536b0130d570308a1893344efc3942d70af11e5081f9f19d57c82b
|
Provenance
The following attestation bundles were made for drytorch-0.1.0rc7-py3-none-any.whl:
Publisher:
publish.yaml on nverchev/drytorch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
drytorch-0.1.0rc7-py3-none-any.whl -
Subject digest:
994bb9823117d4fb6262e4156deb845a36a0193eb8f5912fa5a4e8e54fb48482 - Sigstore transparency entry: 1586642775
- Sigstore integration time:
-
Permalink:
nverchev/drytorch@e49fba534ad736d3c9804acd2978679d2ec9c98a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/nverchev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@e49fba534ad736d3c9804acd2978679d2ec9c98a -
Trigger Event:
workflow_dispatch
-
Statement type: