GithubHelp home page GithubHelp logo

Comments (2)

laomao0 avatar laomao0 commented on July 20, 2024

You need to check your cuda: compute version.
For my GPU: RTX 2080 Ti, we found my compute version is 7.5, in en.wikipedia.org/wiki/CUDA.

Then you must do the following steps:

  1. Do cd DAIN/my_package/xxxx/setup.py
  2. modify: nvcc_args = [ '-gencode', 'arch=compute_75,code=sm_75' ]
  3. run DAIN/my_package/build.sh

Notice: xxx is the subfolder, you need to modify each one under my_package.

from dain.

x2eliah avatar x2eliah commented on July 20, 2024

Thanks, but that did not solve the issue. (We run 1080Ti's, which are the already-enabled-in-build-scripts 6.1).

Ultimately, this looks like the bug caused by cuda 9.0 / 9.1 inability to compile pytorch extensions due to miscommunication between our nvcc 9.1 and gcc.

The only way we ended up solving it, was to bite the bullet and upgrade the workstation's cuda to 9.2 (including the necessary driver upgrade) and ensuring that nvcc v9.2 was used in the build process.
All I can conclude, from our efforts at resolving this, is that pytorch extension building simply does not function with cuda 9.0 / 9.1, it is mandatory to use 9.2.

I'm closing the issue - since there's nothing the authors can do do resolve this, ultimately - but it would be nice to clarify in the instructions that the dependency is 9.2, not 9.0...

from dain.

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.