hydra: support plugins (#10240)

* hydra: support plugins

* Update dvc/utils/hydra.py

* fix tests

* load plugins after some checks run

---------

Co-authored-by: Ruslan Kuprieiev <[email protected]>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected]>
Co-authored-by: skshetry <[email protected]>
This commit is contained in:
Dave Berenbaum
2024-01-23 19:58:14 +05:45
committed by GitHub
co-authored by Ruslan Kuprieiev Saugat Pachhai skshetry
parent bfb65870a4
commit 18a9fea4af
4 changed files with 54 additions and 4 deletions
+4
View File
@@ -486,11 +486,15 @@ class BaseStashQueue(ABC):
else:
config_dir = None
config_name = hydra_config.get("config_name", "config")
plugins_path = os.path.join(
self.repo.root_dir, hydra_config.get("plugins_path", "")
)
compose_and_dump(
path,
config_dir,
config_module,
config_name,
plugins_path,
overrides,
)
else: