8000 Tags · google/flax · GitHub
[go: up one dir, main page]

Skip to content

Tags

Tags

v0.12.12

Toggle v0.12.12's commit message
Release Flax 0.12.12

Updates Flax version to `0.12.12` in `flax/version.py` and `README.md`.

PiperOrigin-RevId: 1007712188

v0.12.11

Toggle v0.12.11's commit message
Merge pull request #5593 from mayuriphad:fix-flatten-dict-sep

PiperOrigin-RevId: 1007615496

v0.12.10

Toggle v0.12.10's commit message
Release Flax 0.12.10 and use attribute lookup for HiPrim fallback

Updates Flax version to 0.12.10 so the recent `jax.experimental.hijax` migration (`HiPrimitive` -> `HiPrim`) is included in a public release compatible with `jax>=0.11.2`. Also replaces the version-tuple check for `HiPrim` with an attribute lookup (`getattr(hjx, 'HiPrim', None) or hjx.VJPHiPrimitive`) and removes a shadowed duplicate definition of `_bind_new_variable` in `flax.nnx.variablelib`.

PiperOrigin-RevId: 987564781

v0.12.9

Toggle v0.12.9's commit message
release Flax 0.12.9

PiperOrigin-RevId: 966810367

v0.12.8

Toggle v0.12.8's commit message
Merge pull request #5526 from samanklesaria:fix_ci_precision

PiperOrigin-RevId: 943947082

v0.12.7

Toggle v0.12.7's commit message
Disallow `P.UNCONSTRAINED` in `out_shardings` in `jit`. This leads to…

… simplifications in how we lower shardings to stableHLO.

Fixes jax-ml/jax#37047

PiperOrigin-RevId: 903549557

v0.12.6

Toggle v0.12.6's commit message
add nnx.map and nnx.abstract_with_sharding

PiperOrigin-RevId: 886959302

v0.12.5

Toggle v0.12.5's commit message
simplify set_view API

* `nnx.view` now uses `inspect.signature` to automatically infer which parameters are required by `set_view` and only passes those.
* updates the `view` guide to refect the above
* simplifies the `set_view` definition for `Dropout`, `BatchNorm` and `MultiHeadAttention`

PiperOrigin-RevId: 878229069

v0.12.4

Toggle v0.12.4's commit message
Rename sharding_names to out_sharding in NNX Variable metadata

This CL renames the sharding_names attribute to out_sharding for better
consistency with the sharding API. The new name more clearly indicates
the purpose of this metadata field.
## Changes
- Bump Flax version to 0.12.4
- Core changes in variablelib.py:
  - Add sharding_names to out_sharding metadata remapping for backward compatibility
  - Add deprecated sharding_names property that returns out_sharding with a warning
- Update nnx/spmd.py, core/spmd.py, core/meta.py, linen/spmd.py to use out_sharding
- Update all NNX tests to use the new attribute name
- Update qwix flax_util.py to check for out_sharding first, with fallback to sharding_names
- Update maxtext initializers.py to check for out_sharding first
- Update documentation and examples to use out_sharding
## Backward Compatibility
Existing code using sharding_names will continue to work via:
- Metadata remapping during Variable creation
- Deprecated Variable.sharding_names property

PiperOrigin-RevId: 869269899

v0.12.3

Toggle v0.12.3's commit message
update flax to version 0.12.3

PiperOrigin-RevId: 861815039
0