Skip to main content

fannypack

build mypy lint codecov

A loose collection of tools for training PyTorch models.

Contents include helpers for:

  • Experiment management, Tensorboard logging, and checkpointing (Python + CLI)
  • Reading and manipulating arrays and tensors stored in containers: converting between types, moving across (Torch) devices, slicing across shared dimensions
  • Freezing and unfreezing portions of PyTorch modules
  • Reading and writing time series data/trajectory files via hdf5
  • and a lot more!

See documentation for full overview of functionality.


Installation

Standard installation:

pip install fannypack

Install from source:

git clone https://github.com/brentyi/fannypack.git
cd fannypack && pip install -e .

Development

Tests can be run with pytest, and documentation can be built by running make github in the docsource/ directory.

Tooling: black and isort for formatting, flake8 for linting, and mypy for static type-checking.

Until numpy 1.20.0 is released, type-checking also requires that NumPy stubs are installed manually:

pip install https://github.com/numpy/numpy-stubs/tarball/master

Metadata

Release files for fannypack 0.0.25

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fannypack 0.0.25
File Size Uploaded
fannypack-0.0.25.tar.gz 42.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fannypack 0.0.25
File Interpreter ABI Platform
fannypack-0.0.25-py3-none-any.whl Python 3 none any Details

Total release size: 98.3 kB

Release files / fannypack-0.0.25.tar.gz

Download URL fannypack-0.0.25.tar.gz
Size 42.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c8310f3b7f73400796ccfdb093d42521b7023e36387fe8ee328237438d64c2f2
BLAKE2b-256 checksum
How to use checksums
eee4c82365d886630adc02bdd4b078a4ba06caa30825802da6372f5275cd3c04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / fannypack-0.0.25-py3-none-any.whl

Download URL fannypack-0.0.25-py3-none-any.whl
Size 55.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b8cdbd6471b4b598640611140e814421faa77bf6f730a84928d4fa2570c4d44b
BLAKE2b-256 checksum
How to use checksums
c25dd125a801e5daf47c240a693db4f23f6e7336fee1879a1721fc1d7a266206
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release history Release notifications | RSS feed

This release

0.0.25 This release

2 release files

0.0.23

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.5

2 release files

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page