-
Notifications
You must be signed in to change notification settings - Fork 52
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
Cached driven lazy loaders: load the data only when actually needed and keep in cache while in use #1536
Open
dafnapension
wants to merge
15
commits into
main
Choose a base branch
from
lazy_loadHF
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+192
−211
Conversation
This file contains 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
dafnapension
force-pushed
the
lazy_loadHF
branch
9 times, most recently
from
January 23, 2025 10:43
c8dbded
to
4cf6a69
Compare
dafnapension
changed the title
Procrastinater loadHF
Procrastinating loaders - load the data only when actually needs to stream through Unitxt
Jan 23, 2025
dafnapension
force-pushed
the
lazy_loadHF
branch
4 times, most recently
from
January 23, 2025 16:43
20834fa
to
78d0927
Compare
elronbandel
changed the title
Procrastinating loaders - load the data only when actually needs to stream through Unitxt
Cached driven lazy loaders: load the data only when actually needed and keep in cache while in use
Jan 26, 2025
dafnapension
force-pushed
the
lazy_loadHF
branch
3 times, most recently
from
January 26, 2025 20:40
e00617f
to
134dd22
Compare
Signed-off-by: dafnapension <[email protected]>
…ing (that is dome mocking anyhow) and not evaluating (of the mocked results). add trust_remote also to load_dataset_builder Signed-off-by: dafnapension <[email protected]>
Signed-off-by: dafnapension <[email protected]>
… increase loader cache Signed-off-by: dafnapension <[email protected]>
Signed-off-by: dafnapension <[email protected]>
Signed-off-by: dafnapension <[email protected]>
dafnapension
force-pushed
the
lazy_loadHF
branch
2 times, most recently
from
January 27, 2025 16:09
016faa4
to
a4121c7
Compare
Signed-off-by: elronbandel <[email protected]>
…oading logic Signed-off-by: elronbandel <[email protected]>
…on yielded instances Signed-off-by: elronbandel <[email protected]>
… handling Signed-off-by: elronbandel <[email protected]>
Signed-off-by: elronbandel <[email protected]>
…essary cache checks Signed-off-by: elronbandel <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
And not just in order to learn the split names therefrom (at the beginning of Benchmark, for example).
Also, avoid loading splits that are ignored altogether (like stream "test" in src/unitxt/catalog/splitters/small_no_test.json)