Method
__init__
(self,
process_on_nodes: List[int] = None,
use_gpu: bool = True,
name_prefix: str = "",
max_colocate_count: int = 5,
detached=False)
Source from the content-addressed store, hash-verified
| 69 | class RayResourcePool(ResourcePool): |
| 70 | |
| 71 | def __init__(self, |
| 72 | process_on_nodes: List[int] = None, |
| 73 | use_gpu: bool = True, |
| 74 | name_prefix: str = "", |
| 75 | max_colocate_count: int = 5, |
| 76 | detached=False) -> None: |
| 77 | super().__init__(process_on_nodes, max_colocate_count) |
| 78 | self.use_gpu = use_gpu |
| 79 | # print(f"in RayProcessDispatchConfiguration: name_prefix = {name_prefix}") |
| 80 | self.name_prefix = name_prefix |
| 81 | self.pgs = None |
| 82 | self.detached = detached |
| 83 | |
| 84 | def get_placement_groups(self, strategy="STRICT_PACK", name=None): |
| 85 | if self.pgs is not None: |
Callers
nothing calls this directly
Tested by
no test coverage detected