JonathanFly / bark

🚀 BARK INFINITY GUI CMD 🎶 Powered Up Bark Text-prompted Generative Audio Model
MIT License
974 stars 92 forks source link

I can't get it to run on the GPU #14

Closed El-Hondo closed 1 year ago

El-Hondo commented 1 year ago

This is what I get.

Loading Bark models... No GPU being used. Careful, Inference might be extremely slow! I have a 2080 TI and it works with with SD and GPTs.

Any ideas?

merecesarchviz commented 1 year ago

I have the same problem and i have a rtx 4090! how we can set it to run with GPU?

merecesarchviz commented 1 year ago

I found the solution is because the torch version! so you have to install: pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

El-Hondo commented 1 year ago

I found the solution is because the torch version! so you have to install: pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

I think it is not the solution for me. It says the requirements are already satisfied. :(

Apyr101 commented 1 year ago

I found the solution is because the torch version! so you have to install: pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

I think it is not the solution for me. It says the requirements are already satisfied. :(

Reinstalling torch worked for me pip uninstall torch and then pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

El-Hondo commented 1 year ago

I found the solution is because the torch version! so you have to install: pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

I think it is not the solution for me. It says the requirements are already satisfied. :(

Reinstalling torch worked for me pip uninstall torch and then pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

That worked. Thank you!

merecesarchviz commented 1 year ago

I found the solution is because the torch version! so you have to install: pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

I think it is not the solution for me. It says the requirements are already satisfied. :(

Reinstalling torch worked for me pip uninstall torch and then pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

That worked. Thank you!

I had the same problem you need first to go and delete manually the folders "Torch" , "Tourchaudio", "Torchvision" that are located: c:\users\XXXXXX\appdata\local\programs\python\python310\lib\site-packages

then install it with the cmd command: pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

JonathanFly commented 1 year ago

Hopefully it's all working now, and there are new instructions, and (maybe) a full installer coming...