Skip to main content

A lightweight Python package that supplies batteries-included abstractions for PyTorch workflows

Project description

torch-batteries

PyPI version License: MIT

torch-batteries
Image generated by AI

A lightweight Python package that supplies batteries-included abstractions for:

  • Data loading pipelines
  • Model training loops
  • Evaluation workflows
  • Metrics computation
  • Seamless Weights & Biases tracking

Designed to reduce boilerplate and standardize experiment code.

Installation

pip install torch-batteries

Examples

Explore practical examples demonstrating torch-batteries features:

Example Description Notebook Colab
Function Fitting with MLP Train a neural network to approximate a polynomial function using the event-driven training approach function_fitting.ipynb Open In Colab

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

torch_batteries-0.4.0.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

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

torch_batteries-0.4.0-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file torch_batteries-0.4.0.tar.gz.

File metadata

  • Download URL: torch_batteries-0.4.0.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for torch_batteries-0.4.0.tar.gz
Algorithm Hash digest
SHA256 521672ffb340e082ec5702de14e2cbf35aa76dee7aa1d48008098c48423cadd5
MD5 983eb3ca7a649faa31396c3d6d2aa6ce
BLAKE2b-256 82d71e89d9ffc85ef830bd1ef8456465b73dfa2e04cff76628a680f5eef554d1

See more details on using hashes here.

File details

Details for the file torch_batteries-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for torch_batteries-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4bbfcfbeefd454c4da55993f06884fe88d4ba6f03e51e5dacb16b53203dd2616
MD5 eb0679d12af3c78a4b6cf423cec3719d
BLAKE2b-256 30f27641b96092cdc933332c2ba83b629db607ce1beea042c5bcc5bde9c62c53

See more details on using hashes here.

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