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
Train on Colab GPU #141
Comments
Hi @spectorp - in order to receive help from others, I recommend to complete the issue template. Thanks |
Hi @AntonMu , thanks for the quick reply and sorry for not following the issue template. Here's the issue: Have you followed the instructions exactly (word by word)? YesHave you checked the troubleshooting section? YesSystem information
Set the runtime (Runtime > Change runtime type > select GPU) Describe the problemDespite setting Colab to use a GPU, the code runs on a CPU. Each epoch takes 2-3 minutes to run, and eventually Colab will issue a popup message at the bottom of the window saying: "You are connected to a GPU runtime, but not utilizing the GPU." Any help on this would be appreciated! Source code / logsLet me know if there would be any useful logs for me to provide. |
Hi - it looks like your cuda version and tensorflow version are both wrong. Check this out for compatibility https://www.tensorflow.org/install/source |
Thanks @AntonMu . It works great! |
@spectorp good to hear! If you don't mind, it would be great if you could share the code - either link it here or I can also add it somewhere in the Readme. I will credit you for your work. Colab is a good option for many people that want to try out this repo. |
Hi @AntonMu , I'm new to Colab, and what I've learned is that it doesn't always reliably install the correct version of a package. For example, I recently needed an older version of numpy, and despite running
However, if it doesn't, I would double check the package versions. For me, running Also, it's good to know that it's really easy to link a google drive account via: |
Hi, @spectorp |
Hi @bushra-hafeez , sorry for the slow reply. You may have figured this out already, but I just linked my Google Drive and transferred the necessary files to Colab. Does that help? |
Hello, I'm interested in training on a Google Colab GPU. Getting the code running on Colab is pretty straightforward, but it doesn't actually run on the GPU and is therefore quite slow. I'm not sure how to change this; could you point me in the right direction? Many thanks.
The text was updated successfully, but these errors were encountered: