Skip to content

Releases: google/flax

Version 0.6.7

10 Mar 01:42
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.6...v0.6.7

Version 0.6.6

28 Feb 00:18
Compare
Choose a tag to compare

What's Changed

  • Enhance checkpointing docs with Orbax information by @cpgaffney1 in #2879
  • A small doc and one fixe to Imagenet benchmark by @nouiz in #2812
  • Refactor and separate out name relaxation policy changes. by @levskaya in #2873
  • Added RMS normalization layer by @chiamp in #2881
  • added feature flag for FrozenDicts by @chiamp in #2872
  • Explicitly mark the lazy-rng with legacy_config, and all new configs should use flax.config. by @copybara-service in #2895
  • Added test for FrozenDict feature flag by @chiamp in #2896
  • Added dict utility functions by @chiamp in #2897
  • Improve notebook handling by @cgarciae in #2860
  • migrate tests to regular dicts by @chiamp in #2898
  • Release 0.6.6 by @IvyZX in #2908

New Contributors

Full Changelog: v0.6.5...v0.6.6

Version 0.6.5

09 Feb 02:35
Compare
Choose a tag to compare

What's Changed

  • Internal change by @copybara-service in #2826
  • Cache .mypy_cache on CI by @cgarciae in #2819
  • improve nn.map_variables docstrings by @cgarciae in #2818
  • Render non-array variables in tabulate by @cgarciae in #2769
  • Improve nn.map_variables example by @cgarciae in #2831
  • Introduce relaxed naming policy behind a feature flag. by @levskaya in #2833
  • Bumps minimal JAX version from 0.3.16 to 0.3.24 and cleans up some code. by @copybara-service in #2840
  • import initializers module directly by @chiamp in #2830
  • Re-box axis metadata in DenseGeneral's init functions by @IvyZX in #2843
  • Update jax dependency by @jheek in #2827
  • replaced zeros and ones initializers with zeros_init and ones_init builder functions by @chiamp in #2815
  • Fixing the punctuation in the README by @arcAman07 in #2811
  • Implement lazy init by @jheek in #2816
  • improve nn.checkpoint docs by @cgarciae in #2837
  • Flax 0.6.5 point release by @levskaya in #2856

Full Changelog: v0.6.4...v0.6.5

Version 0.6.4

26 Jan 23:01
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.3...v0.6.4

Version 0.6.3

09 Dec 20:34
Compare
Choose a tag to compare

What's Changed

  • Add gfile api shim to remove tensorflow dependency for basic IO. by @chiamp in #2586
  • Remove Mypy type errors by @zaxtax in #2594
  • Attempt to fix pytype issue. by @levskaya in #2628
  • example/imagenet: use absolute path to locate the Flax root dir by @yhtang in #2630
  • Move Flax - The Sharp Bits ToC location by @8bitmp3 in #2633
  • Speed up Github Actions CI by @levskaya in #2635
  • Update requirements by @marcvanzee in #2652
  • Switch to Orbax for Flax single-checkpoint support under the hood. by @copybara-service in #2637
  • Added path discrepancy details in serialization errors by @chiamp in #2632
  • Fix get_type_hints again by @cgarciae in #2654
  • BatchNorm guide by @cgarciae in #2536
  • Generalize pool to handle multiple batch dimensions by @cgarciae in #2591
  • Improve transfer learning guide by @cgarciae in #2595
  • update docstrings and error messages in traverse_util.py. by @copybara-service in #2666
  • Use a different rng key for each batch element in DenseGeneral init by @j-towns in #2665
  • Added check for Mac M1 chip, when conducting serialization test. by @chiamp in #2657
  • Added explicit warning if flax.io is using default Python I/O operations by @chiamp in #2625
  • Check file or directory before removing checkpoints. by @IvyZX in #2676
  • updated extracting_intermediates in flax docs by @chiamp in #2685
  • updated model_surgery in flax_docs by @chiamp in #2687
  • updated getting_started in flax docs by @chiamp in #2684
  • Updated flax docs. by @chiamp in #2667
  • updated flax_basics in flax docs by @chiamp in #2686
  • Update python version support by @cgarciae in #2682
  • add mypy.ini placeholder. by @copybara-service in #2693
  • Release 0.6.3 by @IvyZX in #2705

New Contributors

Full Changelog: v0.6.2...v0.6.3

Version 0.6.2

15 Nov 06:25
Compare
Choose a tag to compare

What's Changed

  • Refactor out dataclass transform that allows parent and name to be moved to the end of the argument list into a more general "kw_only_dataclasses" module. by @copybara-service in #2468
  • Don't create reference cycles among Modules. by @levskaya in #2499
  • adds perturb to docs by @cgarciae in #2511
  • Add pre-commit hook to remove trailing white spaces by @cgarciae in #2513
  • Add extracting gradients section to capture intermediates guide by @cgarciae in #2515
  • Make is_fully_replicated and is_fully_addressble a property rather than a method. by @copybara-service in #2516
  • Adds CallSetupUnboundModuleError by @cgarciae in #2496
  • Adding documentation to Dropout around rng use by @zaxtax in #2492
  • no-op when double wrapping with struct.dataclass by @cgarciae in #2505
  • Add epub and pdf RDT formats by @cgarciae in #2517
  • Update landing page example by @cgarciae in #2366
  • Use gfile.remove for files because it doesn't work on GCS files. by @IvyZX in #2518
  • Add save_checkpoint_multiprocess to api reference. by @IvyZX in #2519
  • Add Tensorstore back to required dependencies. by @IvyZX in #2520
  • Delete flax.optim.rst by @ppwwyyxx in #2522
  • Added an error for when we call init, init_with_output and apply on Module class. by @chiamp in #2529
  • Adding link to Bayesian Inference example that uses Flax by @zaxtax in #2521
  • Added IncorrectPostInitOverrideError to capture incorrect post init overrides. by @copybara-service in #2535
  • Fix to use is_initializing for init-detection. by @yotarok in #2486
  • add rng_collection argument to Dropout by @cgarciae in #2540
  • Cancel tests if other jobs fail by @cgarciae in #2507
  • Update Guides link in Flax README by @8bitmp3 in #2544
  • Pin jupytext version in requirements.txt by @IvyZX in #2545
  • Fix flax.linen.stochastic.Dropout by @dslisleedh in #2510
  • Transfer Learning Guide by @cgarciae in #2394
  • Update Flax Contributing.md by @8bitmp3 in #2546
  • cap dynamic scale to float32 max by @jheek in #2553
  • Remove optional import of jax.experimental.array for older JAX versions. by @copybara-service in #2552
  • Update examples.rst with denoising-diffusion-flax by @yiyixuxu in #2487
  • return None if no _parent_ref is set by @cgarciae in #2548
  • Add a documentation page on checkpointing by @IvyZX in #2530
  • Lint Flax Contributing guide by @8bitmp3 in #2560
  • Remove extra metadata in Checkpointing guide by @8bitmp3 in #2559
  • Update getting_started.ipynb and getting_started.md by @chiamp in #2563
  • Remove unused svn dependency by @8bitmp3 in #2574
  • Fix pytype check in checkpoints.py by @IvyZX in #2592
  • Add new 🔪 Flax - The Sharp Bits 🔪 Dropout and randomness by @8bitmp3 in #2593
  • Fixes launch_gce.sh with imagenet example. by @andsteing in #2598
  • Added test to check for Variable warning. by @chiamp in #2610
  • Release version 0.6.2 by @IvyZX in #2613

New Contributors

Full Changelog: v0.6.1...v0.6.2

Version 0.6.1

04 Oct 01:30
Compare
Choose a tag to compare

What's Changed

  • Updates examples/{imagenet,wmt} requirements. by @andsteing in #2405
  • Bump rich dependency version by @yklcs in #2407
  • Adds axis_name and axis_index_groups to LayerNorm and GroupNorm. by @copybara-service in #2402
  • Plumb spmd_axis_name through transforms.vmap through to JAX vmap by @copybara-service in #2398
  • Support multiple inputs in flax lifted vjp/custom_vjp by @copybara-service in #2399
  • Explicit reexport initializers from jax by @lkhphuc in #2409
  • Improve tabulate by @cgarciae in #2316
  • Add path_aware_map function by @cgarciae in #2371
  • PIL does not accept DeviceArray, so needed to use numpy. by @villeh1 in #2427
  • Move examples to RTD by @cgarciae in #2367
  • Simplify dynamic context by @cgarciae in #2388
  • Remove pytype generic workaround by @jheek in #2446
  • Add static_argnums to nn.checkpoint by @cgarciae in #2457
  • ignore tf deprecation warning. by @copybara-service in #2466
  • Fix Managing Parameters and State docs by @cgarciae in #2473
  • Use gfile.listdir instead of gfile.glob in checkpointing by @IvyZX in #2470
  • Create test matrix to speedup tests by @cgarciae in #2458
  • Fix Conv docstrings by @cgarciae in #2425
  • Use proper scikit-learn dependency by @cgarciae in #2465
  • Improve attribute error msg for unbounded modules by @cgarciae in #2440
  • Adding "count_include_pad" argument to flax.linen.pooling.avg_pool by @dslisleedh in #2451
  • Add perturb() to allow capturing intermediate gradients by @IvyZX in #2476
  • fix DynamicScale docstring by @cgarciae in #2491
  • test against python 3.8 and 3.9 by @cgarciae in #2490
  • Update version to 0.6.1 by @cgarciae in #2494
  • Adoption cache should use WeakValueDictionary. by @levskaya in #2495
  • FLIP: General metadata by @jheek in #2435

New Contributors

Full Changelog: v0.6.0...v0.6.1

Version 0.6.0

17 Aug 06:38
Compare
Choose a tag to compare

What's Changed

  • Add on_commit_callback to put the responsibility of renaming the directories on the users of the serialization library. This will also fix the GCS atomic rename issue where the users can write a success file when the commit is successful and check the existence of that file before deserialization. by @copybara-service in #2328
  • RDT Redesign by @cgarciae in #2177
  • Fix stale URLs to read the docs site. by @levskaya in #2338
  • Replace all jax.tree_* calls with jax.tree_util.tree_* by @levskaya in #2325
  • Further fix the singular-leaf checkpointing, and add tests. by @copybara-service in #2336
  • Forward unroll argument in scan_with_axes by @sanchit-gandhi in #2339
  • Document repo analytics by @cgarciae in #2317
  • Improve flax basics by @cgarciae in #2291
  • Split build into multiple jobs by @cgarciae in #2277
  • Fix type annotation for step in training.checkpoints by @Chuxiaof in #2343
  • Add test for writing and restoring empty checkpoints. by @copybara-service in #2345
  • Allow all processes to checkpoint when not using GDA by @copybara-service in #2350
  • Make importing tensorstore optional and move related type hints to comments. by @copybara-service in #2348
  • Use jax.named_scope for name stack rather than named_call. by @copybara-service in #2349
  • Internal change by @copybara-service in #2356
  • Fix sphinx CI errors by @cgarciae in #2361
  • Forward path to rewound Scope by @jheek in #2360
  • Make link a link on the getting started by @Davidnet in #2340
  • Fix colab & github links by @cgarciae in #2363
  • Fix ConvTranspose with circular padding by @cgarciae in #2364
  • Add some docstrings to the old flax.training.common_utils module. by @levskaya in #2373
  • Correct state variable name by @Jeevesh8 in #2369
  • Allow linen's Conv layer to operate on arbitrary-rank inputs. by @copybara-service in #2308
  • Copies dynamic_scale.py from optim/ to training/. by @copybara-service in #2375
  • Add option auto_flush to flax.metrics.tensorboard.SummaryWriter by @copybara-service in #2376
  • updated supported transforms in lifting docs. by @levskaya in #2374
  • Test docstrings with autodoc on CI by @cgarciae in #2372
  • skip remat test that fails with autodiff by @mattjj in #2389
  • Removes flax.optim.dynamic_scale. by @copybara-service in #2314
  • Plumb spmd_axis_name from vmap_with_axes through to JAX vmap by @copybara-service in #2390
  • fixed math expressions by @banda-larga in #2392

New Contributors

Full Changelog: v0.5.3...v0.6.0

Version 0.5.3

25 Jul 21:25
Compare
Choose a tag to compare

What's Changed

  • Adds .pre-commit-config.yaml by @copybara-service in #2212
  • Fix missing passthrough of nn.scan unroll arg by @jheek in #2213
  • Test Notebooks on CI by @cgarciae in #2166
  • Bump numpy from 1.21.4 to 1.22.0 in examples by @marcvanzee in #2228
  • Add nn.switch by @cgarciae in #2205
  • Fix notebooks by @cgarciae in #2231
  • Add launch section with colab button by @cgarciae in #2235
  • Enabling the dollarmath extension of MyST to render correctly math expresions by @WaterKnight1998 in #2238
  • Update codediff to use sphinx-design tabs by @cgarciae in #2204
  • Fix tests by @cgarciae in #2253
  • Add single-host async save to save_checkpoint. by @IvyZX in #2233
  • Add a method for detecting the use of "init" functions. by @levskaya in #2234
  • Small fix in MNIST example by @marcvanzee in #2258
  • Fix typos in the doc of flax.linen.Module.bind by @nalzok in #2269
  • Add colab button to flax_basics by @cgarciae in #2276
  • Fix type annotations by @cgarciae in #2281
  • Exclude pseudo-fields of dataclass by @YouJiacheng in #2199
  • Fix variable aliasing in put_variable by @jheek in #2296
  • Update reference to tree_map to avoid deprecation warning. by @copybara-service in #2298
  • Fix nondeterministic bug arising from sharing logic during module adoption. by @copybara-service in #2302
  • fix ppo example typo by @fuyw in #2306
  • Forward axis_size tot jax.vmap by @jheek in #2310
  • cleanup: replace deprecated jax.tree_map with jax.tree_util.tree_map by @copybara-service in #2311
  • Add GlobalDeviceArray/multihost checkpoint support to Flax. by @copybara-service in #2287
  • 0.5.3 update version & changelog by @IvyZX in #2330
  • Replace use of id() with global counter-based id. by @levskaya in #2313

New Contributors

Full Changelog: v0.5.2...v0.5.3

Version 0.5.2

21 Jun 23:20
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.5.1...v0.5.2