Python Forum
Tensorflow cudart64_101.dll could not find dll - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: Tensorflow cudart64_101.dll could not find dll (/thread-28217.html)



Tensorflow cudart64_101.dll could not find dll - robdineen - Jul-09-2020

Hello there

i have an issue running the following tensorflow code on Pycharm

import tensorflow as tf
from tensorflow import keras

NB_CLASSES = 10
RESHAPED = 784
model = tf.keras.models.Sequential()
model.add(keras.layers.Dense(NB_CLASSES,
                             input_shape=(RESHAPED,), kernel_initializer='zeros',
                             name='dense_layer', activation='softmax'))
i am getting the following error when i run

W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found

I have installed Cuda toolkit from which is cuda_10.0.130_win10

https://developer.nvidia.com/cuda-10.0-download-archive?target_os=Windows&target_arch=x86_64


can someone point me in the right direction please

Regards

ROb


RE: Tensorflow cudart64_101.dll could not find dll - hussainmujtaba - Jul-10-2020

You need to check if these files are present in your PC. Usually these files are present in this directory.
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\

Also, you're supposed to use CUDA 10.1 with TensorFlow 2.1.0, if you are not already.May be this is causing the problem