Update flax requirement from <0.5,>=0.4 to >=0.4,<0.6
Created by: dependabot[bot]
Updates the requirements on flax to permit the latest version.
Release notes
Sourced from flax's releases.
Version 0.5.0
New features:
- Added
flax.jax_utils.ad_shard_unpad()
by@lucasb-eyer
- Implemented default dtype FLIP. This means the default dtype is now inferred from inputs and params rather than being hard-coded to float32. This is especially useful for dealing with complex numbers because the standard Modules will no longer truncate complex numbers to their real component by default. Instead the complex dtype is preserved by default.
Bug fixes:
- Fix support for JAX's experimental_name_stack.
Breaking changes:
- In rare cases the dtype of a layer can change due to default dtype FLIP. See the "Backward compatibility" section of the proposal for more information.
Changelog
Sourced from flax's changelog.
0.5.0
- Added
flax.jax_utils.ad_shard_unpad()
by@lucasb-eyer
- Implemented default dtype FLIP. This means the default dtype is now inferred from inputs and params rather than being hard-coded to float32. This is especially useful for dealing with complex numbers because the standard Modules will no longer truncate complex numbers to their real component by default. Instead the complex dtype is preserved by default.
Bug fixes:
- Fix support for JAX's experimental_name_stack.
Breaking changes:
- In rare cases the dtype of a layer can change due to default dtype FLIP. See the "Backward compatibility" section of the proposal for more information.
0.4.2
New features:
- Add lifted conditional
nn.cond
.- Improved error messages: parameters not found, loading checkpoints.
- Replace
jax.tree_multimap
(deprecated) withjax.tree_map
.- Add the "Module Lifecycle" design note.
- Add support for JAX dynamic stack-based named_call
Bug fixes:
- Handle rate==1.0 edgecase in Dropout.
- Fix bug where Linen Module state is reused.
- Bug fixes and generalizations of nn.partitioning API.
0.4.1
New features:
- Added locally-connected (unshared CNN) layer
flax.linen.ConvLocal
.- Improved seq2seq example: Factored our model and input pipeline code.
- Added Optax update guide and deprecated
flax.optim
.- Added
sep
argument toflax.traverse_util.flatten_dict()
.- Implemented Sequential module, in
flax.linen.combinators
.0.4.0
Breaking changes:
- flax.deprecated.nn is removed. Please pin to flax==0.3.6 if you are still using it.
- PixelCNN++ example is removed. It was not working well on TPU.
- linen Normalization layers no longer downcast double and complex floats tofloat32 when computing the mean and variance.
New features:
- Added
flax.linen.custom_vjp
for custom derivatives inside aModule
.
... (truncated)
Commits
-
779b9f7
Merge pull request #2134 from jheek:version-0.5.0 -
1275c71
Version 0.5.0 -
a83d63d
Merge pull request #2058 from jheek:module-dtype -
8ad03cd
Merge pull request #2113 from cgarciae:repo-analytics -
b282adf
add a comment explaining the purpose of each query -
2f87fcf
avoid sending query as a single line -
315da77
Merge pull request #2111 from andsteing:doc -
d0822db
Replaces lastvs_p
withvariables
. -
096081e
add PR metrics -
a9af380
Merge pull request #2129 from SupreethRao99:patch-1 - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)