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
OSError: [Errno 12] Cannot allocate memory #12
Comments
I'm also getting OOM errors when running it on colab |
Same, with 2080Ti (11GB). Made sure to select the GPU that isn't being used for the GUI.
|
For low GPU memory environments, try passing a lower max_batch_size / n_samples to sample.py, or the 1b_lyrics model instead of the 5b_lyrics. |
The swap I'm not sure hmm it looks like it fails to download the model. You'll need 2Gb each for upsamplers and 1B_lyric model, and 11Gb for 5b_lyric model. Maybe try changing the path it downloads to? In gcs_utils.py, we currently download to |
@prafullasd thank you for the response, seems like my swap is fine, the problem is low GPU memory, changing the model to 1b_lyrics worked fine, seems like I need to find some balance between n_samples and model size. Cheers! |
Hi, this looks awesome btw!
I tried running the
sample.py
command with my own song, but received the following error:I did some googling, and this seems like a swap space issue? I checked and confirmed I had free swap space:
Is 194M not enough? Is there a minimum requirement for swap space that I'm not meeting or is this memory error caused by something else?
The text was updated successfully, but these errors were encountered: