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.0rc8.tar.gz (945.4 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.0rc8-py3-none-any.whl (96.4 kB view details)

Uploaded Python 3

File details

Details for the file drytorch-0.1.0rc8.tar.gz.

File metadata

  • Download URL: drytorch-0.1.0rc8.tar.gz
  • Upload date:
  • Size: 945.4 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.0rc8.tar.gz
Algorithm Hash digest
SHA256 890e36c5503255c216a88298472e9bee6bc0245dd71523fe4ef34e666de3d43b
MD5 b5f5c9642fcd44be409b2c4dce73b98a
BLAKE2b-256 7b021354eaea89ea7c5138c677d8d7e3f57c237578402a97cf9385b40e9b1213

See more details on using hashes here.

Provenance

The following attestation bundles were made for drytorch-0.1.0rc8.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.0rc8-py3-none-any.whl.

File metadata

  • Download URL: drytorch-0.1.0rc8-py3-none-any.whl
  • Upload date:
  • Size: 96.4 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.0rc8-py3-none-any.whl
Algorithm Hash digest
SHA256 d1a3e686727d54d9a350d0cab16cea3b22292041577cb9e8cbc120abe47aae05
MD5 551bee3630af31db8d53c0445fa830c2
BLAKE2b-256 8d645815e45269dbff348ca96be882ffc300c373d51064efc6393a48d8df87ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for drytorch-0.1.0rc8-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