Giter Site home page Giter Site logo

Comments (2)

f0k avatar f0k commented on May 25, 2024

[ProjectRoot]\Lasagne\WinPython\settings\winpython.ini was missing "THEANORC=" variable and the 'device' variable should be equal to "cuda*" but the problem mantains and the API is still unable to run from the GPU.

Theano complains that it cannot find a C++ compiler, and that pygpu is not installed. For the former, you will need to make sure that a supported compiler is on your PATH (see Theano installation instructions). For the latter, follow the libgpuarray installation instructions. The "From Zero to Lasagne" guide was written before libgpuarray/pygpu became the new and only supported backend, that's why it doesn't mention how to install it, and still uses device=gpu (old GPU backend) instead of device=cuda (new backend).

(I'm setting things up on Win10 but I can also do it on ArchLinux)

Go for Linux if you have the option. The fastest way will be to install the nvidia driver, cuda toolkit, cudnn and conda, then use conda to install Theano, Lasagne, and pygpu.

from lasagne.

hutiwephy avatar hutiwephy commented on May 25, 2024

thanks

from lasagne.

Related Issues (20)

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.