Skip to content

comparing array_record's ArrayRecordDataSource + grain data loader to huggingface. (Grain is extremely slow) #688

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

Open
ZurabDz opened this issue Jan 9, 2025 · 0 comments

Comments

@ZurabDz
Copy link

ZurabDz commented Jan 9, 2025

Hello,

I have opened up similar issue in array_record's github page, and in terms of array_record perfomance reading like dryman suggested is right. The problem is how can I use grain as a data loader and sampler, if using __getitem__ is so slow on which ArrayRecordDataSource depends on?. Any ideas what I am doing wrong?

@ZurabDz ZurabDz changed the title comparing array_record's ArrayRecordDataSource + grain data loader to huggingface. (Grain is extremely) comparing array_record's ArrayRecordDataSource + grain data loader to huggingface. (Grain is extremely slow) Jan 9, 2025
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

No branches or pull requests

1 participant