Ark-kun commited on
Commit
590646e
·
1 Parent(s): 2606287

feat: Made orchestration 5x faster

Browse files
huggingface_overlay/start_HuggingFace_multi_tenant.py CHANGED
@@ -182,7 +182,7 @@ tenants_database_path_obj.parent.mkdir(parents=True, exist_ok=True)
182
 
183
  # region: Orchestrator configuration
184
  default_task_annotations: dict[str, str] = {}
185
- sleep_seconds_between_queue_sweeps: float = 5.0
186
  # endregion
187
 
188
  # region: Authentication configuration
 
182
 
183
  # region: Orchestrator configuration
184
  default_task_annotations: dict[str, str] = {}
185
+ sleep_seconds_between_queue_sweeps: float = 1.0
186
  # endregion
187
 
188
  # region: Authentication configuration
huggingface_overlay/start_HuggingFace_single_tenant.py CHANGED
@@ -388,7 +388,7 @@ launcher = huggingface_launchers.HuggingFaceJobsContainerLauncher(
388
 
389
  # region: Orchestrator configuration
390
  default_task_annotations = {}
391
- sleep_seconds_between_queue_sweeps: float = 5.0
392
  # endregion
393
 
394
 
 
388
 
389
  # region: Orchestrator configuration
390
  default_task_annotations = {}
391
+ sleep_seconds_between_queue_sweeps: float = 1.0
392
  # endregion
393
 
394