Skip to content

Refactor input pipeline with synthetic data iterator #1845

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

NuojCheng
Copy link
Collaborator

@NuojCheng NuojCheng commented Jun 18, 2025

Description

TL;DR

Re-organize input_pipeline_interphase.py for better readability

Following changes are made:

  • Synthetic data iterator and placeholder synthetic data iterator are moved to a separate file
  • BadSyntheticDataIterator is renamed to PlaceHolderDataIterator
  • The if-else commands in the end are re-organized

FIXES: b/421596013

Tests

Please describe how you tested this change, and include any instructions and/or
commands to reproduce.

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed.

@NuojCheng NuojCheng changed the title Chengnuojin/input pipeline Refactor input pipeline with synthetic data iterator Jun 19, 2025
@NuojCheng NuojCheng force-pushed the chengnuojin/input_pipeline branch 2 times, most recently from 656cdde to b9ed1a4 Compare June 19, 2025 01:43
@NuojCheng NuojCheng force-pushed the chengnuojin/input_pipeline branch from b9ed1a4 to c44e426 Compare June 20, 2025 17:02
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.

1 participant