-
Notifications
You must be signed in to change notification settings - Fork 79
fix: optimize with StreamingDataloader(parquet data) for >=5 workers #616
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
fix: optimize with StreamingDataloader(parquet data) for >=5 workers #616
Conversation
…th operation and prevent runtime error
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #616 +/- ##
===================================
Coverage 83% 83%
===================================
Files 49 49
Lines 6750 6756 +6
===================================
+ Hits 5604 5636 +32
+ Misses 1146 1120 -26 🚀 New features to boost your workflow:
|
Nice, will you also add a fix for it? |
Yes, @Borda — I’m still investigating the root cause. So far, I haven’t found a reliable fix. |
…ing dataloader test
…data - Updated test to ensure correct processing of items with multiple workers. - Improved question and answer generation for clarity. - Added assertions to verify dataloader length and sample record structure.
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice !


What does this PR do?
Fixes #599
Also resolves #482
Fixes data loss when using
optimize()withStreamingDataLoaderon parquet data with 5+ workers.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 🙃