Repository navigation
Optimisers v0.4.13
Merged pull requests:
- Speed up
nospecialize_trainableson arrays, and correct its docstrings (#257) (@CarloLucibello) - Add in-place
destructure!(#260) (@CarloLucibello) - Add
destructure(model; alias = true), rebuilding from views (#261) (@CarloLucibello) - Keep the model's element types in
destructure, and check devices (#262) (@CarloLucibello) - Give the gradient of a tied array to its first position in
trainables(#264) (@CarloLucibello) - Copy arrays of arrays in
updateandadjust, instead of mutating them (#266) (@CarloLucibello) - Support second derivatives through
destructureandRestructure(#267) (@CarloLucibello) - Mark documented functions as
public(#268) (@CarloLucibello) - Shorten
Leafprinting in the REPL (#269) (@CarloLucibello) - Use
_epsinAdamW, so zero gradients don't giveNaNwithFloat16(#270) (@CarloLucibello) - Clamp the variance of centred
RMSPropat zero (#271) (@CarloLucibello) - Make
AdaMaxandAMSGradwork on complex parameters (#272) (@CarloLucibello) - Adjust only the rules a filter selects, and fix adjust! on Float32 rules, Dicts and Reactant (#273) (@CarloLucibello)
- Add
setup(f, model), choosing each array's rule from its keypath and the array (#274) (@CarloLucibello) - Compute in at least
Float32forBFloat16andFloat16parameters (#275) (@CarloLucibello) - Support eager setup for Adam and its variants on Reactant (#276) (@CarloLucibello)
Closed issues:
- Consistency in the type behavior of restructure (#95)
- Restructure makes a copy (#146)
- Document
destructurehandling shared parameters differently to ComponentArrays.jl (#161) - Using
adjust!on weight decay (L2) and sign decay (L1) at the same time? (#201) - Numerical issues with
BFloat16(#215) - mark documented functions as
public(#221) - unnecessary jit on setup for Reactant (#226)
- Per-array rules in setup, e.g. Muon for hidden matrices and AdamW elsewhere (track #204) (#244)
- Centred
RMSPropthrowsDomainErrorwhen rounding makesquad - abs2(lin)negative (#251) AdamWgivesNaNfor zero-gradient entries ofFloat16parameters (epsilon underflows to 0) (#253)AdaMaxandAMSGradthrowMethodError(isless) on complex parameters (#254)- Redesign of
destructure/Restructure(#258) updatemutates the model and state when they contain arrays of arrays, e.g.Chain([...])(#265)