Skip to main content

This package helps train, document and evaluate a Pytorch model.

Project description

drytorch_logo.png PyPI version Total Downloads Python License CI Status codecov Ruff basedpyright - checked Documentation Status

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:

See also

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

drytorch-0.1.0rc7.tar.gz (944.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drytorch-0.1.0rc7-py3-none-any.whl (95.8 kB view details)

Uploaded Python 3

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

Hashes for drytorch-0.1.0rc7.tar.gz
Algorithm Hash digest
SHA256 12659645b003bc52402acef2951b1e3eb574688b05e7fd39d5305da19685bf92
MD5 85fe182ab526c360ec0ab4e2c19aa92c
BLAKE2b-256 8a4f5d2ae91899553c2dac1aeef1082539e7d2da1673d90235cb06a58e5766c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for drytorch-0.1.0rc7.tar.gz:

Publisher: publish.yaml on nverchev/drytorch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for drytorch-0.1.0rc7-py3-none-any.whl
Algorithm Hash digest
SHA256 994bb9823117d4fb6262e4156deb845a36a0193eb8f5912fa5a4e8e54fb48482
MD5 e587a0945842bbf2c19e08e5e16cde48
BLAKE2b-256 d232db4667536b0130d570308a1893344efc3942d70af11e5081f9f19d57c82b

See more details on using hashes here.

Provenance

The following attestation bundles were made for drytorch-0.1.0rc7-py3-none-any.whl:

Publisher: publish.yaml on nverchev/drytorch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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