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
ifnotself.is_in_toplevel_plugins_module(classname):
# All plugins must be defined inside the approved top level modules.# For plugins outside of hydra-core, the approved module is hydra_plugins.raiseRuntimeError(f"Invalid plugin '{classname}': not the hydra_plugins package")
ifclassnamenotinself.class_name_to_class.keys():
raiseRuntimeError(f"Unknown plugin class : '{classname}'")
clazz=self.class_name_to_class[classname]
plugin=instantiate(config=config, _target_=clazz)
🚀 Feature Request
Allow configurable plugins without use of
hydra_plugin
package. This is especially useful forhydra-zen
users.Motivation
I do not want to create launchers that must be installed as a package, I just want to configure my own function in my repo.
Pitch
Remove the hard runtime error here https://github.com/facebookresearch/hydra/blob/main/hydra/core/plugins.py#L102.
Suggested fix:
to
The text was updated successfully, but these errors were encountered: