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

out of memory #82

Open
Fengwills opened this issue Dec 27, 2021 · 1 comment
Open

out of memory #82

Fengwills opened this issue Dec 27, 2021 · 1 comment

Comments

@Fengwills
Copy link

XNLI
I use all translation data of xnli, examples = 5890530,Distributed Data Parallel,encountered a memory leak problem
out of memory of raw,Memory usage reaches 300g

some lib version:
seqeval
tensorboardx
tokenizer
sacremoses
pythainlp
jieba
torch==1.4.0

@sebastianruder
Copy link
Collaborator

Hi, did you try with smaller batch sizes and using subsets of the translation data? At what point does the memory leak occur?

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

2 participants