mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
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:
co-authored by
Ruslan Kuprieiev
Saugat Pachhai
skshetry
parent
bfb65870a4
commit
18a9fea4af
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user