Skip to main content

A library of classes and functions for working with PyTorch.

Project description

firekit

Firekit is a library of classes and functions for training and evaluating PyTorch models. The main focus of the library is a Trainer class that performs the standard training and evaluation loops, reports the training and evaluation loss and the evaluation performance on user-defined metrics, saves the model state when performance improves, and reloads the best model at the end of training.

This project exists to support my work. It is in active development and the API is not stable.

Installation

Install with pip or pipenv in the normal way.

pip install firekit

Use the ---index-url argument to install an older version of PyTorch for CUDA as a dependency. For example, use the following to get PyTorch with CUDA 11.8.

pip install firekit --index-url https://download.pytorch.org/whl/cu118

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

firekit-0.0.11.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

firekit-0.0.11-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file firekit-0.0.11.tar.gz.

File metadata

  • Download URL: firekit-0.0.11.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for firekit-0.0.11.tar.gz
Algorithm Hash digest
SHA256 0ddca4765123579413cd5f3d9ef942b3163a4858e8b9604d46ac699df0350772
MD5 5211c5f974ec4fff13b1b6236e92f6cc
BLAKE2b-256 073e2fe15454f7fad4344d145530690a21152bddddb06e8bccaa8e1fbf7072e5

See more details on using hashes here.

File details

Details for the file firekit-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: firekit-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for firekit-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 7a94d40b05f13b54377a2804d6805fc65d878cd1ab024f0bf89a49f626273b9f
MD5 718407bfad6b51fe8dbcec920b1d2c52
BLAKE2b-256 3f0f01dcf64155645177ea2d94ad1d92bcae658a5f49ab614143ee46a07b814e

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