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

Reduce memory requirement while precessing the data #26

Open
hsajjad opened this issue Nov 1, 2017 · 0 comments
Open

Reduce memory requirement while precessing the data #26

hsajjad opened this issue Nov 1, 2017 · 0 comments

Comments

@hsajjad
Copy link

hsajjad commented Nov 1, 2017

Hi, is there any easy way to fix the memory hungry step during the pre-processing of the data? I guess this command is the culprit.
output_chars[split] = torch.ones(split_counts[split], max_word_l):long()

I have 40M sentences of data and it requires more than 200GB of RAM

Cheers - Hassan

@hsajjad hsajjad changed the title Anyway to reduce memory requirement while precessing the data Reduce memory requirement while precessing the data Nov 1, 2017
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