ray.util.state.common.PlacementGroupState#
- class ray.util.state.common.PlacementGroupState(placement_group_id: str, name: str, creator_job_id: str, state: Literal['PENDING', 'PREPARED', 'CREATED', 'REMOVED', 'RESCHEDULING'], bundles: List[dict] | None = None, is_detached: bool | None = None, stats: dict | None = None)[source]#
 Bases:
StateSchemaPlacementGroup State
Below columns can be used for the
--filteroption.state
placement_group_id
creator_job_id
is_detached
name
Below columns are available only when
getAPI is used,--detailis specified through CLI, ordetail=Trueis given to Python APIs.state
placement_group_id
creator_job_id
is_detached
stats
bundles
name
- state: Literal['PENDING', 'PREPARED', 'CREATED', 'REMOVED', 'RESCHEDULING']#
 The state of the placement group.
PENDING: The placement group creation is pending scheduling. It could be because there’s not enough resources, some of creation stage has failed (e.g., failed to commit placement gropus because the node is dead).
CREATED: The placement group is created.
REMOVED: The placement group is removed.
RESCHEDULING: The placement group is rescheduling because some of bundles are dead because they were on dead nodes.