Skip to content

v0.1.0

Choose a tag to compare

@amaar-mc amaar-mc released this 17 Jun 03:30
· 6 commits to main since this release
8361d0d

First release of lrsched, a zero-dependency, framework-agnostic learning-rate schedule library.

Each schedule is a pure function from step to learning rate, usable in any training loop or framework. Includes constant, step, multi-step, exponential, linear, polynomial, cosine, cosine with warm restarts (SGDR), inverse square root (Transformer), and one-cycle, plus composable warmup, phase chaining, and sampling. Verified by exact reference values and Hypothesis invariants. 19 tests.