Coder Social home page Coder Social logo

No GPU being used about bark HOT 12 CLOSED

suno-ai avatar suno-ai commented on May 29, 2024 4
No GPU being used

from bark.

Comments (12)

okyoshi avatar okyoshi commented on May 29, 2024 14

So the problem you have to solve is when running this in python: import torch torch.cuda.device_count() it returns 0. There are lots of google results for debugging that issue, on it myself atm.

The pip3 install did not help for me either and I have stable diffusion running fine

Try to run pip uninstall torch torchvision and then pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117

This worked for me. (ChatGPT recommended this)

from bark.

Fictiverse avatar Fictiverse commented on May 29, 2024 5

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
worked for me

from bark.

jjonj avatar jjonj commented on May 29, 2024 2

So the problem you have to solve is when running this in python:
import torch
torch.cuda.device_count()
it returns 0. There are lots of google results for debugging that issue, on it myself atm.

The pip3 install did not help for me either and I have stable diffusion running fine

from bark.

jxyk2007 avatar jxyk2007 commented on May 29, 2024 2

pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121

from bark.

gkucsko avatar gkucsko commented on May 29, 2024 1

ah, yeah then i would look at torch tutorials (https://pytorch.org/get-started/locally/) unfortunately cuda is still a bit finicky, especially on older cards.
in the meantime for bark you can just use the huggingface spaces demo which has a UI or a google colab notebook which has a built-in gpu. that should get you started faster

from bark.

gkucsko avatar gkucsko commented on May 29, 2024

Hm, what do you get for: torch.cuda.is_available()?

from bark.

mike2003 avatar mike2003 commented on May 29, 2024

false

from bark.

gkucsko avatar gkucsko commented on May 29, 2024

Hm then this is a PyTorch issue. Sorry, hard to debug remotely. Have you used torch on gpu successfully in the past?

from bark.

mike2003 avatar mike2003 commented on May 29, 2024

My first time with python.

from bark.

hippopotamus1000 avatar hippopotamus1000 commented on May 29, 2024

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117 worked for me

Did not work for me. I have CUDA 11.8 installed. I don't know what is missing.

from bark.

najeebl avatar najeebl commented on May 29, 2024

So the problem you have to solve is when running this in python: import torch torch.cuda.device_count() it returns 0. There are lots of google results for debugging that issue, on it myself atm.
The pip3 install did not help for me either and I have stable diffusion running fine

Try to run pip uninstall torch torchvision and then pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117

This worked for me. (ChatGPT recommended this)

Worked for me as well.

from bark.

shlomitgueta avatar shlomitgueta commented on May 29, 2024

So the problem you have to solve is when running this in python: import torch torch.cuda.device_count() it returns 0. There are lots of google results for debugging that issue, on it myself atm.
The pip3 install did not help for me either and I have stable diffusion running fine

Try to run pip uninstall torch torchvision and then pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117

This worked for me. (ChatGPT recommended this)

thanks its works for me too

from bark.

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.