hydra-zen v0.9.0 released! #2527
rsokl
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I am excited to announce the release of hydra-zen v0.9.01. This release helps to remove Hydra-specific boilerplate code from your Hydra application.
Auto extract/resolve/instantiate fields from a config with the
zen
wrapperUse the zen wrapper to write Hydra-agnostic task functions for your app:
E.g., take this old task function:
and use
zen
to get rid of that Hydra-specific code:Use ZenStore for a safe, isolated abstraction over Hydra's global config store
ZenStore is an abstraction over Hydra’s config store. It enables users to maintain multiple, isolated store instances before populating Hydra’s global config store. It also protects users from accidentally overwriting entries in Hydra’s global store. ZenStore possesses auto-config capabilities: it will automatically apply builds() and just() in intuitive ways on inputs to generate the stored configs.
Using
hydra_zen.store
auto-generate and store configsThe store can also be populated using a decorator pattern. E.g.,
Please read more about this, and the other improvements in 0.9.0. here:
Links:
Release notes: https://mit-ll-responsible-ai.github.io/hydra-zen/changes.html#v0-9-0
Docs: https://mit-ll-responsible-ai.github.io/hydra-zen/
GitHub: https://github.com/mit-ll-responsible-ai/hydra-zen
Footnotes
What is hydra-zen? It is a library that makes it easier – less boilerplate and more Pythonic – to use Hydra! ↩
Beta Was this translation helpful? Give feedback.
All reactions