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
The examples plugins have something like the following in their __init__.py file:
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reservedfrom .example_searchpath_pluginimportExampleSearchPathPlugin__all__= ["ExampleSearchPathPlugin"]
This causes the plugins to be imported twice during plugin discovery, making any slowdown from slow plugin import twice as bad.
This is not necessary and is actually harmful.
This should be fixed in all plugins (official and unofficial).
For official plugins (in the Hydra repository), that __init__.py should be empty:
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
The text was updated successfully, but these errors were encountered:
The examples plugins have something like the following in their
__init__.py
file:This causes the plugins to be imported twice during plugin discovery, making any slowdown from slow plugin import twice as bad.
This is not necessary and is actually harmful.
This should be fixed in all plugins (official and unofficial).
For official plugins (in the Hydra repository), that
__init__.py
should be empty:# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
The text was updated successfully, but these errors were encountered: