For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
DocumentationAPI Reference
DocumentationAPI Reference
  • API Reference
    • Overview
        • Nemo Curator
          • Backends
            • Base
            • Internal
            • Ray Actor Pool
            • Ray Data
              • Adapter
              • Executor
              • Utils
            • Utils
            • Xenna
          • Config
          • Core
          • Metrics
          • Models
          • Package Info
          • Pipeline
          • Stages
          • Tasks
          • Utils
    • Pipeline
    • ProcessingStage
    • CompositeStage
    • Resources
NVIDIANVIDIA
Developer-friendly docs for your API
Privacy Policy | Your Privacy Choices | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact

Copyright © 2026, NVIDIA Corporation.

LogoLogoNeMo Curator
On this page
  • Module Contents
  • Functions
  • API
API ReferenceFull Library ReferenceNemo CuratorNemo CuratorBackendsRay Data

nemo_curator.backends.ray_data.utils

||View as Markdown|
Previous

nemo_curator.backends.ray_data.executor

Next

nemo_curator.backends.utils

Module Contents

Functions

NameDescription
calculate_concurrency_for_actors_for_stageCalculate concurrency if we want to spin up actors based on available resources and stage requirements.
is_actor_stageCheck if the stage is an actor stage.

API

nemo_curator.backends.ray_data.utils.calculate_concurrency_for_actors_for_stage(
stage: nemo_curator.stages.base.ProcessingStage,
ignore_head_node: bool = False
) -> tuple[int, int] | int

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

nemo_curator.backends.ray_data.utils.is_actor_stage(
stage: nemo_curator.stages.base.ProcessingStage
) -> bool

Check if the stage is an actor stage.