mirror of
https://github.com/clearml/clearml
synced 2025-02-01 01:26:49 +00:00
Fix DEBUG_SIMULATE_REMOTE_TASK devworker
This commit is contained in:
parent
0ade8b0717
commit
371405cad9
@ -2932,7 +2932,8 @@ class Task(_Task):
|
||||
kill_ourselves.terminate()
|
||||
|
||||
def _dev_mode_setup_worker(self):
|
||||
if running_remotely() or not self.is_main_task() or self._at_exit_called or self._offline_mode:
|
||||
if (running_remotely() and not DEBUG_SIMULATE_REMOTE_TASK.get()) \
|
||||
or not self.is_main_task() or self._at_exit_called or self._offline_mode:
|
||||
return
|
||||
|
||||
if self._dev_worker:
|
||||
|
Loading…
Reference in New Issue
Block a user