-
Notifications
You must be signed in to change notification settings - Fork 89
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
Cannot finish tasks in Colab because runtime crashes due to low RAM. #57
Comments
@sanchit-gandhi Can you please take a look? |
Thanks for flagging @ritog! There are a few 'tricks' we can employ to try and get this working with lower RAM (I'm fairly confident it's just a case of tweaking the Could you try reducing two parameters please?
=> using a combination of the above two should be most optimal here, so I would try batch_size=100, writer_batch_size=500, and if that doesn't work then batch_size=50, writer_batch_size=500: gtzan_encoded = gtzan.map(
preprocess_function, remove_columns=["audio", "file"], batched=True, num_proc=1, batch_size=100, writer_batch_size=500,
) |
Hey @ritog - wondering if you had any luck here? Would be interested in hearing whether you found a configuration that worked for the |
@sanchit-gandhi |
On the setting up section of this course, it says that:
But the section where the feature extractor is applied to the music database, the Colab runtime crashes saying that it crashed due to low RAM.
What could be a possible workaround?
The text was updated successfully, but these errors were encountered: