Skip to content
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 #1

Closed
wants to merge 1 commit into from
Closed

Streaming datasets V2 #1

wants to merge 1 commit into from

Conversation

knighton
Copy link
Contributor

  • 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, C4
  • TODO: plug in the other formats, abstracting Dataset class from MDS

@knighton
Copy link
Contributor Author

knighton commented Aug 5, 2022

Superseded by #2

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.

1 participant