hydra

Hydra is a framework for elegantly configuring complex applications

MIT License

Downloads
4.1M
Stars
8.3K
Committers
120
hydra - Hydra 1.0.0rc3

Published by omry about 4 years ago

1.0.0rc3 (2020-08-17)

Features

  • Extended Override grammar supports range(),glob(),type casts,shuffle, sort and more. (#752)
  • Add support for specifying an additional config dir in the command line (#874)
  • Allow overriding of the defaults and hydra nodes in primary Structured Configs that does not mentioned defaults and hydra. (#877)

API Change (Renames, deprecations and removals)

  • ObjectConf is deprecated for TargetConf. See upgrade page. (#882)
  • All plugins updated to use TargetConf. Be sure to update all your Hydra plugins (#882)
  • Instantiated objects no longer have a params node in the conf. keys like hydra.launcher.params.foo are changed to hydra.launcher.foo. Update your configs and overrides if you were overriding such parameters. (#882)

Bug Fixes

  • Fixed parsing of two nested lists with whitespace between them: [[a], [b]] (#836)

Improved Documentation

  • New Extended command line syntax page (#752)
hydra - Hydra 1.0.0rc2

Published by omry over 4 years ago

1.0.0rc2 (2020-07-18)

Features

  • Introducing a DSL for the command line override syntax (#797)
  • Sanitize exception messages by default, showing only interesting stack frames (#646)
  • Add a new --info flag to show Hydra debug information without running the user function. (#662)
  • Add --package flag, can be used with --cfg to print a specific config package (#674)
  • Improve the Compose API initialization methods (#702)
  • Switch internal package resource loader from pkg_resources to importlb_resources (#719)
  • Allow interpolation in the Hydra config node to access the application config (#771)
  • Hydra provides pytest fixtures (hydra_sweep_runner, hydra_task_runner, hydra_restore_singletons) (#687)
  • Added contexts to help initialize Hydra in a localized context (Mostly for Unit Tests and Jupyter Notebooks) (#687)
  • Prints error when command line override looks like a sweep but --multirun is not specified (#712)
  • Frozen Structured Configs are respected during composition command line overrides (#724)

API Change (Renames, deprecations and removals)

  • Hydra argparse flags are now consistently using dash-style. (#661)
  • Restructure the configuration of the Submitit launcher (#682)
  • Deprecated cls in favor of target in hydra.utils.{instantiate()/call{}} (#721)

Bug Fixes

  • Add hydra/py.typed to pip package to enable type checking in downstream projects (#657)
  • Fix initilzation of Hydra in a module imported from a Jupyter Notebook (#695)
  • Fix handling of main module override via HYDRA_MAIN_MODULE (#717)
  • Fix interpoaltions in overrides to evaluate lazily (#725)
  • Fixed handling of multirun when target config node is introduced by composition (#726)
  • Sweepers are now validating config composition before launching (#775)
  • Save .hydra/*.yaml before task execution (#678)

Plugins

  • Add Redis Queue Launcher plugin (Jan-Matthis)
  • Upgrade ax-platform used by Ax sweeper plugin to 0.1.13 or newer

Improved Documentation

Maintenance Changes

  • Integrate yamllint (#693)
  • Upgrade to OmegaConf 2.0.1rc11 which solves multiple bugs (#755)
Package Rankings
Top 0.59% on Pypi.org
Top 3.8% on Proxy.golang.org
Top 15.69% on Spack.io
Top 7.55% on Conda-forge.org