voicebox icon indicating copy to clipboard operation
voicebox copied to clipboard

its not using GPU only CPU?

Open CHKE9 opened this issue 9 months ago • 28 comments

Just tried the voicebox, its just only using CPU not the gpu how do i enable it?

CHKE9 avatar Feb 21 '26 08:02 CHKE9

Just tried the voicebox, its just only using CPU not the gpu how do i enable it?

This is currently a known issue affecting many Windows users (similar to #84 and #127). The app currently fails to properly link the CUDA environment on Windows v0.1.12.

Temporary Fixes to try:

Check CUDA Path: Ensure you have CUDA Toolkit 12.1+ installed and your PATH environment variables are set.

Manual Torch Install: If you are running from source, go to the /backend folder and run: pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

Verify Settings: Check the 'Provider Settings' in the app; if it says 'GPU: Not Available,' it will default to CPU.

Note for Laptop Users: Generating on CPU can cause significant thermal stress and may trigger hardware errors (like HP 90B Fan Error) due to the high intensity of the Qwen3-TTS model."

ajayduraisamy avatar Feb 21 '26 11:02 ajayduraisamy

Just tried the voicebox, its just only using CPU not the gpu how do i enable it?

This is currently a known issue affecting many Windows users (similar to #84 and #127). The app currently fails to properly link the CUDA environment on Windows v0.1.12.

Temporary Fixes to try:

Check CUDA Path: Ensure you have CUDA Toolkit 12.1+ installed and your PATH environment variables are set.

Manual Torch Install: If you are running from source, go to the /backend folder and run: pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

Verify Settings: Check the 'Provider Settings' in the app; if it says 'GPU: Not Available,' it will default to CPU.

Note for Laptop Users: Generating on CPU can cause significant thermal stress and may trigger hardware errors (like HP 90B Fan Error) due to the high intensity of the Qwen3-TTS model."

i used the exe version, did run the cmd on /backend here C:\Users\user\AppData\Local\Voicebox it didnt fix it, did i do it wrong? im on 5090

CHKE9 avatar Feb 21 '26 12:02 CHKE9

How long will it take to fix this problem??? I'm on Windows 11, the shittest one of them all after window vista and using a crappy 50 series card I still miss my 3090 that thing never caused me so much headache

Nomi1212453 avatar Feb 21 '26 16:02 Nomi1212453

The reason the previous fix didn't work for you is that the RTX 5090 uses the new Blackwell architecture (sm_120), which isn't supported by the standard CUDA 12.1 torch wheels. You need to force-install the CUDA 12.8 Nightly build into the Voicebox backend.

Since you are using the EXE version, try this exact command inside your C:\Users\user\AppData\Local\Voicebox\backend folder:

Open CMD as Administrator.

Navigate to the backend: cd C:\Users\user\AppData\Local\Voicebox\backend

Run this command to overwrite the incompatible version: pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128 --force-reinstall

Note: If the app uses a built-in python.exe inside that folder, use .\python.exe -m pip install... instead to ensure it hits the right spot.

ajayduraisamy avatar Feb 21 '26 16:02 ajayduraisamy

How long will it take to fix this problem??? I'm on Windows 11, the shittest one of them all after window vista and using a crappy 50 series card I still miss my 3090 that thing never caused me so much headache

bro chill this fixed it pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128 --force-reinstall

CHKE9 avatar Feb 21 '26 17:02 CHKE9

I hate to ask, but where exactly did you open your terminal in the 'backend'? I tried randomly for a bit with no luck and was hoping someone could help me with an admittedly dumb question.

Here is what I find when I look at my local folder (C:\Users\yadayada\AppData\Local\sh.voicebox.app\EBWebView)

Image

CountCandy avatar Feb 22 '26 00:02 CountCandy

bro chill this fixed it pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128 --force-reinstall

It doesn't work for me. I ran it in C:\Users\MyUserName\AppData\Local\sh.voicebox.app\EBWebView

And it still shows "CPU only"

duyduc27 avatar Feb 22 '26 01:02 duyduc27

Edit: Solved!

  1. Download and install CUDA toolkit: https://developer.nvidia.com/cuda/toolkit
  2. Build from source (ask ChatGPT or something if you need detailed instructions)
  3. BEFORE launching the app with bun run dev, run: pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128 --force-reinstall

Works fine now. Windows 10 + 4080.

If you did any of this out of order, just uninstall everything, reboot, and start from scratch.

NorthOfEarth avatar Feb 22 '26 02:02 NorthOfEarth

pls fix bug It is also worth making a portable version of the program for ease of use

helpmebro911 avatar Feb 22 '26 09:02 helpmebro911

pls fix bug It is also worth making a portable version of the program for ease of use

Yes that would be easy! :)

CHKE9 avatar Feb 22 '26 22:02 CHKE9

BTW its very slow on 5090 even it detect graphic card

CHKE9 avatar Feb 22 '26 22:02 CHKE9

Same here

LucianoDaluz avatar Feb 24 '26 13:02 LucianoDaluz

will be fixed in the next update update arrives still not fixed

sameul674 avatar Feb 24 '26 16:02 sameul674

https://github.com/sumire608/voicebox/releases/tag/v0.1.13 I build with CUDA ver 0.1.13, you can try it.

sumire608 avatar Feb 25 '26 12:02 sumire608

Image Image

Still not working.

Archviz360 avatar Feb 25 '26 17:02 Archviz360

Image Image Still not working.

need CUDA 13.0 or above

sumire608 avatar Feb 25 '26 23:02 sumire608

I have Cuda 13.1 and it doesn't work +-----------------------------------------------------------------------------------------+ | NVIDIA-SMI 591.59 Driver Version: 591.59 CUDA Version: 13.1 | +-----------------------------------------+------------------------+----------------------+

robrowald avatar Feb 26 '26 16:02 robrowald

You may need to use taskmgr and killed "voicebox-server.exe" processes manually, because they won't exit automatically. Then try again.

sumire608 avatar Feb 27 '26 00:02 sumire608

You may need to use taskmgr and killed "voicebox-server.exe" processes manually, because they won't exit automatically. Then try again.

Tried that too. same result.

robrowald avatar Feb 27 '26 00:02 robrowald

Ok, no idea then...

sumire608 avatar Feb 27 '26 01:02 sumire608