Skip to content

Move ray data out of experimental folder - #1619

Merged
sarahyurick merged 6 commits into
NVIDIA-NeMo:mainfrom
oyilmaz-nvidia:onur/move-ray-data-out-exp
Mar 19, 2026
Merged

Move ray data out of experimental folder#1619
sarahyurick merged 6 commits into
NVIDIA-NeMo:mainfrom
oyilmaz-nvidia:onur/move-ray-data-out-exp

Conversation

@oyilmaz-nvidia

Copy link
Copy Markdown
Contributor

Description

This PR moves the ray data executor out of the experimental folder.

Usage

# Add snippet demonstrating usage

Checklist

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

Signed-off-by: Onur Yilmaz <oyilmaz@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Mar 18, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Signed-off-by: Onur Yilmaz <oyilmaz@nvidia.com>
@oyilmaz-nvidia

Copy link
Copy Markdown
Contributor Author

/ok to test acf301e

Comment on lines 41 to 43

def __init__(self, config: dict[str, Any] | None = None, ignore_head_node: bool = False):
super().__init__(config, ignore_head_node)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 No backward-compatibility shim for the old import path

The nemo_curator.backends.experimental.ray_data module is completely removed without a deprecation redirect. Any downstream code that depended on the old import path — including anything not covered by this PR — will immediately receive an ImportError with no migration guidance.

While the experimental label signals that breaking changes are expected, providing a thin shim in the old location is still considered good practice:

# nemo_curator/backends/experimental/ray_data/__init__.py  (re-created as a shim)
import warnings
warnings.warn(
    "nemo_curator.backends.experimental.ray_data is deprecated. "
    "Use nemo_curator.backends.ray_data instead.",
    DeprecationWarning,
    stacklevel=2,
)
from nemo_curator.backends.ray_data import RayDataExecutor  # noqa: F401, E402

__all__ = ["RayDataExecutor"]

This allows existing users to get a clear deprecation warning rather than a hard crash.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Signed-off-by: Onur Yilmaz <oyilmaz@nvidia.com>
@oyilmaz-nvidia

Copy link
Copy Markdown
Contributor Author

/ok to test 2dcc3e8

@oyilmaz-nvidia

Copy link
Copy Markdown
Contributor Author

@ayushdg Benchmarks also running without any issue. Can you please approve this? I guess we need one of the maintainers approval to merge.

@sarahyurick

Copy link
Copy Markdown
Contributor

@ayushdg Benchmarks also running without any issue. Can you please approve this? I guess we need one of the maintainers approval to merge.

@oyilmaz-nvidia I have write access. PRs need to be up to date with main to merge.

@sarahyurick

Copy link
Copy Markdown
Contributor

/ok to test 204d261

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.

2 participants