-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
I am trying work with TF GPU native dll so that I can speed up the scoring process. I replaced the tensorflow.dll in microsoft.ml.tensorflow.redist\0.5.0\runtimes\win-x64\native
with gpu version but ML.Net throws DLL not found exception
.
I did the same with TensorflowSharp and it loads the GPU version perfectly fine.
SOLVED
Updating To TensorFlow GPU DLL
If you want to use TF GPU dll during scoring follow the steps below
- In your ML.Net nuget, replace the
tensorflow.dll
inmicrosoft.ml.tensorflow.redist\<ML.Net-Version>\runtimes\win-x64\native
with gpu version (please keep the name same). - You can grap the prebuilt gpu dll from https://github.com/fo40225/tensorflow-windows-wheel.
- Update the graphics card drivers, CUDA and CuDNN according the Tensorflow gpu version you are using.
- TensorFlowScorer will automatically pick up the TF GPU version.