Hydra 1.0 introduced the package header and required everyone to specify it in their configs. This was done to facilitate a transition from a model where the packages are global to a model to a model where - by default - package are derived from the config group.
e.g: Change of the default package for
Hydra 1.1 completes this transition.
- If a package header is not specified, the config will have the default package as described above.
- _group_ and _name_ in package header are deprecated (You can still use a literal package header).
Another important change in Hydra 1.1 is the Changes to default composition order.
If your header is
# @package _group_, remove the header.
If your header is using
_name_ to specify a package other than the default package,
Specify the literal package:
If your configs should be compatible with both Hydra 1.0 and Hydra 1.1, use literal package headers.