Giter Club home page Giter Club logo

Comments (3)

rstrivedi avatar rstrivedi commented on August 11, 2024

Thanks for your question. I have not used WSL before but I have got similar error in my setup before. It is most likely because TF is not able to find libcudart.so.11.0 library based on your LD_LIBRARY_PATH. This is also known issue when using conda environment.

One thing to try is installing cuda toolkit/cudnn for conda: https://anaconda.org/anaconda/cudatoolkit
And then it is important to make sure that library path points to where the libcudart.so.11.0 is located (either in cuda-xx folder if you have system wide cuda) or the lib folder inside your conda environment hen you install for conda as I mentioned above.

Hope this helps.

from melting-pot-contest-2023.

itstyren avatar itstyren commented on August 11, 2024

Thank you very much for your quick reply. Your solution has resolved my issue. For anyone else facing a similar problem, you can also find additional information at this link.

from melting-pot-contest-2023.

saidineshpola avatar saidineshpola commented on August 11, 2024

For anyone facing this error on conda env,
fix LD_LIBRARY_PATH by running this.

CUDNN_PATH=$(dirname $(python -c "import nvidia.cudnn;print(nvidia.cudnn.__file__)"))
export LD_LIBRARY_PATH=$CUDNN_PATH/lib:$CONDA_PREFIX/lib/:$LD_LIBRARY_PATH

from melting-pot-contest-2023.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.