-
Notifications
You must be signed in to change notification settings - Fork 137
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
Streaming datasets V2 #2
Conversation
Before merging, could you setup:
This would at minimum auto-format your code into your yahp standard to reduce diff noise / conflicts in the future. |
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.
Didn't review for correctness, but some suggestions from API perspective.
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.
yolo
Formats: MDS, JSON, XSV (CSV, TSV)
Sample sizes moved to shards
V2 small JSON index format (faster startup time at scale)
Sample fields now have types instead of having to manually provide decoders
Prefetch factor
Fast process pool Dataset.download()
Dataset supports random access of samples, lazily loading their shards
Offsets live on disk instead of memory for scalability (two seeks instead of one for sample access)
Various compression algorithms
Various hash/checksum algorithms on shards (TODO: on index)
Datasets: CIFAR10, ImageNet (TODO: more)