nemo_curator.backends.ray_data.utils
Module Contents
Functions
API
Calculate concurrency if we want to spin up actors based on available resources and stage requirements.
Returns: tuple[int, int] | int
int | tuple[int, int]: Number of actors to use int: Number of workers to use tuple[int, int]: tuple of min / max actors to use and number of workers to use
Check if the stage is an actor stage.