-
Notifications
You must be signed in to change notification settings - Fork 67
[WIP] : Fix resume issues with combined streaming dataset in dataloader #362
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
Closed
bhimrazy
wants to merge
40
commits into
Lightning-AI:main
from
bhimrazy:fix/combined-dataset-loading-states
Closed
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
0ba50c5
chore: Add tests for CombinedStreamingDataset in test_dataloader.py
bhimrazy 3756b9e
Merge branch 'main' into fix/combined-dataset-loading-states
bhimrazy f8ed272
Adds resuming for dataloading states for combined dataset case with w…
bhimrazy 8c53791
update
bhimrazy e193eb9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 837efde
update
bhimrazy 242a13c
Refactor dataloader to fix num_samples_yieled calculation
bhimrazy dff88ca
Adds more tests
bhimrazy bc137a3
removes the subtraction in the epoch
bhimrazy e38592a
update initialize part
bhimrazy e095407
updated epoch numbers
bhimrazy 97510e2
format imports
bhimrazy 5c6925d
reverted current epoch
bhimrazy 8502bb1
removed combined data test and moved to `test_combined.py`
bhimrazy 5cda0c6
reverted epcoh and also moved the test combined dataset
bhimrazy 8cdafeb
Merge branch 'main' into fix/combined-dataset-loading-states
bhimrazy 560032c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f099242
revert epoch
bhimrazy dc484a0
updated current epoch
bhimrazy 53b360c
fix epoch number
bhimrazy 0c7cf3e
updated params
bhimrazy 8010d33
Update current_epoch in test_dataloader.py
bhimrazy 7355532
Update num_workers in test_combined.py
bhimrazy d40e3ca
updated the conditions
bhimrazy be77b58
updated tests: added case for the complete last iteration
bhimrazy 86ccd99
Refactor test_combined.py to fix restore state issue
bhimrazy 206b574
Merge branch 'main' into fix/combined-dataset-loading-states
bhimrazy 5927331
fix: separated test cases for compelete and partial last epoch.
bhimrazy da10c3f
Merge branch 'fix/combined-dataset-loading-states' of github.com:bhim…
bhimrazy 17de9e7
fix type errors
bhimrazy a05e6f1
Refactor test_combined.py: Remove print statement
bhimrazy 3762b11
Merge branch 'main' into fix/combined-dataset-loading-states
bhimrazy d506972
Merge branch 'main' into fix/combined-dataset-loading-states
bhimrazy 868aa42
Adds conftest for combined dtaatset to reuse
bhimrazy 357c29c
Simplified testes with parameterize to test for different conditions
bhimrazy ec3b840
update test
bhimrazy 0ee0617
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 424bc64
Merge branch 'main' into fix/combined-dataset-loading-states
bhimrazy 398a654
Merge branch 'main' into fix/combined-dataset-loading-states
bhimrazy f34e863
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.