Make sure we work on a copy of task objects

This commit is contained in:
allegroai 2023-08-04 19:08:09 +03:00
parent 696c349488
commit 197894735b

View File

@ -414,6 +414,7 @@ class BaseJob(object):
return None
# we need to ignore `requirements` section because ir might be changing from run to run
script = deepcopy(script)
script.pop("requirements", None)
hyper_params = deepcopy(task.get_parameters() if params_override is None else params_override)