Skip to content

Commit

Permalink
Pin autoscaling requester (ray-project#42254)
Browse files Browse the repository at this point in the history
Pin the Ray Data autoscaling requester to the head node so that the actor cannot prevent down-scaling of an idle worker node.

Signed-off-by: Stephanie Wang <[email protected]>
  • Loading branch information
stephanie-wang committed Jan 11, 2024
1 parent cf7e4c0 commit 52e71fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/ray/data/_internal/execution/autoscaling_requester.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@ def get_or_create_autoscaling_requester_actor():
# point to the head node.
scheduling_strategy = NodeAffinitySchedulingStrategy(
ray.get_runtime_context().get_node_id(),
soft=True,
_spill_on_unavailable=True,
soft=False,
)
with _autoscaling_requester_lock:
return AutoscalingRequester.options(
Expand Down

0 comments on commit 52e71fb

Please sign in to comment.