Team! One doubt over here. Is there a way to defin...
# ray-integration
f
Team! One doubt over here. Is there a way to define resources for the ray workers being created? If I got it right, we can define the amount of replicas, but I did not get how to set the resources for those workers
Copy code
@dataclass
class WorkerNodeConfig:
    group_name: str
    replicas: int
    min_replicas: typing.Optional[int] = None
    max_replicas: typing.Optional[int] = None
    ray_start_params: typing.Optional[typing.Dict[str, str]] = None
y
one way is setting pod limits.
f
Would this apply to the head or to the workers?
y
Will apply to both. Currently, there is no easy way to set head and workers resources differently.
f
Okay, makes sense. Appreciate it 🙂