get_worker_addrs#
- SubslicePlacementGroup.get_worker_addrs() List[str | None][source]#
Returns the IP addresses of all worker hosts in this subslice.
- Returns:
A list of IP address strings (or None for unscheduled bundles) ordered by host rank (0 to num_hosts - 1).
- Raises:
RuntimeError – If this SubslicePlacementGroup has been shut down.
- Return type: