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
tensorflow==1.15.2 package on PyPI cannot find GPU devices #36476
Comments
Just found the same issue. |
Using the gist you linked, if I restart the runtime and run all steps, I get no GPUs detected.
I don't know a lot about Colab, so I'm not sure why that would be. When testing locally using I still have a suspicion that tensorflow==1.15.2 was not built with GPU support though. Taking a look at the wheel file sizes seem suspect to me:
If we compare file sizes between tensorflow==1.15.0 and tensorflow-gpu==1.15.0, they're very similar. However, you can see that tensorflow==1.15.2 is significantly smaller than tensorflow-gpu==1.15.2. This is admittedly unscientific, but does suggest to me that something is going on. |
@velovix, On colab we need to change the runtime type as GPU before using Tensorflow-gpu 1.15. |
Duplicate of #36347 Since 1.15 single package was done via a quick workaround, we were not able to replicate it for the patch release and we reverted to dual pips. Please see duplicate issue for more details. |
Thank you @mihaimaruseac for the pointer! We'll just use tensorflow-gpu instead going forward. Would it be reasonable to add this to the patch notes for the 1.15.2 release on Github? That's where I looked for breaking changes and didn't see anything about this. |
That makes sense. I have edited the release notes. |
I updated tensorflow to the latest version because we could not detect a GPU. See this post for more information. tensorflow/tensorflow#36476
System information
Describe the problem
When using the tensorflow package at version 1.15.2, Tensorflow does not find my GPU. The tensorflow-gpu package works, but I was under the impression that from 1.15.0 onward, the tensorflow package would be capable of running with or without a GPU.
Looking at PyPI, I notice there isn't a tensorflow-cpu package released for 1.15.2. Has the project switched back to using the old model where only tensorflow-gpu has GPU support?
Provide the exact sequence of commands / steps that you executed before running into the problem
pip3 install tensorflow==1.15.2
Any other info / logs
I've been testing this in a Docker container that uses Nvidia's Cuda images. I have nvidia-docker2 installed and can confirm that the tensorflow 1.15.0 package is capable of finding the GPU device.
I get the following logs as a result:
The text was updated successfully, but these errors were encountered: