ray.util.placement_group.PlacementGroup.wait#

PlacementGroup.wait(timeout_seconds: float | int = 30) bool[source]#

Wait for the placement group to be ready within the specified time.

Parameters:

timeout_seconds – Timeout in seconds.

Returns:

True if the placement group is created. False otherwise.