Skip to content

How to run a network on GPU under win x64  #258

Closed

Description

@serjl

Hello,
Is it possible to run a network on GPU under windows x64?
For now with a supplied tensorflow.dll it runs on CPU only.
I tried to put a gpu version (by renaming the python's _pywrap_tensorflow_internal.pyd into tensorflow.dll) but it fails to load the dll.

Activity

  1. Oceania2018 commented on Jun 5, 2019

    @Oceania2018
    Member
  2. serjl commented on Jun 5, 2019

    @serjl
    ContributorAuthor

    I downloaded a gpu version of tensorflow.dll from the following link
    https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-windows-x86_64-1.13.1.zip
    on the https://www.tensorflow.org/install/lang_c

    I get the following exception:

    System.DllNotFoundException: 'Unable to load DLL 'tensorflow': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

    The question is whether TensorFlow.NET.dll supports a gpu version of tensorflow.dll ?

  3. mfagerlund commented on Jun 5, 2019

    @mfagerlund

    Same problem here, the tensorflow.dll from the CPU download works fine (and it's 75MB);

    https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-windows-x86_64-1.13.1.zip

    But the GPU version (which is HUGE, 734MB) fails with the same error as above;

    https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-windows-x86_64-1.13.1.zip

    Anyone get it to work? GPU training support would be awesome...

  4. serjl commented on Jun 6, 2019

    @serjl
    ContributorAuthor

    Fixed by installing CuDNN, made a PR: #260

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions