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.2.tar.gz (25.0 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.2-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: torch_batteries-0.4.2.tar.gz
  • Upload date:
  • Size: 25.0 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.2.tar.gz
Algorithm Hash digest
SHA256 89e8693b96b10c1b051bbe7bb087a26e5b091c144c43da10b4344a8a56a6ca14
MD5 dd1df3c8665eb13dbea6923061d3f373
BLAKE2b-256 fb2812c374f859e340996c5fcbb1d17c739d592325b751ada0a4ffb4f1e01759

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torch_batteries-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d197174ac26a4f23fad3476a0ae907cd8d2f325b50c0f500552fbff0682ab853
MD5 82f1ff701440889d375e9c870ad1aee1
BLAKE2b-256 e40c607c27278ba4d685ac967a8e762cf4d59c657c15968c5b7f6dc77b71d575

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