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

Running out of memory #4

Open
connormeaton opened this issue Aug 2, 2021 · 2 comments
Open

Running out of memory #4

connormeaton opened this issue Aug 2, 2021 · 2 comments

Comments

@connormeaton
Copy link

Thanks for providing your great code. I have ran the wav2vec emotion classification of greek audio and it works great. However, I keep running into memory errors when changing the dataset.

I am trying to do emotion classification on the IEMOCAP dataset (https://sail.usc.edu/iemocap/), but it breaks due to running out of memory. I am changing nothing in your code except for the dataset (which fits into your pipeline well).

I made an SO post describing my issues. Do you have any ideas? I am trying to run a p2.8xlarge instance with 100 GiB mounted, so I can't imagine I don't have enough compute.

SO post: https://stackoverflow.com/questions/68624392/running-out-of-memory-with-pytorch

Thanks!

@Jeiyoon
Copy link

Jeiyoon commented Mar 28, 2022

I've encountered same issue even though I have 8 gpus, with 11178MiB per gpu

RuntimeError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 10.92 GiB total capacity; 10.11 GiB already allocated; 7.38 MiB free; 10.12 GiB reserved in total by PyTorch)

@vipen07
Copy link

vipen07 commented Jun 10, 2023

I am also facing same issue , I have 4 gpus with same free available memory

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