Repository navigation
v0.1.0
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.