Code Monkey home page Code Monkey logo

Comments (7)

two-tiger avatar two-tiger commented on August 19, 2024 1

I have solved this problem, just pay attention to this error message subprocess.CalledProcessError: Command ‘[‘ninja‘, ‘-v‘]‘ returned non-zero exit status 1. Modify lib/python3.6/site-packages/torch/utils/cpp_extension.py in the anaconda environment file, change ['ninja ',' - v '] to ['ninja', '- v'] or ['ninja ',' - version ']. I hope this will be helpful to you

from spikegpt.

ridgerchu avatar ridgerchu commented on August 19, 2024

Hi, I guess this error is caused by the CUDA compile, have you install the CUDA correctly?

from spikegpt.

Ewen-smile avatar Ewen-smile commented on August 19, 2024

I have installed CUDA11.0
image

from spikegpt.

ridgerchu avatar ridgerchu commented on August 19, 2024

The building extension 'wkv' is from CUDA, could you please give me the full report of this error?

from spikegpt.

Ewen-smile avatar Ewen-smile commented on August 19, 2024

QQ图片20230614123639

from spikegpt.

two-tiger avatar two-tiger commented on August 19, 2024

I have the same problem. And this issue occurred after I updated my cupy
image

from spikegpt.

ridgerchu avatar ridgerchu commented on August 19, 2024

The wkv module is built using CUDA and requires the ninja compiler for compilation. The issue you are experiencing seems to be related to the compilation process, which can be influenced by the varying compilation environments. However, I can confirm that the problem originates from the compilation process.

from spikegpt.

Related Issues (11)

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.