Exemple #1
0
 def _notify_stop(self):
     self._redis_cache.delete_worker(self._worker_id)
     superadmin_client().send_event('inference_job_worker_stopped',
                                    inference_job_id=self._inference_job_id)
Exemple #2
0
 def _notify_start(self):
     superadmin_client().send_event('predictor_started', inference_job_id=self._inference_job_id)
Exemple #3
0
 def _notify_start(self):
     superadmin_client().send_event('inference_job_worker_started',
                                    inference_job_id=self._inference_job_id)
     self._redis_cache.add_worker(self._worker_id)
Exemple #4
0
 def _notify_start(self):
     superadmin_client().send_event('train_job_worker_started', sub_train_job_id=self._monitor.sub_train_job_id)
     self._train_cache.add_worker(self._worker_id)
Exemple #5
0
 def _notify_stop(self):
     self._train_cache.delete_worker(self._worker_id)
     superadmin_client().send_event('train_job_worker_stopped', sub_train_job_id=self._monitor.sub_train_job_id)
Exemple #6
0
 def _notify_start(self):
     superadmin_client().send_event('sub_train_job_advisor_started', sub_train_job_id=self._monitor.sub_train_job_id)
Exemple #7
0
 def _notify_budget_reached(self):
     superadmin_client().send_event('sub_train_job_budget_reached', sub_train_job_id=self._monitor.sub_train_job_id)