Skip to content

Add supporting max_calls to the ray data executor#1534

Open
ayushdg wants to merge 12 commits intoNVIDIA-NeMo:mainfrom
ayushdg:max_calls_raydata_task
Open

Add supporting max_calls to the ray data executor#1534
ayushdg wants to merge 12 commits intoNVIDIA-NeMo:mainfrom
ayushdg:max_calls_raydata_task

Conversation

@ayushdg
Copy link
Contributor

@ayushdg ayushdg commented Feb 20, 2026

Description

This PR
Fixes #1533

  • Adds support for stages to set max_calls that are propagated if it's a task based stage (not actor based).
  • Exposes it for the iterate extract stage so that we can override it for justext extraction. Currently exposed as a constructor arg but open to cleaner ideas. Discussed a bit in Explore making stage_spec overridable during stage creation #1532.
  • Adds tests including some tests that ensure tasks with max_calls are not fused with other tasks and lose this information.

Usage

# Add snippet demonstrating usage

Checklist

  • I am familiar with the Contributing Guide.
  • New or Existing tests cover these changes.
  • [N/A ] The documentation is up to date with these changes.

Signed-off-by: Ayush Dattagupta <ayushdg95@gmail.com>
…aydata_task

Signed-off-by: Ayush Dattagupta <ayushdg95@gmail.com>
Signed-off-by: Ayush Dattagupta <ayushdg95@gmail.com>
@copy-pr-bot
Copy link

copy-pr-bot bot commented Feb 20, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@ayushdg
Copy link
Contributor Author

ayushdg commented Feb 24, 2026

/ok to test d7cf34d

Copy link
Contributor

@sarahyurick sarahyurick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Justext extraction runs into OOM issues due to memory fragmentation or leaks

2 participants