Distributed Data Processing updated with Ray Data & Ray Job - #498
Open
karajendran wants to merge 27 commits into
Open
Distributed Data Processing updated with Ray Data & Ray Job#498karajendran wants to merge 27 commits into
karajendran wants to merge 27 commits into
Conversation
…images/logs-explorer-failed-downloads.png removing this file since it is not showing the error msg properly
…-tuning/images/use-log-based-metrics.png deleting old image
gushob21
reviewed
Jul 22, 2026
gushob21
left a comment
Collaborator
There was a problem hiding this comment.
Please find my high level comments. Next, I will run through the guide and provide the feedback. By the way , for later - we should move this to accelerated-platforms
Collaborator
Author
|
This PR also includes changes needed for #378 |
gushob21
reviewed
Jul 30, 2026
|
|
||
| - Verify dataset CSV file. | ||
|
|
||
| ```shell |
Collaborator
There was a problem hiding this comment.
duplicate, we have verified the dataset file two steps above
| @@ -221,10 +257,12 @@ | |||
| ``` | |||
Collaborator
There was a problem hiding this comment.
None of the queries yielded any results. However, when i went to the logs of the job from GKE console, I could see the logs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR transitions the preprocessing pipeline to use Ray Data for distributed, streaming data processing and adds support for running it as a Ray Job. It also fixes associated CI/CD failures (unit tests, coverage, and formatting).
Major Changes:
RayDataPipelineOrchestratorinray_data_pipeline.pyto manage the streaming pipeline.DataLoader,DataPrep, andRayUtils.preprocessing_finetuning.py).DataPrepForRagclass indatacleaner.pyto filter and structure pipeline inputs specifically for RAG vectorization formats.DataPreprocessorindatacleaner.pyfor parallel Ray environments, including:CI/CD Fixes:
test_dataloader.py,test_dataprep.py, andtest_ray_utils.pywhich were testing the deleted legacy helper classes.test_datacleaner.py:storage.Clientpatching insetUp/tearDownto preventDefaultCredentialsErrorin environments without active Google Cloud credentials (likeGitHub Actions runners).
DataPreprocessorlocally intest_prep_product_descto ensure thespacy.loadpatch is correctly applied.test_get_product_imageto usepd.isnafor asserting missing images, handling pandasNaNconversion correctly.@patch.objectdecorators to use the importedDataPreprocessordirectly.TestDataPrepForRagclass to test the newDataPrepForRaghelper class (includingfilter_low_value_count_rowsandprocess_rag_inputmethods).datacleaner.pyto 82% (total coverage to 89%), passing the 80% CI/CD threshold.blackto satisfy formatting checks.