Skip to main content

gradboard

snowboarder

Easily snowboard down gnarly loss gradients

Getting started

You can install gradboard with

pip install gradboard

PyTorch is a peer dependency of gradboard, which means

  • You will need to make sure you have PyTorch installed in order to use gradboard
  • PyTorch will not be installed automatically when you install gradboard

We take this approach because PyTorch versioning is environment-specific and we don't know where you will want to use gradboard. If we automatically install PyTorch for you, there's a good chance we would get it wrong!

Therefore, please also make sure you install PyTorch.

Usage examples

Decent model training outcomes without tuning hyperparameters

gradboard includes

  • An implementation of AdamS as proposed in Xie et al. (2023) "On the Overlooked Pitfalls of Weight Decay and How to Mitigate Them: A Gradient-Norm Perspective" (https://openreview.net/pdf?id=vnGcubtzR1), which in practice makes model training more robust to the weight decay setting.
  • Utilities for implementing popular learning rate schedules
  • An implementation of an automatic max/min learning rate finder based on Smith (2017) "Cyclical Learning Rates for Training Neural Networks" (https://arxiv.org/abs/1506.01186)
  • Sensible defaults

In practice this means that you can train a neural network and get decent performance right out of the box, just by using the PASS (point-and-shoot scheduler), even for unfamiliar architectures or problem domains.

Metadata

Release files for gradboard 18.0.0

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

Source distribution (sdist)

Source distribution for gradboard 18.0.0
File Size Uploaded Provenance Actions
gradboard-18.0.0.tar.gz 8.1 kB Without provenance Details for gradboard-18.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 17.4 kB

Release files / gradboard-18.0.0.tar.gz

Download URL gradboard-18.0.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c869a1a09eeebeb33307248c10dfd28484210ef67a956a1a77fbd48a0c9f15d6
BLAKE2b-256 checksum
How to use checksums
cd86c808b0ed3168c8ee6b612f7084f9900263913a3500796bdc69e019ab01da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.9.5 Darwin/25.2.0

Release files / gradboard-18.0.0-py3-none-any.whl

Download URL gradboard-18.0.0-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b8ffe179f427c49f1e9a727df198713eb334d9e66df40064b7a6103ec826a25a
BLAKE2b-256 checksum
How to use checksums
f7df6ab834b074f4187bd17c781fa5cf62fe36c5ea848d8ce252b0ac33680760
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.9.5 Darwin/25.2.0

Security for gradboard 18.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

18.0.0 This release

2 release files No provenance

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