mirror of
https://github.com/clearml/clearml
synced 2025-03-03 18:52:12 +00:00
Fix set_base_docker should be skipped when running remotely
This commit is contained in:
parent
0eb1bb4492
commit
5d20a0fa98
@ -1006,7 +1006,11 @@ class Task(IdObjectBase, AccessMixin, SetupUploadMixin):
|
|||||||
Set the base docker image for this experiment
|
Set the base docker image for this experiment
|
||||||
If provided, this value will be used by trains-agent to execute this experiment
|
If provided, this value will be used by trains-agent to execute this experiment
|
||||||
inside the provided docker image.
|
inside the provided docker image.
|
||||||
|
When running remotely the call is ignored
|
||||||
"""
|
"""
|
||||||
|
if not self.running_locally():
|
||||||
|
return
|
||||||
|
|
||||||
with self._edit_lock:
|
with self._edit_lock:
|
||||||
self.reload()
|
self.reload()
|
||||||
execution = self.data.execution
|
execution = self.data.execution
|
||||||
|
Loading…
Reference in New Issue
Block a user