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.3.0.tar.gz (19.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.3.0-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: torch_batteries-0.3.0.tar.gz
  • Upload date:
  • Size: 19.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.3.0.tar.gz
Algorithm Hash digest
SHA256 fab7647d0792872caa230bbbce0120e5917da7326f27ba852337f5b0bf0b36f4
MD5 3ff4713eeaa7656e79e66355f4981aa1
BLAKE2b-256 15c6d3e47cf8239dc63bd4f97214e3943739d3c5ec614e55da84c91ae1e590db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torch_batteries-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c4e6aaf6c7af66fe946e0d9dfe804e63b0e04d84e6b31072402bf793190aecb
MD5 f7a6cb95e519993a1f75716781416715
BLAKE2b-256 da1844df5c62b9906dbeae8e7fe623ab5e8b8ed275567a70dc8e5b56a700d230

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