Check failed: status == CUDNN_STATUS_SUCCESS (7 vs. 0) Failed to set cuDNN stream.

Hello,

I installed Anaconda with this How to Install TensorFlow with GPU Support on Windows 10 (Without Installing CUDA) UPDATED!

On my Win10 Pro - RTX 2070 computer.

When I execute Keras exemple, I have this issue:

2019-07-16 17:15:47.761198: E tensorflow/stream_executor/cuda/cuda_driver.cc:981] failed to synchronize the stop event: CUDA_ERROR_ILLEGAL_INSTRUCTION: an illegal instruction was encountered
2019-07-16 17:15:47.768278: E tensorflow/stream_executor/cuda/cuda_timer.cc:55] Internal: error destroying CUDA event in context 000001D46CD2E8C0: CUDA_ERROR_ILLEGAL_INSTRUCTION: an illegal instruction was encountered
2019-07-16 17:15:47.778170: E tensorflow/stream_executor/cuda/cuda_timer.cc:60] Internal: error destroying CUDA event in context 000001D46CD2E8C0: CUDA_ERROR_ILLEGAL_INSTRUCTION: an illegal instruction was encountered
2019-07-16 17:15:47.785700: F tensorflow/stream_executor/cuda/cuda_dnn.cc:194] Check failed: status == CUDNN_STATUS_SUCCESS (7 vs. 0)Failed to set cuDNN stream.

I have the latest NVIDIA drivers (431.36). It seems that CUDA/cuDNN does not work on my RTX 2070.
Can you help me?

All the logs are here:

(tf-gpu) PS C:\Users\Manuel\demo\examples-keras> python .\deep_dream.py .\chien.png drm
Using TensorFlow backend.
WARNING:tensorflow:From C:\Users\Manuel\Anaconda3\envs\tf-gpu\lib\site-packages\tensorflow\python\framework\op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
2019-07-16 17:15:30.733448: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
2019-07-16 17:15:32.158666: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1433] Found device 0 with properties:
name: GeForce RTX 2070 major: 7 minor: 5 memoryClockRate(GHz): 1.44
pciBusID: 0000:01:00.0
totalMemory: 8.00GiB freeMemory: 6.59GiB
2019-07-16 17:15:32.167946: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1512] Adding visible gpu devices: 0
2019-07-16 17:15:32.683032: I tensorflow/core/common_runtime/gpu/gpu_device.cc:984] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-07-16 17:15:32.687889: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990]      0
2019-07-16 17:15:32.690815: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1003] 0:   N
2019-07-16 17:15:32.694737: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6319 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2070, pci bus id: 0000:01:00.0, compute capability: 7.5)
Model loaded.
WARNING:tensorflow:Variable += will be deprecated. Use variable.assign_add if you want assignment to the variable value or 'x = x + y' if you want a new python Tensor object.
Processing image shape (255, 255)
..Loss value at 0 : 1.0290155
..Loss value at 1 : 0.9662107
..Loss value at 2 : 0.92942023
..Loss value at 3 : 0.92720234
..Loss value at 4 : 0.93417346
..Loss value at 5 : 0.93499184
..Loss value at 6 : 0.93060154
..Loss value at 7 : 0.93919677
..Loss value at 8 : 0.9740615
..Loss value at 9 : 0.9510974
..Loss value at 10 : 0.95132095
..Loss value at 11 : 0.924647
..Loss value at 12 : 0.9184734
..Loss value at 13 : 0.9356839
..Loss value at 14 : 0.94341934
..Loss value at 15 : 0.9621455
..Loss value at 16 : 0.93943894
..Loss value at 17 : 0.93967533
..Loss value at 18 : 0.9238926
..Loss value at 19 : 0.95155436
Processing image shape (357, 357)
2019-07-16 17:15:47.761198: E tensorflow/stream_executor/cuda/cuda_driver.cc:981] failed to synchronize the stop event: CUDA_ERROR_ILLEGAL_INSTRUCTION: an illegal instruction was encountered
2019-07-16 17:15:47.768278: E tensorflow/stream_executor/cuda/cuda_timer.cc:55] Internal: error destroying CUDA event in context 000001D46CD2E8C0: CUDA_ERROR_ILLEGAL_INSTRUCTION: an illegal instruction was encountered
2019-07-16 17:15:47.778170: E tensorflow/stream_executor/cuda/cuda_timer.cc:60] Internal: error destroying CUDA event in context 000001D46CD2E8C0: CUDA_ERROR_ILLEGAL_INSTRUCTION: an illegal instruction was encountered
2019-07-16 17:15:47.785700: F tensorflow/stream_executor/cuda/cuda_dnn.cc:194] Check failed: status == CUDNN_STATUS_SUCCESS (7 vs. 0)Failed to set cuDNN stream.

I have the same problem with the same GPU, did you manage to solve it?

OS: Ubuntu 18.04
GPU: nvidia RTX 2070
Nvidia Drivers: 430.40
CUDA: 10.0
cuDNN: 7.6.2.24 for CUDA 10.0
Tensorflow: 1.14.0 (GPU)

I have the same problem with the 2080ti GPU, did you manage to solve it?