mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-12 07:18:23 +01:00
fix hydra_sweeps referenced before assignment
This commit is contained in:
committed by
David de la Iglesia Castro
parent
69f78d3bb6
commit
240f0ebdc3
@@ -32,6 +32,7 @@ def run(
|
||||
entries = list(repo.experiments.celery_queue.iter_queued())
|
||||
return repo.experiments.reproduce_celery(entries, jobs=jobs)
|
||||
|
||||
hydra_sweep = None
|
||||
if params:
|
||||
from dvc.utils.hydra import to_hydra_overrides
|
||||
|
||||
|
||||
@@ -110,6 +110,11 @@ def test_hydra_compose_and_dump(
|
||||
["foo=bar,baz"],
|
||||
[{"params.yaml": ["foo=bar"]}, {"params.yaml": ["foo=baz"]}],
|
||||
),
|
||||
(
|
||||
False,
|
||||
[],
|
||||
[{}],
|
||||
),
|
||||
],
|
||||
)
|
||||
def test_hydra_sweep(
|
||||
|
||||
Reference in New Issue
Block a user