Skip to content
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

lightning: turn off shuffling for validation dataset #2974

Merged
merged 1 commit into from Jun 11, 2021

Conversation

chongxiaoc
Copy link
Collaborator

Checklist before submitting

  • Did you read the contributor guide?
  • Did you update the docs?
  • Did you write any tests to validate this change?
  • Did you update the CHANGELOG, if this change affects users?

Description

Fixes # (issue).

Review process to land

  1. All tests and other checks must succeed.
  2. At least one member of the technical steering committee must review and approve.
  3. If any member of the technical steering committee requests changes, they must be addressed.

@github-actions
Copy link

github-actions bot commented Jun 11, 2021

Unit Test Results

     779 files  ±0       779 suites  ±0   6h 2m 34s ⏱️ ±0s
     601 tests ±0       566 ✔️ ±0       35 💤 ±0  0 ❌ ±0 
16 194 runs  ±0  12 200 ✔️ ±0  3 994 💤 ±0  0 ❌ ±0 

Results for commit d4e1341. ± Comparison against base commit d4e1341.

♻️ This comment has been updated with latest results.

@@ -222,7 +222,8 @@ def on_sanity_check_end(self, trainer, model):
def _set_data_loader_fn(transformation, schema_fields, batch_size, calculate_shuffle_buffer_size, data_loader_cls, num_epochs, store, verbose=False):

@contextlib.contextmanager
def set_data_loader(model, data_path, dataloader_attr, reader_worker_count, reader_pool_type, should_read=True, name="", limit_step_per_epoch=-1):
def set_data_loader(model, data_path, dataloader_attr, reader_worker_count, reader_pool_type,
should_read=True, name="", limit_step_per_epoch=-1, is_val=False):
Copy link
Collaborator

Choose a reason for hiding this comment

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

You can just move the shuffling_queue_capacity here instead of is_val.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yep, sounds good

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

resolved.

Signed-off-by: Chongxiao Cao <chongxiaoc@uber.com>
@chongxiaoc chongxiaoc merged commit d4e1341 into horovod:master Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants