Skip to content

Conversation

@senarvi
Copy link

@senarvi senarvi commented Aug 7, 2024

Test data loader length also when num_workers=0. See #311 .

What does this PR do?

Fixes #310 .

PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in GitHub issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃

@codecov
Copy link

codecov bot commented Aug 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@428752d). Learn more about missing BASE report.

Additional details and impacted files
@@          Coverage Diff          @@
##             main   #314   +/-   ##
=====================================
  Coverage        ?    78%           
=====================================
  Files           ?     34           
  Lines           ?   4963           
  Branches        ?      0           
=====================================
  Hits            ?   3865           
  Misses          ?   1098           
  Partials        ?      0           

@senarvi senarvi marked this pull request as ready for review August 7, 2024 07:46
@tchaton tchaton merged commit 34bb54d into Lightning-AI:main Aug 7, 2024
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.

StreamingDataLoader sets num_workers to zero, which causes the dataset length to be reported incorrectly

2 participants