Fix ruff formatting for interleaved module - #1572
Merged
Merged
Conversation
…1517 Apply ruff format auto-fixes from pre-commit hooks to 9 files added/modified in the multimodal reader/writer PR. Signed-off-by: Vibhu Jawa <vjawa@nvidia.com> Made-with: Cursor
praateekmahajan
approved these changes
Mar 4, 2026
Contributor
Greptile SummaryThis PR applies
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Pipeline
participant WebdatasetReaderStage
participant InterleavedBatch
participant InterleavedAspectRatioFilterStage
participant InterleavedParquetWriterStage
Pipeline->>WebdatasetReaderStage: process(FileGroupTask)
WebdatasetReaderStage->>WebdatasetReaderStage: _build_source_ref(ctx, content_key)
WebdatasetReaderStage->>InterleavedBatch: build_source_ref(path, member, byte_offset, byte_size)
WebdatasetReaderStage-->>Pipeline: InterleavedBatch (rows)
Pipeline->>InterleavedAspectRatioFilterStage: process(InterleavedBatch)
InterleavedAspectRatioFilterStage-->>Pipeline: filtered InterleavedBatch
Pipeline->>InterleavedParquetWriterStage: process(InterleavedBatch)
InterleavedParquetWriterStage-->>Pipeline: written FileGroupTask
Last reviewed commit: 64b0f3c |
VibhuJawa
enabled auto-merge (squash)
March 4, 2026 21:34
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.
Summary
ruff formatauto-fixes from pre-commit hooks to 9 files introduced/modified in [REVIEW] Add multimodal reader/writer pipeline and scoped benchmarks #1517Files changed
benchmarking/scripts/multimodal_mint1t_benchmark.pynemo_curator/stages/interleaved/io/readers/webdataset.pynemo_curator/tasks/interleaved.pytests/stages/interleaved/test_interleaved_task.pytests/stages/interleaved/test_materialization.pytests/stages/interleaved/test_multimodal_core.pytests/stages/interleaved/test_multimodal_reader.pytests/stages/interleaved/test_multimodal_writer.pytutorials/multimodal/mint1t_mvp_pipeline.pyTest plan
ruff,ruff format, trailing whitespace, etc.)Made with Cursor