From 713501c611a9e07ec57e5b02f12a09a4bcfdd465 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Thu, 31 Aug 2023 00:10:21 +0300 Subject: [PATCH] Fix hydra overrides integration (issue #552) --- clearml/binding/hydra_bind.py | 1 + 1 file changed, 1 insertion(+) diff --git a/clearml/binding/hydra_bind.py b/clearml/binding/hydra_bind.py index d26b4e85..2df22ce9 100644 --- a/clearml/binding/hydra_bind.py +++ b/clearml/binding/hydra_bind.py @@ -89,6 +89,7 @@ class PatchHydra(object): if overrides and not isinstance(overrides, (list, tuple)): overrides = [overrides] overrides += ['{}={}'.format(k, v) for k, v in stored_config.items()] + overrides = ["+" + (o if o.startswith("+") and not o.startswith("++") else o) for o in overrides] else: # We take care of it inside the _patched_run_job pass