Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions instill/helpers/ray_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ def __init__(
# params
self.model_weight_or_folder_name: str = model_weight_or_folder_name
if use_gpu:
self._update_num_cpus(1)
self._update_num_gpus(0.25)
self._update_num_cpus(0.25)
self._update_num_gpus(0.2)
else:
self._update_num_cpus(2)
self._update_num_cpus(0.25)

def _update_num_cpus(self, num_cpus: float):
if self._deployment.ray_actor_options is not None:
Expand Down