Coder Social home page Coder Social logo

Comments (3)

hmartiro avatar hmartiro commented on July 2, 2024

This seems like it might be a torch version issue. What does this say:

import torch
torch.cuda.is_available()```

from riffusion.

MostroW1502 avatar MostroW1502 commented on July 2, 2024

at first i couldn't even import torch.

so i installed torch for python310, after i ran the import and function it gave me a "False" even though the pip3 install went fine and says "Requirement already satisfied" when i tried to install again.

i tried this as well: torch.zeros(1).cuda()
i threw me the error: Torch is not compiled with CUDA enabled

i've got version 12 installed of CUDA, Python version is 3.10.8

==EDIT==

Alright after some reading i've come to the conclusion i needed to make some adjustments to get things running.

I've deinstalled CUDA 12 and replaced it with 11.7
I've installed Python 3.9 as that seemed to be a prerequisite, and set the the PATH to this version.

Now both scripts work, and i get a True from the first script.

However, now it throws me this error: nvrtc: error: invalid value for --gpu-architecture (-arch)

from riffusion.

hmartiro avatar hmartiro commented on July 2, 2024

I'm closing this as it's not specific to riffusion

from riffusion.

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.