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.1.tar.gz (22.5 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.1-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: torch_batteries-0.4.1.tar.gz
  • Upload date:
  • Size: 22.5 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.1.tar.gz
Algorithm Hash digest
SHA256 485f2b9f2e30bdb2a3c410289d2bb4132320e9a5655497bc6c3cf507a4d38050
MD5 1b986f276ce869333c6c0f7019ae0e6f
BLAKE2b-256 6d5622cd5583d8adc3b8f81b6e824795f873936d129a61aa0ff4053ddbe3b740

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for torch_batteries-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a4c24087e4f465b7907ffe033ec195097de0ef0bb4648550af42886e5dcd957a
MD5 519e4b66aa95a156eda18e9667efd361
BLAKE2b-256 d4ca80d39224dbed2a4e65c5249ec7309f3ed702aea4eb57fc73c938407e2252

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