You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Issue a warning if primary config is missing _self_ and is overriding config values #1755
Hydra 1.1 changed the default composition order and it turned out more disruptive than initially expected.
To help people migrating be aware of the change, we will issue a warning if the primary config is specifying both a Defaults List and config values and the Defaults List is not specifying `self.
The warning is raised as a UserWarning using python's warnings.warn stdlib function. Here is the relevant code in Hydra. You should be able to suppress this by configuring the warnings filter.
Activity
postrational commentedon Mar 7, 2022
Is it possible to supress this warning in the meanwhile before 1.2 comes out(assuming new app, no hydra 1.0 compatibility needed)?
Jasha10 commentedon Mar 7, 2022
The warning is raised as a
UserWarningusing python'swarnings.warnstdlib function. Here is the relevant code in Hydra. You should be able to suppress this by configuring thewarnings filter.francois-rozet commentedon Sep 13, 2024
We are now at Hydra 1.3.2 and this warning has not been removed.