From fa45d32394f098deb0bd775783e73eccd0166070 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Mon, 7 Nov 2022 19:09:09 +0200 Subject: [PATCH] Fix cloning pipelines ran with `start_locally()` doesn't work --- clearml/automation/controller.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clearml/automation/controller.py b/clearml/automation/controller.py index 745c15aa..b487e0e9 100644 --- a/clearml/automation/controller.py +++ b/clearml/automation/controller.py @@ -824,9 +824,9 @@ class PipelineController(object): self._default_execution_queue = self._default_execution_queue or 'mock' # serialize state only if we are running locally - self._verify() - self._serialize_pipeline_task() - self.update_execution_plot() + if Task.running_locally() or not self._task.is_main_task(): + self._verify() + self._serialize_pipeline_task() self._start(wait=True)