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

Fix insane memory usage when loading datasets #165

Open
daemon opened this issue Nov 26, 2018 · 2 comments
Open

Fix insane memory usage when loading datasets #165

daemon opened this issue Nov 26, 2018 · 2 comments
Assignees

Comments

@daemon
Copy link
Member

daemon commented Nov 26, 2018

@achyudhk reports that CharCNN on some dataset uses 63GB of RAM (Hydra and Dragon both have 64GB). I think a solution would be some mechanism for moving data between disk and RAM when needed?

@achyudh
Copy link
Member

achyudh commented Nov 26, 2018

For now this is something specific to CharCNN due to the large size of the character quantized matrices. But in general I feel it's better to have a streaming approach to loading the dataset from disk and preprocessing it rather than caching all of it in memory.

@Ashutosh-Adhikari
Copy link
Member

Ashutosh-Adhikari commented Nov 26, 2018

@achyudhk , I think after 10th Dec, we can fix this issue, given that we have been using the repo for quite a while now. SG? @daemon , can you assign us to the issue? Coz even HAN was facing a similar issue but not as alarming as CharCNN perhaps.

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

3 participants