Python Forum
Tensorflow cudart64_101.dll could not find dll
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tensorflow cudart64_101.dll could not find dll
#1
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
Reply
#2
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't find some libraries while importing TensorFlow Pavel_47 6 3,031 Mar-19-2020, 01:23 PM
Last Post: Pavel_47

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020