nemo_curator.backends.experimental.ray_actor_pool.adapter
nemo_curator.backends.experimental.ray_actor_pool.adapter
Module Contents
Classes
API
Bases: BaseStageAdapter
Adapts ProcessingStage to Ray actors for use with ActorPool.
This adapter is designed to work with Ray’s ActorPool for better resource management and load balancing.
_batch_size
Get the batch size for this stage.
Setup method for Ray actors.
Note: This method is not used in the current implementation since we use the Ray Data pattern of calling setup_on_node before actor creation.