Skip to content

Commit

Permalink
Set hydra version to 1.3 in tests (#542)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleve authored Feb 25, 2023
1 parent 82f31b9 commit 81fafde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

@pytest.fixture(scope="package")
def cfg_train_global() -> DictConfig:
with initialize(version_base="1.2", config_path="../configs"):
with initialize(version_base="1.3", config_path="../configs"):
cfg = compose(config_name="train.yaml", return_hydra_config=True, overrides=[])

# set defaults for all tests
Expand All @@ -32,7 +32,7 @@ def cfg_train_global() -> DictConfig:

@pytest.fixture(scope="package")
def cfg_eval_global() -> DictConfig:
with initialize(version_base="1.2", config_path="../configs"):
with initialize(version_base="1.3", config_path="../configs"):
cfg = compose(config_name="eval.yaml", return_hydra_config=True, overrides=["ckpt_path=."])

# set defaults for all tests
Expand Down

0 comments on commit 81fafde

Please sign in to comment.