I would like some help as I am not sure if RTX 2070 Super has the compatibility to work with tensorflow yet. I have tried installing the necessary packages but it seems like when running some examples or an architecture I am working on only the CPU is being used.
I have been able to check that the architecture I am trying to train can work with RTX 2070 on 410.93 drivers and tensorflow-gpu 1.11.0 but trying to do that I get no display as I presume the 410.93 drivers are not compatible with RTX 2070 Super. By using the 430.34 driver and tensorflow-gpu 1.14 the RTX 2070 Super is not detected by either using tf.test.is_gpu_available or tf.test.gpu_device_name or running sess = tf.Session(config=tf.ConfigProto(log_device_placement=True)).
As you have noted already, the 410.xx drivers are too old to support RTX 2070 GPUs. However, newer drivers, such as 430.34, will continue to work with older CUDA applications like Tensorflow 1.11.
That said, TensorFlow not detecting the GPU at all probably points to a more general platform issue and is probably not related to the TF version. What output do you see if you run nvidia-smi? If the RTX 2070 is list there, can you try to build and run the device query CUDA sample. [url]https://github.com/NVIDIA/cuda-samples/tree/master/Samples/deviceQuery[/url].
The screen shots show that you have built the examples. Please also provide the output from executing cuda-samples/bin/x86_64/linux/release/deviceQuery.
Also, what version of cudnn and the cuda toolkit do you have installed? Since you are using the pip installed TF, I think you’ll want CUDA 10.0 and cudnn 7.4.1.
I am in the same boat as OP, I can’t get tensorflow-gpu and cuda working together, when using the 2070Super (on a fresh ubuntu 18.04 install). I tried the official tensorflow-gpu guide, manual cuda installation, via apt, via conda and some unholy amount tinkering.
On a previous GTX 1080 system it worked out of the box.
Although nvidia-smi and tensorflow detect the 2070Super, when running a model everything fails with the warning that cudnn implementation is not found (I’m using cuda 10.0 and the respective newest cuda 10.0 cudnn libraries) and I did not find one person running tensorflow-gpu and the 2070Super successfully together. The only thing I found was this thread…
how about now ? Is everything ok with 2070super?Because I am considering buy rtx2070super for tensorflow. Please tell me if you have solbed this problem,thanks very much!
UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
or jupyter kernel crashes…
Edit:
I encountered the same behavior when using the official tensorflow docker container.
In theory this approach should work with only the nvidia-driver/docker/nvidia-docker installed on the machine. So I guess there is some incompatibility, with the 430.40 driver.
I saw this website and it seems that the official tensorflow docker container works for him.
The system configuration in the website is:
Ubuntu 18.04
NVIDIA display driver 430.40 (from Graphics-Drivers ppa)
Docker 19.03.0-ce
NVIDIA-Container-Toolkit 1.0
NVIDIA NGC container registry
Container image: nvcr.io/nvidia/tensorflow:19.02-py3 for “Big LSTM” and “CNN”
(ps:I also had a rtx 2070 Super card, but I’m new to setting the environment. I will try to install tensorflow in a few days.)
Edit: Using docker and the container image above, it works for me.
Solved problem.
Just uninstall CUDA 10.1 and install CUDA 10.0 how says in TF install guide https://www.tensorflow.org/install/gpu. Add to .bashrc PATH varibales export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64
${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
REOPEN console and run jupyter notebook. All fine!
I was running into that problem when trying to train a NN on my new RTX 2070 Super. Came across a post that recommended adding the below lines to my notebook and everything ran fine.
from tensorflow.compat.v1 import ConfigProto
from tensorflow.compat.v1 import InteractiveSession
Were you guys successful with the tensorflow installation? I’ve been having a hard time installing tensorflow with RTX 2070 SUPER gpu. I am trying the installation with the following:
The last three items caused me the most grief, but trust me. The effort pays off.
I’ve got this implementation https://github.com/ibab/tensorflow-wavenet of wavenet training on Debussy solo piano repertoire at 1.3 sec/step and a breezy 62°C (for reference, my 2015 macbook chugs away on the same task over an order of magnitude slower at 40 sec/step). Needless to say I am floored. Good luck to all of you.