ReleaseGoogle (DeepMind / Gemini)Google (DeepMind / Gemini)published Nov 11, 2026seen 2w

google-deepmind/optax v0.2.9

google-deepmind/optax

Open original ↗

Captured source

source ↗
published Nov 11, 2026seen 2wcaptured 1whttp 200method plain

Optax 0.2.9

Repository: google-deepmind/optax

Tag: v0.2.9

Published: 2026-11-11T18:35:29Z

Prerelease: no

Release notes:

What's Changed

  • Start of 0.2.9 development. by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1638
  • Minor improvements and cleanup using tree utility functions. by @carlosgmartin in https://github.com/google-deepmind/optax/pull/1365
  • [JAX] Suppress type errors found by pytype after correcting definition of jax.typing.ArrayLike. by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1648
  • Update microbatching to support size 0 batches. This change is important for Jax privacy, where the batch size is random, and possibly empty. by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1647
  • Fix version checks in microbatching by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1655
  • sigmoid_binary_cross_entropy: add type annotations by @anshuljoshi in https://github.com/google-deepmind/optax/pull/1653
  • Remove TensorFlow dependency in the differentially private CNN on MNIST example by @rajasekharporeddy in https://github.com/google-deepmind/optax/pull/1610
  • Temporary patch for failing test on lars on complex numbers with gpu by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1661
  • Avoid unnecessary directory change in test.sh. by @carlosgmartin in https://github.com/google-deepmind/optax/pull/1324
  • Muon: fix excessive memory from Newton-Schulz unroll=True by @bzantium in https://github.com/google-deepmind/optax/pull/1650
  • Automated Code Change by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1663
  • Migrate from flax.linen to flax.nnx in Lookahead Optimizer in MNIST example. by @rajasekharporeddy in https://github.com/google-deepmind/optax/pull/1589
  • Remove TensorFlow dependency in Reduce on Plateau Learning Rate Scheduler example by @rajasekharporeddy in https://github.com/google-deepmind/optax/pull/1616
  • Update mlp_mnist notebook for removing tf dependency and NNX migration by @selamw1 in https://github.com/google-deepmind/optax/pull/1625
  • Remove TensorFlow dependency and migrate cifar10_resnet to Flax NNX by @selamw1 in https://github.com/google-deepmind/optax/pull/1508
  • Improve microbatching support for positional args passed by name and other variations of positional/kwargs. by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1665
  • Add ArrayTree to the public API of optax. by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1666
  • Improve microbatching support for positional args passed by name and other variations of positional/kwargs. by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1668
  • Improve robustness of microbatching w.r.t. different calling conventions (Args / kwargs). by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1669
  • Fix CI by relaxing tolerance in optax nnls test by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1670
  • Remove the stochastic gradient estimatorsand control variates documentation by @rajasekharporeddy in https://github.com/google-deepmind/optax/pull/1664
  • Remove non-monotonicity check from test_nnls as it is theoretically not guaranteed. by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1672
  • Note hyperparams can be strongly typed JAX arrays. by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1673
  • Remove packaging dependency and vendor version parsing in Optax. by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1675
  • Split L-BFGS tests out of alias_test.py into lbfgs_test.py. by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1676
  • Migrate from pytype to pyrefly for type checking. by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1674
  • Fix pyrefly type-checking failures in GitHub CI and simplify freezing tests. by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1682
  • Fix wrong schedule name in cosine_onecycle_schedule error message by @adityasingh2400 in https://github.com/google-deepmind/optax/pull/1680
  • feat: add optional weight_decay to adabelief optimizer by @yasumorishima in https://github.com/google-deepmind/optax/pull/1634
  • Repair use of deprecated parameter by @NeilGirdhar in https://github.com/google-deepmind/optax/pull/1671
  • Removing pytype or pyrefly from tests. by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1684
  • Improve microbatch and micro_grad documentation. by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1685
  • docs: render one page per public symbol via autosummary toctree by @adityasingh2400 in https://github.com/google-deepmind/optax/pull/1679
  • relax tolerance on the vdot test by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1691
  • fix: prevent PyPI/conda-forge dependency drift with automated release checks by @Muneerali199 in https://github.com/google-deepmind/optax/pull/1688
  • fix documentation of microbatch. micro_grad actually computes per-example gradients, i.e., microbatch(vmap(grad(fun))), which is a bit different than microbatch(grad(fun)). by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1694
  • Reduce focal loss memory usage. by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1700
  • Migrate to the latest flax.nnx module from the old flax.linen module in Gradient Accumulation example. by @rajasekharporeddy in https://github.com/google-deepmind/optax/pull/1699
  • Fix mlc_config.json for markdown-link-check by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1705
  • docs(losses): clarify cosine_similarity/cosine_distance epsilon clips the squared norm by @Osamaali313 in https://github.com/google-deepmind/optax/pull/1703
  • Migrate from the old flax.linen to the latest flax.nnx module in Simple NN with Flax example. by @rajasekharporeddy in https://github.com/google-deepmind/optax/pull/1698
  • Ignore badge in link checks by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1707
  • Adding mask for weight decay in Prodigy-AdamW implementation by @copybara-service[bot] in https://github.com/google-deepmind/optax/pull/1702
  • Resolve various type checking and indexing warnings in...

Excerpt shown — open the source for the full document.