Fix Hydra warning due to deprecation

This commit is contained in:
allegroai 2022-06-28 21:16:12 +03:00
parent 11fc238886
commit d242c14565
2 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,7 @@ from omegaconf import OmegaConf
from clearml import Task
@hydra.main(config_path="config_files", config_name="config")
@hydra.main(config_path="config_files", config_name="config", version_base=None)
def my_app(cfg):
# type (DictConfig) -> None
task = Task.init(project_name="examples", task_name="Hydra configuration")

View File

@ -1,2 +1,3 @@
clearml
hydra-core
hydra-core>=1.2.0