Python Forum

Full Version: Tensorflow cudart64_101.dll could not find dll
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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-d...rch=x86_64


can someone point me in the right direction please

Regards

ROb
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